Skip to content

Commit 714034f

Browse files
Bump eslint-plugin-unicorn from 52.0.0 to 53.0.0 (#1751)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 52.0.0 to 53.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/releases">eslint-plugin-unicorn's releases</a>.</em></p> <blockquote> <h2>v53.0.0</h2> <h3>New rules</h3> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-empty-array-spread.md"><code>consistent-empty-array-spread</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2349">#2349</a>) 8d7954c</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-string-raw.md"><code>prefer-string-raw</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2339">#2339</a>) 4f1400a</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-fetch-options.md"><code>no-invalid-fetch-options</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2338">#2338</a>) 342aafb</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-magic-array-flat-depth.md"><code>no-magic-array-flat-depth</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2335">#2335</a>) bc17428</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-structured-clone.md"><code>prefer-structured-clone</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2329">#2329</a>) 497519e</li> </ul> <h3>Breaking</h3> <ul> <li>Require Node.js 18.18 (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2250">#2250</a>) 598f57b</li> </ul> <h3>Meta</h3> <ul> <li>You can now <a href="https://github.com/sponsors/fisker"><code>sponsor @​fisker</code></a> for his work on this project (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2348">#2348</a>) b82542d</li> </ul> <h3>Improvements</h3> <ul> <li>Support ESLint 9 (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2250">#2250</a>) 598f57b</li> <li><code>no-array-method-this-argument</code>: Check <code>Array.fromAsync()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2330">#2330</a>) 99489b9</li> <li><code>prefer-number-properties</code>: Add <code>checkNaN</code> option (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2315">#2315</a>) d30de50</li> <li><code>template-indent</code>: Support member expression paths in <code>tags</code> and <code>functions</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2346">#2346</a>) aabcf1d</li> <li><code>prefer-number-properties</code>: Don&amp;<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/39">#39</a>;t require by default for <code>Infinity</code>/<code>-Infinity</code> to be written as <code>Number.POSITIVE_INFINITY</code>/<code>Number.NEGATIVE_INFINITY</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2312">#2312</a>) e0dfed2</li> <li><code>escape-case</code>: Ignore <code>String.raw</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2342">#2342</a>) 45bd444</li> <li><code>no-hex-escape</code>: Ignore <code>String.raw</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2343">#2343</a>) cc02a7f</li> <li><code>prefer-dom-node-dataset</code>: Ignore <code>await</code>ed <code>getAttribute</code> call (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2334">#2334</a>) 45f23d5</li> <li><code>prevent-abbreviations</code>: Support non-ASCII filenames (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2308">#2308</a>) 28762c8</li> <li><code>throw-new-error</code>: Check all call expressions instead of just argument of <code>ThrowStatement</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2332">#2332</a>) 1626852</li> </ul> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v53.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v53.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/cf2109ac2657f847ddf6d8a61e7b58a674380376"><code>cf2109a</code></a> 53.0.0</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/8d7954c4f1f7eb06e7bd19080b740a5501ca72f6"><code>8d7954c</code></a> Add <code>consistent-empty-array-spread</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2349">#2349</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/6fde3feed4fcfaf3bae3d9a7d8cb955d586607eb"><code>6fde3fe</code></a> Require rule proposal to include a proposed rule name (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2351">#2351</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/08dc329f3ffecf3dc6b509b749a535760bb280f5"><code>08dc329</code></a> Fix smoke test</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/f5a6cd709a1a1d182c911df3dfc9611133dd63f8"><code>f5a6cd7</code></a> Fix smoke test</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/4f1400a758d11c2857200b31dd9724aa82a95d22"><code>4f1400a</code></a> Add <code>prefer-string-raw</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2339">#2339</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/aabcf1dd6b9cd8c8e58e9e26e227a7c2668c47ee"><code>aabcf1d</code></a> <code>template-indent</code>: Support member expression paths in <code>tags</code> and <code>functions</code> ...</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/e59d9eefbf922b96794f9d4396fe100f450f5c01"><code>e59d9ee</code></a> Add utility <code>getCallExpressionTokens</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2345">#2345</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/b82542d5c7e8d1d45a6e6bb7df42e47104bfd623"><code>b82542d</code></a> Add fisker to sponsors (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2348">#2348</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/784db9011390c206b0713f065708d1d972bb5054"><code>784db90</code></a> Pin <code>eslint-doc-generator</code> to v1.7.0 (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2344">#2344</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v52.0.0...v53.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-unicorn&package-manager=npm_and_yarn&previous-version=52.0.0&new-version=53.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ceab390 commit 714034f

File tree

2 files changed

+49
-17
lines changed

2 files changed

+49
-17
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"eslint-config-prettier": "^9.0.0",
145145
"eslint-plugin-import": "^2.28.1",
146146
"eslint-plugin-prettier": "^5.0.0",
147-
"eslint-plugin-unicorn": "^52.0.0",
147+
"eslint-plugin-unicorn": "^53.0.0",
148148
"express": "^4.18.2",
149149
"express-fileupload": "^1.4.3",
150150
"http-errors": "^2.0.0",

yarn.lock

+48-16
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e"
153153
integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==
154154

155-
"@babel/helper-validator-identifier@^7.22.20", "@babel/helper-validator-identifier@^7.24.5":
155+
"@babel/helper-validator-identifier@^7.24.5":
156156
version "7.24.5"
157157
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz#918b1a7fa23056603506370089bd990d8720db62"
158158
integrity sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==
@@ -482,6 +482,21 @@
482482
minimatch "^3.1.2"
483483
strip-json-comments "^3.1.1"
484484

485+
"@eslint/eslintrc@^3.0.2":
486+
version "3.0.2"
487+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.0.2.tgz#36180f8e85bf34d2fe3ccc2261e8e204a411ab4e"
488+
integrity sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg==
489+
dependencies:
490+
ajv "^6.12.4"
491+
debug "^4.3.2"
492+
espree "^10.0.1"
493+
globals "^14.0.0"
494+
ignore "^5.2.0"
495+
import-fresh "^3.2.1"
496+
js-yaml "^4.1.0"
497+
minimatch "^3.1.2"
498+
strip-json-comments "^3.1.1"
499+
485500
486501
version "8.57.0"
487502
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
@@ -1540,7 +1555,7 @@ [email protected]:
15401555
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051"
15411556
integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==
15421557

1543-
core-js-compat@^3.34.0:
1558+
core-js-compat@^3.37.0:
15441559
version "3.37.0"
15451560
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.0.tgz#d9570e544163779bb4dff1031c7972f44918dc73"
15461561
integrity sha512-vYq4L+T8aS5UuFg4UwDhc7YNRWVeVZwltad9C/jV3R2LgVOpS9BDr7l/WL6BN0dbV3k1XejPTHqqEzJgsa0frA==
@@ -1990,17 +2005,17 @@ eslint-plugin-prettier@^5.0.0:
19902005
prettier-linter-helpers "^1.0.0"
19912006
synckit "^0.8.6"
19922007

1993-
eslint-plugin-unicorn@^52.0.0:
1994-
version "52.0.0"
1995-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz#c7a559edd52e3932cf2b3a05c3b0efc604c1eeb8"
1996-
integrity sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==
2008+
eslint-plugin-unicorn@^53.0.0:
2009+
version "53.0.0"
2010+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-53.0.0.tgz#df3a5c9ecabeb759e6fd867b2d84198466ac8c4d"
2011+
integrity sha512-kuTcNo9IwwUCfyHGwQFOK/HjJAYzbODHN3wP0PgqbW+jbXqpNWxNVpVhj2tO9SixBwuAdmal8rVcWKBxwFnGuw==
19972012
dependencies:
1998-
"@babel/helper-validator-identifier" "^7.22.20"
2013+
"@babel/helper-validator-identifier" "^7.24.5"
19992014
"@eslint-community/eslint-utils" "^4.4.0"
2000-
"@eslint/eslintrc" "^2.1.4"
2015+
"@eslint/eslintrc" "^3.0.2"
20012016
ci-info "^4.0.0"
20022017
clean-regexp "^1.0.0"
2003-
core-js-compat "^3.34.0"
2018+
core-js-compat "^3.37.0"
20042019
esquery "^1.5.0"
20052020
indent-string "^4.0.0"
20062021
is-builtin-module "^3.2.1"
@@ -2009,7 +2024,7 @@ eslint-plugin-unicorn@^52.0.0:
20092024
read-pkg-up "^7.0.1"
20102025
regexp-tree "^0.1.27"
20112026
regjsparser "^0.10.0"
2012-
semver "^7.5.4"
2027+
semver "^7.6.1"
20132028
strip-indent "^3.0.0"
20142029

20152030
eslint-rule-docs@^1.1.5:
@@ -2030,6 +2045,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
20302045
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
20312046
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
20322047

2048+
eslint-visitor-keys@^4.0.0:
2049+
version "4.0.0"
2050+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb"
2051+
integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==
2052+
20332053
eslint@^8.48.0:
20342054
version "8.57.0"
20352055
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
@@ -2074,6 +2094,15 @@ eslint@^8.48.0:
20742094
strip-ansi "^6.0.1"
20752095
text-table "^0.2.0"
20762096

2097+
espree@^10.0.1:
2098+
version "10.0.1"
2099+
resolved "https://registry.yarnpkg.com/espree/-/espree-10.0.1.tgz#600e60404157412751ba4a6f3a2ee1a42433139f"
2100+
integrity sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==
2101+
dependencies:
2102+
acorn "^8.11.3"
2103+
acorn-jsx "^5.3.2"
2104+
eslint-visitor-keys "^4.0.0"
2105+
20772106
espree@^9.6.0, espree@^9.6.1:
20782107
version "9.6.1"
20792108
resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f"
@@ -2449,6 +2478,11 @@ globals@^13.19.0:
24492478
dependencies:
24502479
type-fest "^0.20.2"
24512480

2481+
globals@^14.0.0:
2482+
version "14.0.0"
2483+
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
2484+
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
2485+
24522486
globalthis@^1.0.3:
24532487
version "1.0.4"
24542488
resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236"
@@ -3902,12 +3936,10 @@ semver@^6.3.0, semver@^6.3.1:
39023936
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
39033937
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
39043938

3905-
semver@^7.0.0, semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0:
3906-
version "7.6.0"
3907-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
3908-
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
3909-
dependencies:
3910-
lru-cache "^6.0.0"
3939+
semver@^7.0.0, semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.1:
3940+
version "7.6.2"
3941+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13"
3942+
integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==
39113943

39123944
39133945
version "0.18.0"

0 commit comments

Comments
 (0)