Skip to content

Commit

Permalink
chore(deps): update eslint (major) (#99)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
| [`^47.0.0` ->
`^48.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/47.0.0/48.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/48.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/48.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/47.0.0/48.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/47.0.0/48.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [prettier](https://prettier.io)
([source](https://github.com/prettier/prettier)) | [`^2.8.8` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/prettier/2.8.8/3.0.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/2.8.8/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/2.8.8/3.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sindresorhus/eslint-plugin-unicorn
(eslint-plugin-unicorn)</summary>

###
[`v48.0.0`](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v48.0.0)

[Compare
Source](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0)

##### Improvements

- Deprecate `no-unsafe-regex` rule
([#&#8203;2135](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2135))
[`7b473aa`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/7b473aa)
- `prefer-top-level-await`: Ignore promises inside
`Promise.{all,allSettled,any,race}()`
([#&#8203;2139](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2139))
[`d3f6b60`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/d3f6b60)
- `no-process-exit`: Ignore when using `node:worker_threads` module
([#&#8203;2136](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2136))
[`2907805`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2907805)
- `prefer-array-some`: Ignore filter calls with literal argument
([#&#8203;2097](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2097))
[`7a32edb`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/7a32edb)
- `prefer-modern-math-api`: Check cases that `Math.hypot()` should be
preferred
([#&#8203;2080](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2080))
[`9bbc948`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/9bbc948)
- `explicit-length-check`: Ignore `.length || number`
([#&#8203;1977](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1977))
[`b9b8794`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/b9b8794)

##### Fixes

- Fix crash on array holes
([#&#8203;2129](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2129))
[`f10f1a6`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/f10f1a6)
- `prefer-dom-node-dataset`: Fix edge cases
([#&#8203;2171](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2171))
[`b2d7378`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/b2d7378)
- `prefer-dom-node-dataset`: Remove broken fix for
`element.setAttribute`
([#&#8203;2169](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2169))
[`61234af`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/61234af)
- `no-lonely-if`: Fix an edge case
([#&#8203;2168](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2168))
[`ca837a8`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ca837a8)
- `no-useless-undefined`: Turn parameter with `undefined` default value
into optional parameter
([#&#8203;2138](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2138))
[`4aa7d60`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/4aa7d60)
- `no-thenable`: Fix `Object.fromEntries()` check
([#&#8203;2130](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2130))
[`f3265b9`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/f3265b9)
- `prefer-dom-node-remove`: Fix incorrect auto-fix
([#&#8203;2084](https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2084))
[`74bb36d`](https://github.com/sindresorhus/eslint-plugin-unicorn/commit/74bb36d)

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.0.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#300)

[Compare
Source](https://github.com/prettier/prettier/compare/2.8.8...3.0.0)


[diff](https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0)

🔗 [Release Notes](https://prettier.io/blog/2023/07/05/3.0.0.html)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 8am on monday" in timezone
America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/tailscale-dev/vscode-tailscale).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM2LjguMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

---------

Signed-off-by: Tyler Smalley <tyler@tailscale.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler@tailscale.com>
  • Loading branch information
renovate[bot] and tylersmalley committed Jul 19, 2023
1 parent 8a953cf commit de8514b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 34 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,15 @@
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^47.0.0",
"eslint-plugin-unicorn": "^48.0.0",
"glob": "^10.3.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"node-fetch": "^3.3.1",
"postcss": "^8.4.26",
"postcss-loader": "^7.3.3",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"style-loader": "^3.3.3",
Expand Down
5 changes: 4 additions & 1 deletion src/serve-panel-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import { Logger } from './logger';
export class ServePanelProvider implements vscode.WebviewViewProvider {
_view?: vscode.WebviewView;

constructor(private readonly _extensionUri: vscode.Uri, private readonly ts: Tailscale) {}
constructor(
private readonly _extensionUri: vscode.Uri,
private readonly ts: Tailscale
) {}

postMessage(message: WebviewData) {
if (!this._view) {
Expand Down
4 changes: 1 addition & 3 deletions src/webviews/serve-panel/simple-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export const SimpleView = () => {
const hasServeTextStyle = persistedPort ? textStyle : textDisabledStyle;
return (
<div>
{data?.Errors?.map((error, index) => (
<Error key={index} type={error.Type} />
))}
{data?.Errors?.map((error, index) => <Error key={index} type={error.Type} />)}

<div className="pt-2 pb-4">
<div className="text-2xl">Tailscale Funnel</div>
Expand Down
43 changes: 15 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
dependencies:
"@babel/highlight" "^7.22.5"

"@babel/helper-validator-identifier@^7.19.1":
version "7.19.1"
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz"
integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==

"@babel/helper-validator-identifier@^7.22.5":
version "7.22.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193"
Expand Down Expand Up @@ -2182,12 +2177,12 @@ eslint-plugin-react-hooks@^4.6.0:
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz"
integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==

eslint-plugin-unicorn@^47.0.0:
version "47.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-47.0.0.tgz#960e9d3789f656ba3e21982420793b069a911011"
integrity sha512-ivB3bKk7fDIeWOUmmMm9o3Ax9zbMz1Bsza/R2qm46ufw4T6VBFBaJIR1uN3pCKSmSXm8/9Nri8V+iUut1NhQGA==
eslint-plugin-unicorn@^48.0.0:
version "48.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-48.0.0.tgz#074214c0c216e6d97298a98db394b430b6c5a7de"
integrity sha512-8fk/v3p1ro34JSVDBEmtOq6EEQRpMR0iTir79q69KnXFZ6DJyPkT3RAi+ZoTqhQMdDSpGh8BGR68ne1sP5cnAA==
dependencies:
"@babel/helper-validator-identifier" "^7.19.1"
"@babel/helper-validator-identifier" "^7.22.5"
"@eslint-community/eslint-utils" "^4.4.0"
ci-info "^3.8.0"
clean-regexp "^1.0.0"
Expand All @@ -2198,10 +2193,9 @@ eslint-plugin-unicorn@^47.0.0:
lodash "^4.17.21"
pluralize "^8.0.0"
read-pkg-up "^7.0.1"
regexp-tree "^0.1.24"
regexp-tree "^0.1.27"
regjsparser "^0.10.0"
safe-regex "^2.1.1"
semver "^7.3.8"
semver "^7.5.4"
strip-indent "^3.0.0"

eslint-scope@5.1.1:
Expand Down Expand Up @@ -4521,10 +4515,10 @@ prelude-ls@^1.2.1:
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==

prettier@^2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae"
integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==

process-nextick-args@~2.0.0:
version "2.0.1"
Expand Down Expand Up @@ -4707,10 +4701,10 @@ rechoir@^0.8.0:
dependencies:
resolve "^1.20.0"

regexp-tree@^0.1.24, regexp-tree@~0.1.1:
version "0.1.25"
resolved "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.25.tgz"
integrity sha512-szcL3aqw+vEeuxhL1AMYRyeMP+goYF5I/guaH10uJX5xbGyeQeNPPneaj3ZWVmGLCDxrVaaYekkr5R12gk4dJw==
regexp-tree@^0.1.27:
version "0.1.27"
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.27.tgz#2198f0ef54518ffa743fe74d983b56ffd631b6cd"
integrity sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==

regexp.prototype.flags@^1.4.3:
version "1.5.0"
Expand Down Expand Up @@ -4856,13 +4850,6 @@ safe-regex-test@^1.0.0:
get-intrinsic "^1.1.3"
is-regex "^1.1.4"

safe-regex@^2.1.1:
version "2.1.1"
resolved "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz"
integrity sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==
dependencies:
regexp-tree "~0.1.1"

safe-stable-stringify@^2.3.1:
version "2.4.3"
resolved "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz"
Expand Down

0 comments on commit de8514b

Please sign in to comment.