370.md (7925B)
1 # PR #370 Bump eslint-plugin-unicorn from 45.0.2 to 46.0.0 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-03-06T09:17:55Z 6 - **Branch:** dependabot/npm_and_yarn/eslint-plugin-unicorn-46.0.0 → main 7 - **Closed:** 2023-06-07T09:09:40Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [370.diff](./370.diff) 12 13 --- 14 15 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 45.0.2 to 46.0.0. 16 <details> 17 <summary>Release notes</summary> 18 <p><em>Sourced from <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/releases">eslint-plugin-unicorn's releases</a>.</em></p> 19 <blockquote> 20 <h2>v46.0.0</h2> 21 <h3>Improvements</h3> 22 <ul> 23 <li>Add <code>elems</code> to abbreviations (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2040">#2040</a>) 2a9c840</li> 24 <li><code>no-useless-spread</code>: Check <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2030">#2030</a>) 55469e5</li> 25 <li><code>prefer-set-has</code>: Support <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2032">#2032</a>) fea5b42</li> 26 <li><code>prefer-spread</code>: Forbid use of <code>Array#toSpliced()</code> to copy array (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2034">#2034</a>) 4ada50e</li> 27 <li><code>prefer-negative-index</code>: Check <code>.toSpliced()</code> and <code>.with()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2031">#2031</a>) 7ed738a</li> 28 <li><code>no-empty-file</code>: Support <code>.jsx</code> and <code>.tsx</code> extensions (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2002">#2002</a>) ba1a00e</li> 29 </ul> 30 <h3>Fixes</h3> 31 <ul> 32 <li><code>expiring-todo-comments</code>: Do not normalize package.json (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1871">#1871</a>) (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2020">#2020</a>) fcd8934</li> 33 </ul> 34 <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v46.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v46.0.0</a></p> 35 </blockquote> 36 </details> 37 <details> 38 <summary>Commits</summary> 39 <ul> 40 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/5fcdf0f3f1e74b4c8a92853ecc75fd7721463145"><code>5fcdf0f</code></a> 46.0.0</li> 41 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2a9c840484ab456ef131cb7ffc61cd46bef443a7"><code>2a9c840</code></a> Add <code>elems</code> to abbreviations (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2040">#2040</a>)</li> 42 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/27e23e5ee09f694776b2efee6e3b2023a783ae8f"><code>27e23e5</code></a> Refactor tests (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2036">#2036</a>)</li> 43 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/55469e5b70b4d62584f5f47623c4dbdbd7f9eebe"><code>55469e5</code></a> <code>no-useless-spread</code>: Check <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2030">#2030</a>)</li> 44 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/fea5b42d5bcc5397b0ddfc525307377a6494a16f"><code>fea5b42</code></a> <code>prefer-set-has</code>: Support <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2032">#2032</a>)</li> 45 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/00883a8e05a1a520f683cd6fad75457381ee6760"><code>00883a8</code></a> <code>prefer-set-has</code>: Use snapshot to test (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2035">#2035</a>)</li> 46 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/7ed738a41d5f611b1907dc2a9afd2c454300577a"><code>7ed738a</code></a> <code>prefer-negative-index</code>: Check <code>.toSpliced()</code> and <code>.with()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2031">#2031</a>)</li> 47 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/fcd893465f8e3cc59d34d6d1db533cea94247a0c"><code>fcd8934</code></a> <code>expiring-todo-comments</code>: Do not normalize package.json (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1871">#1871</a>) (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2020">#2020</a>)</li> 48 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ba1a00ee1a9bf90ca284e241cd8f137216c2f2aa"><code>ba1a00e</code></a> <code>no-empty-file</code>: Support <code>.jsx</code> and <code>.tsx</code> extensions (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2002">#2002</a>)</li> 49 <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/4ada50e896dca899b029ada6a55ebf2141252251"><code>4ada50e</code></a> <code>prefer-spread</code>: Forbid use of <code>Array#toSpliced()</code> to copy array (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/2034">#2034</a>)</li> 50 <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v46.0.0">compare view</a></li> 51 </ul> 52 </details> 53 <br /> 54 55 56 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 57 58 You can trigger a rebase of this PR by commenting `@dependabot rebase`. 59 60 [//]: # (dependabot-automerge-start) 61 [//]: # (dependabot-automerge-end) 62 63 --- 64 65 <details> 66 <summary>Dependabot commands and options</summary> 67 <br /> 68 69 You can trigger Dependabot actions by commenting on this PR: 70 - `@dependabot rebase` will rebase this PR 71 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 72 - `@dependabot merge` will merge this PR after your CI passes on it 73 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 74 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 75 - `@dependabot reopen` will reopen this PR if it is closed 76 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 77 - `@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) 78 - `@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) 79 - `@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) 80 81 82 </details> 83 84 <!-- Replace --> 85 ---- 86 ⌛ Deploy Preview - Build in Progress 87 <!-- Replace --> 88 > **Note** 89 > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. 90 91 92 93 ## Comments 94 95 ### @dependabot[bot] — 2023-06-07T09:09:39Z 96 97 Superseded by #460. 98