Skip to content

Commit

Permalink
MINOR: [JS] Bump eslint-plugin-unicorn from 52.0.0 to 53.0.0 in /js (a…
Browse files Browse the repository at this point in the history
…pache#41916)

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>

Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
dependabot[bot] authored and vibhatha committed Jun 5, 2024
1 parent e66b04f commit 8bd9ce6
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 24 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"esbuild-plugin-alias": "0.2.1",
"eslint": "8.57.0",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-unicorn": "52.0.0",
"eslint-plugin-unicorn": "53.0.0",
"esm": "https://github.com/jsg2021/esm/releases/download/v3.x.x-pr883/esm-3.x.x-pr883.tgz",
"gulp": "4.0.2",
"glob": "10.4.1",
Expand Down
78 changes: 55 additions & 23 deletions js/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e"
integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==

"@babel/helper-validator-identifier@^7.22.20":
version "7.22.20"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
"@babel/helper-validator-identifier@^7.22.20", "@babel/helper-validator-identifier@^7.24.5":
version "7.24.6"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz#08bb6612b11bdec78f3feed3db196da682454a5e"
integrity sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==

"@babel/helper-validator-option@^7.23.5":
version "7.23.5"
Expand Down Expand Up @@ -614,6 +614,21 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/eslintrc@^3.0.2":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.1.0.tgz#dbd3482bfd91efa663cbe7aa1f506839868207b6"
integrity sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==
dependencies:
ajv "^6.12.4"
debug "^4.3.2"
espree "^10.0.1"
globals "^14.0.0"
ignore "^5.2.0"
import-fresh "^3.2.1"
js-yaml "^4.1.0"
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/[email protected]":
version "8.57.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
Expand Down Expand Up @@ -1691,7 +1706,7 @@ acorn@^6.4.1:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6"
integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==

acorn@^8.0.4, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0:
acorn@^8.0.4, acorn@^8.11.3, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0:
version "8.11.3"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a"
integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
Expand Down Expand Up @@ -2547,10 +2562,10 @@ copy-props@^2.0.1:
each-props "^1.3.2"
is-plain-object "^5.0.0"

core-js-compat@^3.34.0:
version "3.36.1"
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.36.1.tgz#1818695d72c99c25d621dca94e6883e190cea3c8"
integrity sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA==
core-js-compat@^3.37.0:
version "3.37.1"
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.1.tgz#c844310c7852f4bdf49b8d339730b97e17ff09ee"
integrity sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==
dependencies:
browserslist "^4.23.0"

Expand Down Expand Up @@ -3022,17 +3037,17 @@ [email protected]:
dependencies:
"@typescript-eslint/utils" "^6.0.0 || ^7.0.0"

eslint-plugin-unicorn@52.0.0:
version "52.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz#c7a559edd52e3932cf2b3a05c3b0efc604c1eeb8"
integrity sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==
eslint-plugin-unicorn@53.0.0:
version "53.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-53.0.0.tgz#df3a5c9ecabeb759e6fd867b2d84198466ac8c4d"
integrity sha512-kuTcNo9IwwUCfyHGwQFOK/HjJAYzbODHN3wP0PgqbW+jbXqpNWxNVpVhj2tO9SixBwuAdmal8rVcWKBxwFnGuw==
dependencies:
"@babel/helper-validator-identifier" "^7.22.20"
"@babel/helper-validator-identifier" "^7.24.5"
"@eslint-community/eslint-utils" "^4.4.0"
"@eslint/eslintrc" "^2.1.4"
"@eslint/eslintrc" "^3.0.2"
ci-info "^4.0.0"
clean-regexp "^1.0.0"
core-js-compat "^3.34.0"
core-js-compat "^3.37.0"
esquery "^1.5.0"
indent-string "^4.0.0"
is-builtin-module "^3.2.1"
Expand All @@ -3041,7 +3056,7 @@ [email protected]:
read-pkg-up "^7.0.1"
regexp-tree "^0.1.27"
regjsparser "^0.10.0"
semver "^7.5.4"
semver "^7.6.1"
strip-indent "^3.0.0"

[email protected]:
Expand All @@ -3065,6 +3080,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==

eslint-visitor-keys@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb"
integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==

[email protected]:
version "8.57.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
Expand Down Expand Up @@ -3123,6 +3143,15 @@ esniff@^2.0.1:
event-emitter "^0.3.5"
type "^2.7.2"

espree@^10.0.1:
version "10.0.1"
resolved "https://registry.yarnpkg.com/espree/-/espree-10.0.1.tgz#600e60404157412751ba4a6f3a2ee1a42433139f"
integrity sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==
dependencies:
acorn "^8.11.3"
acorn-jsx "^5.3.2"
eslint-visitor-keys "^4.0.0"

espree@^9.6.0, espree@^9.6.1:
version "9.6.1"
resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f"
Expand Down Expand Up @@ -3690,6 +3719,11 @@ globals@^13.19.0:
dependencies:
type-fest "^0.20.2"

globals@^14.0.0:
version "14.0.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==

globby@^11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
Expand Down Expand Up @@ -6248,12 +6282,10 @@ semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==

semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0:
version "7.6.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
dependencies:
lru-cache "^6.0.0"
semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.1:
version "7.6.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13"
integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==

serialize-javascript@^6.0.1:
version "6.0.2"
Expand Down

0 comments on commit 8bd9ce6

Please sign in to comment.