Skip to content

Commit 10ca877

Browse files
Bump @biomejs/biome from 2.3.3 to 2.3.6 (#487)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.3.3 to 2.3.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/biomejs/biome/releases"><code>@​biomejs/biome</code>'s releases</a>.</em></p> <blockquote> <h2>Biome CLI v2.3.6</h2> <h2>2.3.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8100">#8100</a> <a href="https://github.com/biomejs/biome/commit/82b9a8eb3ddeb396c9c4615fb316bdd1eb3c7a49"><code>82b9a8e</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/use-find/"><code>useFind</code></a>. Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.</p> <p><strong>Invalid:</strong></p> <pre lang="js"><code>[1, 2, 3].filter((x) =&gt; x &gt; 1)[0]; <p>[1, 2, 3].filter((x) =&gt; x &gt; 1).at(0); </code></pre></p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8118">#8118</a> <a href="https://github.com/biomejs/biome/commit/dbc7021016e2314344893b371de1a43f13c0c03b"><code>dbc7021</code></a> Thanks <a href="https://github.com/hirokiokada77"><code>@​hirokiokada77</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8117">#8117</a>: <a href="https://biomejs.dev/linter/rules/use-valid-lang/"><code>useValidLang</code></a> now accepts valid <a href="https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag">BCP 47 language tags</a> with script subtags.</p> <p><strong>Valid:</strong></p> <pre lang="html"><code>&lt;html lang=&quot;zh-Hans-CN&quot;&gt;&lt;/html&gt; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/7672">#7672</a> <a href="https://github.com/biomejs/biome/commit/f1d5725d0660ffb1e29c3694cd100b1c37bf50d5"><code>f1d5725</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions/"><code>useConsistentGraphqlDescriptions</code></a>, requiring all descriptions to follow the same style (either block or inline) inside GraphQL files.</p> <p><strong>Invalid:</strong></p> <pre lang="graphql"><code>enum EnumValue { &quot;this is a description&quot; DEFAULT } </code></pre> <p><strong>Valid:</strong></p> <pre lang="graphql"><code>enum EnumValue { &quot;&quot;&quot; this is a description &quot;&quot;&quot; DEFAULT } </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8026">#8026</a> <a href="https://github.com/biomejs/biome/commit/f10266193d9fd0bdb51eda3001b4068defb78a66"><code>f102661</code></a> Thanks <a href="https://github.com/matanshavit"><code>@​matanshavit</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8004">#8004</a>: <a href="https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion/"><code>noParametersOnlyUsedInRecursion</code></a> now correctly detects recursion by comparing function bindings instead of just names.</p> <p>Previously, the rule incorrectly flagged parameters when a method had the same name as an outer function but called the outer function (not itself):</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md"><code>@​biomejs/biome</code>'s changelog</a>.</em></p> <blockquote> <h2>2.3.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8100">#8100</a> <a href="https://github.com/biomejs/biome/commit/82b9a8eb3ddeb396c9c4615fb316bdd1eb3c7a49"><code>82b9a8e</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/use-find/"><code>useFind</code></a>. Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.</p> <p><strong>Invalid:</strong></p> <pre lang="js"><code>[1, 2, 3].filter((x) =&gt; x &gt; 1)[0]; <p>[1, 2, 3].filter((x) =&gt; x &gt; 1).at(0); </code></pre></p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8118">#8118</a> <a href="https://github.com/biomejs/biome/commit/dbc7021016e2314344893b371de1a43f13c0c03b"><code>dbc7021</code></a> Thanks <a href="https://github.com/hirokiokada77"><code>@​hirokiokada77</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8117">#8117</a>: <a href="https://biomejs.dev/linter/rules/use-valid-lang/"><code>useValidLang</code></a> now accepts valid <a href="https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag">BCP 47 language tags</a> with script subtags.</p> <p><strong>Valid:</strong></p> <pre lang="html"><code>&lt;html lang=&quot;zh-Hans-CN&quot;&gt;&lt;/html&gt; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/7672">#7672</a> <a href="https://github.com/biomejs/biome/commit/f1d5725d0660ffb1e29c3694cd100b1c37bf50d5"><code>f1d5725</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions/"><code>useConsistentGraphqlDescriptions</code></a>, requiring all descriptions to follow the same style (either block or inline) inside GraphQL files.</p> <p><strong>Invalid:</strong></p> <pre lang="graphql"><code>enum EnumValue { &quot;this is a description&quot; DEFAULT } </code></pre> <p><strong>Valid:</strong></p> <pre lang="graphql"><code>enum EnumValue { &quot;&quot;&quot; this is a description &quot;&quot;&quot; DEFAULT } </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8026">#8026</a> <a href="https://github.com/biomejs/biome/commit/f10266193d9fd0bdb51eda3001b4068defb78a66"><code>f102661</code></a> Thanks <a href="https://github.com/matanshavit"><code>@​matanshavit</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8004">#8004</a>: <a href="https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion/"><code>noParametersOnlyUsedInRecursion</code></a> now correctly detects recursion by comparing function bindings instead of just names.</p> <p>Previously, the rule incorrectly flagged parameters when a method had the same name as an outer function but called the outer function (not itself):</p> <pre lang="js"><code>function notRecursive(arg) { </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/biomejs/biome/commit/166d95b924368665fee2802d5c84170df1494c83"><code>166d95b</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8076">#8076</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/6976d03739b7202543594297e39a0c949ecfba98"><code>6976d03</code></a> chore: schema regression rule domains (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8133">#8133</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/5fc5416ae1a64dfae977241eb3f30601999039b7"><code>5fc5416</code></a> feat(lint/vue): add <code>noVueVIfWithVFor</code>, <code>useVueHyphenatedAttributes</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8097">#8097</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/fb8e3e76776b891f037edf308179fc64e4865a4d"><code>fb8e3e7</code></a> fix(noInvalidUseBeforeDeclaration): handle class, enum, import-equals (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8113">#8113</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/0f0a65884b615109a1282e88f18efbaca3d223b0"><code>0f0a658</code></a> feat(analyze): implement <code>noSyncScripts</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8108">#8108</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/82b9a8eb3ddeb396c9c4615fb316bdd1eb3c7a49"><code>82b9a8e</code></a> feat(js_analyze): implement useFind (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8100">#8100</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/1fdcaf0336a92cde9becbf8cba502ac0091b2b1d"><code>1fdcaf0</code></a> feat(schema): add docs URLs to rule description (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8098">#8098</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/b406db667f2dddd177f7c45ecc9e98a83b796a0a"><code>b406db6</code></a> feat: add useSpread rule (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7681">#7681</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/6bcc9d267a3d40d613971c64c31f3159aa7463db"><code>6bcc9d2</code></a> chore: regression schemars v1 (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8092">#8092</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/0c0edd4311610a5e064f99e13824d0b4c5a9f873"><code>0c0edd4</code></a> feat(graphql_analyze): add <code>useUniqueGraphqlOperationName</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8013">#8013</a>)</li> <li>Additional commits viewable in <a href="https://github.com/biomejs/biome/commits/@biomejs/[email protected]/packages/@biomejs/biome">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@​biomejs/biome</code> since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@biomejs/biome&package-manager=npm_and_yarn&previous-version=2.3.3&new-version=2.3.6)](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5820faa commit 10ca877

File tree

2 files changed

+72
-72
lines changed

2 files changed

+72
-72
lines changed

package-lock.json

Lines changed: 71 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
"format": "biome format --write ."
320320
},
321321
"devDependencies": {
322-
"@biomejs/biome": "^2.3.3",
322+
"@biomejs/biome": "^2.3.6",
323323
"@playwright/test": "^1.56.1",
324324
"@types/mocha": "^10.0.10",
325325
"@types/node": "^24.10.0",

0 commit comments

Comments
 (0)