Skip to content

Commit

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

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 47.0.0 to 49.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>v49.0.0</h2>
<h3>Improvements</h3>
<ul>
<li><code>expiring-todo-comments</code>: Support monorepos (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2159">#2159</a>)  ac51d40</li>
<li><code>prefer-module</code>: Allow <code>module</code> as TSIndexSignature names or TSTypeAliasDeclaration ids (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2209">#2209</a>)  ea94b3b</li>
<li>Support RegExp <code>v</code> flag (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2195">#2195</a>)  28e7498</li>
<li><code>prefer-event-target</code>: Ignore <code>EventEmitter</code> from <code>@ angular/core</code> and <code>eventemitter3</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2197">#2197</a>)  1629ebe</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.1...v49.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.1...v49.0.0</a></p>
<h2>v48.0.1</h2>
<ul>
<li><code>no-empty-file</code>: Fix directive check for TypeScript parser (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2180">#2180</a>)  1bb9ce8</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.0...v48.0.1">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.0...v48.0.1</a></p>
<h2>v48.0.0</h2>
<h3>Improvements</h3>
<ul>
<li>Deprecate <code>no-unsafe-regex</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2135">#2135</a>)  7b473aa</li>
<li><code>prefer-top-level-await</code>: Ignore promises inside <code>Promise.{all,allSettled,any,race}()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2139">#2139</a>)  d3f6b60</li>
<li><code>no-process-exit</code>: Ignore when using <code>node:worker_threads</code> module (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2136">#2136</a>)  2907805</li>
<li><code>prefer-array-some</code>: Ignore filter calls with literal argument (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2097">#2097</a>)  7a32edb</li>
<li><code>prefer-modern-math-api</code>: Check cases that <code>Math.hypot()</code> should be preferred (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2080">#2080</a>)  9bbc948</li>
<li><code>explicit-length-check</code>: Ignore <code>.length || number</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/1977">#1977</a>)  b9b8794</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fix crash on array holes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2129">#2129</a>)  f10f1a6</li>
<li><code>prefer-dom-node-dataset</code>: Fix edge cases (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2171">#2171</a>)  b2d7378</li>
<li><code>prefer-dom-node-dataset</code>: Remove broken fix for <code>element.setAttribute</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2169">#2169</a>)  61234af</li>
<li><code>no-lonely-if</code>: Fix an edge case (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2168">#2168</a>)  ca837a8</li>
<li><code>no-useless-undefined</code>: Turn parameter with <code>undefined</code> default value into optional parameter  (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2138">#2138</a>)  4aa7d60</li>
<li><code>no-thenable</code>: Fix <code>Object.fromEntries()</code> check (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2130">#2130</a>)  f3265b9</li>
<li><code>prefer-dom-node-remove</code>: Fix incorrect auto-fix (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2084">#2084</a>)  74bb36d</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v48.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2f77a236777c89314d91988d350424127696fec7"><code>2f77a23</code></a> 49.0.0</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/813b56e21521dc4b75e72e9486a691afba6f788e"><code>813b56e</code></a> <code>prefer-add-event-listener</code>: Add warning in docs (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2188">#2188</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/54da9caa3db117a9cda462172b9d4f00cebdf564"><code>54da9ca</code></a> Remove direct dependency on lodash (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2184">#2184</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ac51d409b28bedbceee8b3f8f39c2b820dfec280"><code>ac51d40</code></a> <code>expiring-todo-comments</code>: Support monorepos (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2159">#2159</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/0a4d70ae27192ea4e679cf83328d214014779a06"><code>0a4d70a</code></a> Switch <code>npm-run-all</code> to maintenance fork (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2211">#2211</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ea94b3b1064d696f43f56bb0bfe3c623ba6ed436"><code>ea94b3b</code></a> <code>prefer-module</code>: Allow <code>module</code> as TSIndexSignature names or TSTypeAliasDecla...</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/61e66017f0c582c8a2537ca23b2e858e1fad8908"><code>61e6601</code></a> Remove docs for the <code>no-unsafe-regex</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2198">#2198</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/28e7498ad06679bb92343db53bb40a7b5ba2990a"><code>28e7498</code></a> Support RegExp <code>v</code> flag (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2195">#2195</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1629ebeb9d967f23245546aa2e0c2c182611ebb4"><code>1629ebe</code></a> <code>prefer-event-target</code>: Ignore <code>EventEmitter</code> from <code>@ angular/core</code> and `evente...</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/fa431ff15f892ac90f5748c237bb591162eec52c"><code>fa431ff</code></a> Update dependencies, fix <code>expiring-todo-comments</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2196">#2196</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v47.0.0...v49.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=47.0.0&new-version=49.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 Dec 1, 2023
1 parent bcd096d commit 47dadb0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 27 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"esbuild-plugin-alias": "0.2.1",
"eslint": "8.52.0",
"eslint-plugin-jest": "27.4.2",
"eslint-plugin-unicorn": "47.0.0",
"eslint-plugin-unicorn": "49.0.0",
"esm": "https://github.com/jsg2021/esm/releases/download/v3.x.x-pr883/esm-3.x.x-pr883.tgz",
"glob": "10.2.7",
"google-closure-compiler": "20230802.0.0",
Expand Down
38 changes: 12 additions & 26 deletions js/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,7 @@
resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==

"@babel/helper-validator-identifier@^7.19.1", "@babel/helper-validator-identifier@^7.22.19":
version "7.22.19"
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.19.tgz#2f34ab1e445f5b95e2e6edfe50ea2449e610583a"
integrity sha512-Tinq7ybnEPFFXhlYOYFiSjespWQk0dq2dRNAiMdRTOYQzEGqnnNyrTxPYHP5r6wGjlF1rFgABdDV0g8EwD6Qbg==

"@babel/helper-validator-identifier@^7.22.20":
"@babel/helper-validator-identifier@^7.22.19", "@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==
Expand Down Expand Up @@ -3010,26 +3005,24 @@ [email protected]:
dependencies:
"@typescript-eslint/utils" "^5.10.0"

eslint-plugin-unicorn@47.0.0:
version "47.0.0"
resolved "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-47.0.0.tgz#960e9d3789f656ba3e21982420793b069a911011"
integrity sha512-ivB3bKk7fDIeWOUmmMm9o3Ax9zbMz1Bsza/R2qm46ufw4T6VBFBaJIR1uN3pCKSmSXm8/9Nri8V+iUut1NhQGA==
eslint-plugin-unicorn@49.0.0:
version "49.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-49.0.0.tgz#4449ea954d7e1455eec8518f9417d7021b245fa8"
integrity sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q==
dependencies:
"@babel/helper-validator-identifier" "^7.19.1"
"@babel/helper-validator-identifier" "^7.22.20"
"@eslint-community/eslint-utils" "^4.4.0"
ci-info "^3.8.0"
clean-regexp "^1.0.0"
esquery "^1.5.0"
indent-string "^4.0.0"
is-builtin-module "^3.2.1"
jsesc "^3.0.2"
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"

[email protected], eslint-scope@^5.1.1:
Expand Down Expand Up @@ -5053,7 +5046,7 @@ lodash.some@^4.2.2:
resolved "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d"
integrity sha512-j7MJE+TuT51q9ggt4fSgVqro163BEFjAt3u97IqU+JA2DkWl80nFTrowzLpZ/BnpN7rrl0JA/593NAdd8p/scQ==

lodash@^4.17.21, lodash@^4.17.4:
lodash@^4.17.4:
version "4.17.21"
resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
Expand Down Expand Up @@ -6041,9 +6034,9 @@ regex-not@^1.0.0, regex-not@^1.0.2:
extend-shallow "^3.0.2"
safe-regex "^1.1.0"

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

regjsparser@^0.10.0:
Expand Down Expand Up @@ -6249,13 +6242,6 @@ safe-regex@^1.1.0:
dependencies:
ret "~0.1.10"

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

sax@>=0.6.0:
version "1.2.4"
resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
Expand Down Expand Up @@ -6287,7 +6273,7 @@ semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==

semver@^7.3.4, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4:
semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4:
version "7.5.4"
resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
Expand Down

0 comments on commit 47dadb0

Please sign in to comment.