460.json (9875B)
1 { 2 "number": 460, 3 "title": "Bump eslint-plugin-unicorn from 45.0.2 to 47.0.0", 4 "state": "closed", 5 "diff_file": "460.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-06-07T09:09:34Z", 8 "closed_at": "2023-07-17T08:49:10Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/eslint-plugin-unicorn-47.0.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 45.0.2 to 47.0.0.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/releases\">eslint-plugin-unicorn's releases</a>.</em></p>\n<blockquote>\n<h2>v47.0.0</h2>\n<h3>Breaking</h3>\n<ul>\n<li>Require Node.js 16 (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2073\">#2073</a>) a3bc120</li>\n<li>Require <code>eslint@>=8.38.0</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2066\">#2066</a>) 04af765</li>\n<li>Enable <code>prefer-at</code>, <code>prefer-event-target</code>, and <code>prefer-string-replace-all</code> in recommended config (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2073\">#2073</a>) a3bc120</li>\n</ul>\n<h3>New rules</h3>\n<ul>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md\"><code>prefer-blob-reading-methods</code></a> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2065\">#2065</a>) 2bb1a04</li>\n</ul>\n<h3>Improvements</h3>\n<ul>\n<li><code>prefer-top-level-await</code>: Ignore <code>.cjs</code> files (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2072\">#2072</a>) 0c3ccb1</li>\n<li><code>prefer-spread</code>: Stop checking <code>Array.from</code> call with map function (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2064\">#2064</a>) f5beccb</li>\n<li><code>prefer-dom-node-text-content</code>: Check optional chaining (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2062\">#2062</a>) 8d6d007</li>\n<li><code>prefer-dom-node-{append,remove}</code>: Check optional chaining (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2061\">#2061</a>) 443999b</li>\n</ul>\n<h3>Fixes</h3>\n<ul>\n<li><code>prefer-number-properties</code>: Fix false positives (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2050\">#2050</a>) 124bfa7</li>\n</ul>\n<p><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v47.0.0\">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v47.0.0</a></p>\n<h2>v46.0.1</h2>\n<ul>\n<li>Fix <code>expiring-todo-comments</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2077\">#2077</a>) 7a6861a</li>\n</ul>\n<p><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v46.0.1\">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v46.0.0...v46.0.1</a></p>\n<h2>v46.0.0</h2>\n<h3>Improvements</h3>\n<ul>\n<li>Add <code>elems</code> to abbreviations (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2040\">#2040</a>) 2a9c840</li>\n<li><code>no-useless-spread</code>: Check <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2030\">#2030</a>) 55469e5</li>\n<li><code>prefer-set-has</code>: Support <code>Array#{toReversed,toSorted,toSpliced,with}</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2032\">#2032</a>) fea5b42</li>\n<li><code>prefer-spread</code>: Forbid use of <code>Array#toSpliced()</code> to copy array (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2034\">#2034</a>) 4ada50e</li>\n<li><code>prefer-negative-index</code>: Check <code>.toSpliced()</code> and <code>.with()</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2031\">#2031</a>) 7ed738a</li>\n<li><code>no-empty-file</code>: Support <code>.jsx</code> and <code>.tsx</code> extensions (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2002\">#2002</a>) ba1a00e</li>\n</ul>\n<h3>Fixes</h3>\n<ul>\n<li><code>expiring-todo-comments</code>: Do not normalize package.json (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/1871\">#1871</a>) (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2020\">#2020</a>) fcd8934</li>\n</ul>\n<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>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/6f05ddc6f4b350029c4597ed51d4cc445cc958d3\"><code>6f05ddc</code></a> 47.0.0</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/6ee3687da6b334118cda627401153c3c13e20e70\"><code>6ee3687</code></a> Fix <code>expiring-todo-comments</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2077\">#2077</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/0c3ccb11846c6f1ef8d9ee8ccf34f86c40d843d0\"><code>0c3ccb1</code></a> <code>prefer-top-level-await</code>: Ignore <code>.cjs</code> files (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2072\">#2072</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/a3bc1203e7fdb1504a9af8db98298e33a2a6a932\"><code>a3bc120</code></a> Require Node.js 16, enable <code>prefer-at</code>, <code>prefer-event-target</code>, and `prefer-st...</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/a9337e847e0ca4d725bdedf8f13e24c7d0dfcda9\"><code>a9337e8</code></a> Extend explanations for some rules (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2070\">#2070</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2bb1a04ec5376064875f0c075a8e1cf9c54c9cf5\"><code>2bb1a04</code></a> Add <code>prefer-blob-reading-methods</code> rule (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2065\">#2065</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/d90f3379f00050320951b07e50754467fb853719\"><code>d90f337</code></a> Use <code>SourceCode#getScope</code> (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2068\">#2068</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/f14433068bbf92d56b3aaa457c5a1aa0ec19e7ab\"><code>f144330</code></a> Meta tweaks</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1eca7d072dd42940dcfda0a022edec452f79c105\"><code>1eca7d0</code></a> Switch to MDN links (<a href=\"https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2069\">#2069</a>)</li>\n<li><a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/commit/04af765355209bfbea408acec34e53dc8e79731d\"><code>04af765</code></a> Use <code>SourceCode#{getDeclaredVariables,getAncestors}</code>, require `eslint@>=8.38....</li>\n<li>Additional commits viewable in <a href=\"https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v45.0.2...v47.0.0\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-07-17T08:49:09Z", 27 "body": "Superseded by #533." 28 } 29 ], 30 "review_comments": [] 31 }