Skip to content

Commit e0a39aa

Browse files
chore(deps): update dependency eslint-plugin-unicorn to v47 (#50)
[![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://togithub.com/sindresorhus/eslint-plugin-unicorn) | [`^46.0.1` -> `^47.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/46.0.1/47.0.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-unicorn/47.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-unicorn/47.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-unicorn/47.0.0/compatibility-slim/46.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-unicorn/47.0.0/confidence-slim/46.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/eslint-plugin-unicorn</summary> ### [`v47.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v47.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.1...v47.0.0) ##### Breaking - Require Node.js 16 ([#&#8203;2073](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2073)) [`a3bc120`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a3bc120) - Require `eslint@>=8.38.0` ([#&#8203;2066](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2066)) [`04af765`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/04af765) - Enable `prefer-at`, `prefer-event-target`, and `prefer-string-replace-all` in recommended config ([#&#8203;2073](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2073)) [`a3bc120`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a3bc120) ##### New rules - [`prefer-blob-reading-methods`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md) ([#&#8203;2065](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2065)) [`2bb1a04`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/2bb1a04) ##### Improvements - `prefer-top-level-await`: Ignore `.cjs` files ([#&#8203;2072](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2072)) [`0c3ccb1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/0c3ccb1) - `prefer-spread`: Stop checking `Array.from` call with map function ([#&#8203;2064](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2064)) [`f5beccb`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/f5beccb) - `prefer-dom-node-text-content`: Check optional chaining ([#&#8203;2062](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2062)) [`8d6d007`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8d6d007) - `prefer-dom-node-{append,remove}`: Check optional chaining ([#&#8203;2061](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2061)) [`443999b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/443999b) ##### Fixes - `prefer-number-properties`: Fix false positives ([#&#8203;2050](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2050)) [`124bfa7`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/124bfa7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- 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://app.renovatebot.com/dashboard#github/tailscale-dev/vscode-tailscale). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c59db57 commit e0a39aa

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
"eslint": "^8.42.0",
231231
"eslint-config-prettier": "^8.8.0",
232232
"eslint-plugin-react-hooks": "^4.6.0",
233-
"eslint-plugin-unicorn": "^46.0.1",
233+
"eslint-plugin-unicorn": "^47.0.0",
234234
"glob": "^8.1.0",
235235
"husky": "^8.0.3",
236236
"lint-staged": "^13.2.2",

yarn.lock

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@
6666
dependencies:
6767
"@elastic/ecs-helpers" "^1.1.0"
6868

69-
"@eslint-community/eslint-utils@^4.1.2":
70-
version "4.4.0"
71-
resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz"
72-
integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
73-
dependencies:
74-
eslint-visitor-keys "^3.3.0"
75-
7669
"@eslint-community/eslint-utils@^4.2.0":
7770
version "4.3.0"
7871
resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.3.0.tgz"
7972
integrity sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==
8073
dependencies:
8174
eslint-visitor-keys "^3.3.0"
8275

76+
"@eslint-community/eslint-utils@^4.4.0":
77+
version "4.4.0"
78+
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
79+
integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
80+
dependencies:
81+
eslint-visitor-keys "^3.3.0"
82+
8383
"@eslint-community/regexpp@^4.4.0":
8484
version "4.4.1"
8585
resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.1.tgz"
@@ -1413,9 +1413,9 @@ chrome-trace-event@^1.0.2:
14131413
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac"
14141414
integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==
14151415

1416-
ci-info@^3.6.1:
1416+
ci-info@^3.8.0:
14171417
version "3.8.0"
1418-
resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz"
1418+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91"
14191419
integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==
14201420

14211421
clean-regexp@^1.0.0:
@@ -2131,24 +2131,24 @@ eslint-plugin-react-hooks@^4.6.0:
21312131
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz"
21322132
integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
21332133

2134-
eslint-plugin-unicorn@^46.0.1:
2135-
version "46.0.1"
2136-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-46.0.1.tgz#222ff65b30b2d9ed6f90de908ceb6a05dd0514d9"
2137-
integrity sha512-setGhMTiLAddg1asdwjZ3hekIN5zLznNa5zll7pBPwFOka6greCKDQydfqy4fqyUhndi74wpDzClSQMEcmOaew==
2134+
eslint-plugin-unicorn@^47.0.0:
2135+
version "47.0.0"
2136+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-47.0.0.tgz#960e9d3789f656ba3e21982420793b069a911011"
2137+
integrity sha512-ivB3bKk7fDIeWOUmmMm9o3Ax9zbMz1Bsza/R2qm46ufw4T6VBFBaJIR1uN3pCKSmSXm8/9Nri8V+iUut1NhQGA==
21382138
dependencies:
21392139
"@babel/helper-validator-identifier" "^7.19.1"
2140-
"@eslint-community/eslint-utils" "^4.1.2"
2141-
ci-info "^3.6.1"
2140+
"@eslint-community/eslint-utils" "^4.4.0"
2141+
ci-info "^3.8.0"
21422142
clean-regexp "^1.0.0"
2143-
esquery "^1.4.0"
2143+
esquery "^1.5.0"
21442144
indent-string "^4.0.0"
2145-
is-builtin-module "^3.2.0"
2145+
is-builtin-module "^3.2.1"
21462146
jsesc "^3.0.2"
21472147
lodash "^4.17.21"
21482148
pluralize "^8.0.0"
21492149
read-pkg-up "^7.0.1"
21502150
regexp-tree "^0.1.24"
2151-
regjsparser "^0.9.1"
2151+
regjsparser "^0.10.0"
21522152
safe-regex "^2.1.1"
21532153
semver "^7.3.8"
21542154
strip-indent "^3.0.0"
@@ -2233,7 +2233,7 @@ espree@^9.5.2:
22332233
acorn-jsx "^5.3.2"
22342234
eslint-visitor-keys "^3.4.1"
22352235

2236-
esquery@^1.4.0, esquery@^1.4.2:
2236+
esquery@^1.4.2, esquery@^1.5.0:
22372237
version "1.5.0"
22382238
resolved "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz"
22392239
integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==
@@ -3136,9 +3136,9 @@ is-boolean-object@^1.1.0:
31363136
call-bind "^1.0.2"
31373137
has-tostringtag "^1.0.0"
31383138

3139-
is-builtin-module@^3.2.0:
3139+
is-builtin-module@^3.2.1:
31403140
version "3.2.1"
3141-
resolved "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz"
3141+
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169"
31423142
integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==
31433143
dependencies:
31443144
builtin-modules "^3.3.0"
@@ -4639,10 +4639,10 @@ regexp.prototype.flags@^1.4.3:
46394639
define-properties "^1.2.0"
46404640
functions-have-names "^1.2.3"
46414641

4642-
regjsparser@^0.9.1:
4643-
version "0.9.1"
4644-
resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz"
4645-
integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==
4642+
regjsparser@^0.10.0:
4643+
version "0.10.0"
4644+
resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.10.0.tgz#b1ed26051736b436f22fdec1c8f72635f9f44892"
4645+
integrity sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==
46464646
dependencies:
46474647
jsesc "~0.5.0"
46484648

0 commit comments

Comments
 (0)