Skip to content

Commit

Permalink
fix(deps): Bump eslint-plugin-unicorn from 48.0.0 to 52.0.0 (#241)
Browse files Browse the repository at this point in the history
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 48.0.0 to 52.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>v52.0.0</h2>
<h3>New rules</h3>
<ul>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-single-promise-in-promise-methods.md"><code>no-single-promise-in-promise-methods</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2258">#2258</a>)  8f0ee89</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-in-promise-methods.md"><code>no-await-in-promise-methods</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2259">#2259</a>)  a3be554</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-anonymous-default-export.md"><code>no-anonymous-default-export</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2273">#2273</a>)  c035216</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><code>filename-case</code>: Add option for multiple file extensions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2186">#2186</a>)  4594020</li>
<li><code>import-style</code>: Support <code>node:</code> protocol (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2297">#2297</a>)  c28a086</li>
<li><code>prefer-array-find</code>: Check <code>array.filter().at(0)</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2284">#2284</a>)  e6074fe</li>
<li><code>prefer-prototype-methods</code>: Check <code>Object.prototype</code> methods from <code>globalThis</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2286">#2286</a>)  1792d33</li>
<li><code>no-array-callback-reference</code>: Check logical expressions and check ternaries deeply (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2289">#2289</a>)  231529a</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>prefer-spread</code>: Fix it to not report on optional chaining (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2304">#2304</a>)  df1ff1c</li>
<li><code>no-anonymous-default-export</code>: Uppercase class name (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2282">#2282</a>)  5ce4169</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0</a></p>
<h2>v51.0.1</h2>
<ul>
<li><code>prefer-node-protocol</code>: Fix false positive on <code>bun:*</code> modules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2272">#2272</a>)  43fc638</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.0...v51.0.1">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.0...v51.0.1</a></p>
<h2>v51.0.0</h2>
<h3>Breaking</h3>
<ul>
<li><code>consistent-destructuring</code>: Remove from <code>recommended</code> preset (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2260">#2260</a>)  702d51b</li>
</ul>
<h3>Improvements</h3>
<ul>
<li><code>no-array-method-this-argument</code>: Check <code>Array.from()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2262">#2262</a>)  797caee</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>no-thenable</code>: Fix crash on <code>{[Symbol.prototype]: 0}</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2248">#2248</a>)  3c7d7c0</li>
<li><code>prefer-prototype-methods</code>: Fix argument of <code>isMethodCall</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2247">#2247</a>)  3b504fa</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.0</a></p>
<h2>v50.0.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>no-unnecessary-polyfills</code>: Fix missing dependency error (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2242">#2242</a>)  3df16068</li>
</ul>
<p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.0...v50.0.1">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.0...v50.0.1</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/8ca00a46c6667bc9438f3f20b82874796466702e"><code>8ca00a4</code></a> 52.0.0</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/df1ff1c8ad8c6dd1ec42fe91774a808f0119758e"><code>df1ff1c</code></a> <code>prefer-spread</code>: Fix it to not report on optional chaining (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2304">#2304</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/907a3f7195f58efe88e15956f2fdef06d1725015"><code>907a3f7</code></a> Fix integration test (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2305">#2305</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/c28a0861bfa981013abb11e36117a8d90c33a048"><code>c28a086</code></a> <code>import-style</code>: Support <code>node:</code> protocol (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2297">#2297</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/677af7ffd39ab90ecf201bace9d70e48ac8a78ec"><code>677af7f</code></a> Update docs generator</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/30ece36468cba02ec1b49254bf1cb0992acb50b7"><code>30ece36</code></a> <code>no-array-for-each</code>: Document another benefit of <code>for-of</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2303">#2303</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/231529aee793251f30416b93dc3d5f9bfa27ee47"><code>231529a</code></a> <code>no-array-callback-reference</code>: Check logical expressions, check ternaries dee...</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/78810a59f8240b6a338452eda47c891d23d07609"><code>78810a5</code></a> Add some notes to new-rule.md (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2287">#2287</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/8f0ee8908ec3feda681c015cda56f17871f13aa2"><code>8f0ee89</code></a> Add <code>no-single-promise-in-promise-methods</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2258">#2258</a>)</li>
<li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1792d3307f59d03b1fba2a935855ecede60e5866"><code>1792d33</code></a> <code>prefer-prototype-methods</code>: Check <code>Object.prototype</code> methods from `globalThis...</li>
<li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v48.0.0...v52.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=48.0.0&new-version=52.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>
  • Loading branch information
dependabot[bot] authored Apr 8, 2024
1 parent a4345db commit 0983eb9
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 101 deletions.
180 changes: 81 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-unicorn": "^48.0.0",
"eslint-plugin-unicorn": "^52.0.0",
"prettier": "^3.2.5",
"putout": "^35.7.6"
},
Expand Down Expand Up @@ -86,7 +86,7 @@
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-unicorn": "^48.0.0",
"eslint-plugin-unicorn": "^52.0.0",
"prettier": "^3.2.5",
"putout": "^35.7.6"
}
Expand Down

0 comments on commit 0983eb9

Please sign in to comment.