Skip to content

Commit 92bdc1e

Browse files
Bump @biomejs/biome from 2.4.12 to 2.4.13 (#199)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.4.12 to 2.4.13. <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.4.13</h2> <h2>2.4.13</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9969">#9969</a> <a href="https://github.com/biomejs/biome/commit/c5eb92ba288ba13698b37e43617eed5339ad7007"><code>c5eb92b</code></a> Thanks <a href="https://github.com/officialasishkumar"><code>@​officialasishkumar</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/no-unnecessary-template-expression/"><code>noUnnecessaryTemplateExpression</code></a>, which disallows template literals that only contain string literal expressions. These can be replaced with a simpler string literal.</p> <p>For example, the following code triggers the rule:</p> <pre lang="js"><code>const a = `${&quot;hello&quot;}`; // can be 'hello' const b = `${&quot;prefix&quot;}_suffix`; // can be 'prefix_suffix' const c = `${&quot;a&quot;}${&quot;b&quot;}`; // can be 'ab' </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10037">#10037</a> <a href="https://github.com/biomejs/biome/commit/f785e8c604879dd3dd17b53aae0e2feef4026c82"><code>f785e8c</code></a> Thanks <a href="https://github.com/minseong0324"><code>@​minseong0324</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9810">#9810</a>: <a href="https://biomejs.dev/linter/rules/no-misleading-return-type/"><code>noMisleadingReturnType</code></a> no longer reports false positives on a getter with a matching setter in the same namespace.</p> <pre lang="ts"><code>class Store { get status(): string { if (Math.random() &gt; 0.5) return &quot;loading&quot;; return &quot;idle&quot;; } set status(v: string) {} } </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10084">#10084</a> <a href="https://github.com/biomejs/biome/commit/5e2f90c045b4bd7006c96a9df123303d6c24e1d8"><code>5e2f90c</code></a> Thanks <a href="https://github.com/jiwon79"><code>@​jiwon79</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/10034">#10034</a>: <a href="https://biomejs.dev/linter/rules/no-useless-escape-in-regex/"><code>noUselessEscapeInRegex</code></a> no longer flags escapes of <code>ClassSetReservedPunctuator</code> characters (<code>&amp;</code>, <code>!</code>, <code>#</code>, <code>%</code>, <code>,</code>, <code>:</code>, <code>;</code>, <code>&lt;</code>, <code>=</code>, <code>&gt;</code>, <code>@</code>, <code>`</code>, <code>~</code>) inside <code>v</code>-flag character classes as useless. These characters are reserved as individual code points in <code>v</code>-mode, so the escape is required.</p> <p>The following pattern is now considered valid:</p> <pre lang="js"><code>/[a-z\&amp;]/v; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10063">#10063</a> <a href="https://github.com/biomejs/biome/commit/c9ffa16491c9f8c003eb945796911564fc981b71"><code>c9ffa16</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added extra rule sources from ESLint CSS. <code>biome migrate eslint</code> should do a bit better detecting rules in your eslint configurations.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10035">#10035</a> <a href="https://github.com/biomejs/biome/commit/946b50e173e8c89a2d2b303cb159a05cbd068767"><code>946b50e</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/10032">#10032</a>: <a href="https://biomejs.dev/linter/rules/use-iframe-sandbox/">useIframeSandbox</a> now flags if there's no initializer value.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9865">#9865</a> <a href="https://github.com/biomejs/biome/commit/68fb8d468c01732c4283a336eca42223983df09b"><code>68fb8d4</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Added the new nursery rule <a href="https://biomejs.dev/linter/rules/use-dom-node-text-content/"><code>useDomNodeTextContent</code></a>, which prefers <code>textContent</code> over <code>innerText</code> for DOM node text access and destructuring.</p> <p>For example, the following snippet triggers the rule:</p> <pre lang="js"><code>const foo = node.innerText; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10023">#10023</a> <a href="https://github.com/biomejs/biome/commit/bd1e74fd80b0cadafd091513950275e0ff75d80f"><code>bd1e74f</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added a new nursery rule <a href="https://biomejs.dev/linter/rules/no-react-native-deep-imports/"><code>noReactNativeDeepImports</code></a> that disallows deep imports from the <code>react-native</code> package. Internal paths like <code>react-native/Libraries/...</code> are not part of the public API and may change between versions.</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.4.13</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9969">#9969</a> <a href="https://github.com/biomejs/biome/commit/c5eb92ba288ba13698b37e43617eed5339ad7007"><code>c5eb92b</code></a> Thanks <a href="https://github.com/officialasishkumar"><code>@​officialasishkumar</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/no-unnecessary-template-expression/"><code>noUnnecessaryTemplateExpression</code></a>, which disallows template literals that only contain string literal expressions. These can be replaced with a simpler string literal.</p> <p>For example, the following code triggers the rule:</p> <pre lang="js"><code>const a = `${&quot;hello&quot;}`; // can be 'hello' const b = `${&quot;prefix&quot;}_suffix`; // can be 'prefix_suffix' const c = `${&quot;a&quot;}${&quot;b&quot;}`; // can be 'ab' </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10037">#10037</a> <a href="https://github.com/biomejs/biome/commit/f785e8c604879dd3dd17b53aae0e2feef4026c82"><code>f785e8c</code></a> Thanks <a href="https://github.com/minseong0324"><code>@​minseong0324</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9810">#9810</a>: <a href="https://biomejs.dev/linter/rules/no-misleading-return-type/"><code>noMisleadingReturnType</code></a> no longer reports false positives on a getter with a matching setter in the same namespace.</p> <pre lang="ts"><code>class Store { get status(): string { if (Math.random() &gt; 0.5) return &quot;loading&quot;; return &quot;idle&quot;; } set status(v: string) {} } </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10084">#10084</a> <a href="https://github.com/biomejs/biome/commit/5e2f90c045b4bd7006c96a9df123303d6c24e1d8"><code>5e2f90c</code></a> Thanks <a href="https://github.com/jiwon79"><code>@​jiwon79</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/10034">#10034</a>: <a href="https://biomejs.dev/linter/rules/no-useless-escape-in-regex/"><code>noUselessEscapeInRegex</code></a> no longer flags escapes of <code>ClassSetReservedPunctuator</code> characters (<code>&amp;</code>, <code>!</code>, <code>#</code>, <code>%</code>, <code>,</code>, <code>:</code>, <code>;</code>, <code>&lt;</code>, <code>=</code>, <code>&gt;</code>, <code>@</code>, <code>`</code>, <code>~</code>) inside <code>v</code>-flag character classes as useless. These characters are reserved as individual code points in <code>v</code>-mode, so the escape is required.</p> <p>The following pattern is now considered valid:</p> <pre lang="js"><code>/[a-z\&amp;]/v; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10063">#10063</a> <a href="https://github.com/biomejs/biome/commit/c9ffa16491c9f8c003eb945796911564fc981b71"><code>c9ffa16</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Added extra rule sources from ESLint CSS. <code>biome migrate eslint</code> should do a bit better detecting rules in your eslint configurations.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10035">#10035</a> <a href="https://github.com/biomejs/biome/commit/946b50e173e8c89a2d2b303cb159a05cbd068767"><code>946b50e</code></a> Thanks <a href="https://github.com/Netail"><code>@​Netail</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/10032">#10032</a>: <a href="https://biomejs.dev/linter/rules/use-iframe-sandbox/">useIframeSandbox</a> now flags if there's no initializer value.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9865">#9865</a> <a href="https://github.com/biomejs/biome/commit/68fb8d468c01732c4283a336eca42223983df09b"><code>68fb8d4</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Added the new nursery rule <a href="https://biomejs.dev/linter/rules/use-dom-node-text-content/"><code>useDomNodeTextContent</code></a>, which prefers <code>textContent</code> over <code>innerText</code> for DOM node text access and destructuring.</p> <p>For example, the following snippet triggers the rule:</p> <pre lang="js"><code>const foo = node.innerText; </code></pre> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/10023">#10023</a> <a href="https://github.com/biomejs/biome/commit/bd1e74fd80b0cadafd091513950275e0ff75d80f"><code>bd1e74f</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added a new nursery rule <a href="https://biomejs.dev/linter/rules/no-react-native-deep-imports/"><code>noReactNativeDeepImports</code></a> that disallows deep imports from the <code>react-native</code> package. Internal paths like <code>react-native/Libraries/...</code> are not part of the public API and may change between versions.</p> <p>For example, the following code triggers the rule:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/biomejs/biome/commit/e31615035808fc71d47c3a8ebf1235005d999f78"><code>e316150</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9991">#9991</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/11ddc05713a1cb85b6748c865ee9dda91235a5d1"><code>11ddc05</code></a> feat(lint): add useReactNativePlatformComponents rule and options (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10033">#10033</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/1603f7893c9e249439fc3c22c02ec1a363cc54b9"><code>1603f78</code></a> feat(js_analyze): implement noJsxLeakedDollar (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9911">#9911</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/c5eb92ba288ba13698b37e43617eed5339ad7007"><code>c5eb92b</code></a> feat(linter): add nursery rule noUnnecessaryTemplateExpression (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9969">#9969</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/5cc83b177830bc21dc4d6e18343f58eca4ee0de6"><code>5cc83b1</code></a> feat(lint/js): add <code>noLoopFunc</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9815">#9815</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/bd1e74fd80b0cadafd091513950275e0ff75d80f"><code>bd1e74f</code></a> feat(lint): add react native deep import rule (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10023">#10023</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/68fb8d468c01732c4283a336eca42223983df09b"><code>68fb8d4</code></a> feat(lint/js): add <code>useDomNodeTextContent</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9865">#9865</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/94ccca96800e73732b3f26d7eb21a5e3e025e51e"><code>94ccca9</code></a> feat(lint): add <code>noReactNativeLiteralColors</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10012">#10012</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/3dce737e5050cfda7d2b9be8f809aee417f01196"><code>3dce737</code></a> feat(lint/js): add <code>useDomQuerySelector</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9885">#9885</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/131019e161b69fd755742ba509b1c51fcb2af183"><code>131019e</code></a> feat(lint): add <code>noReactNativeRawText</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10005">#10005</a>)</li> <li>Additional commits viewable in <a href="https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.13/packages/@biomejs/biome">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@biomejs/biome&package-manager=bun&previous-version=2.4.12&new-version=2.4.13)](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 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 792923e commit 92bdc1e

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.13/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

bun.lock

Lines changed: 10 additions & 10 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
@@ -31,7 +31,7 @@
3131
"nuke": "bun run clean && bun install && bun check"
3232
},
3333
"devDependencies": {
34-
"@biomejs/biome": "2.4.12",
34+
"@biomejs/biome": "2.4.13",
3535
"@changesets/changelog-github": "0.6.0",
3636
"@changesets/cli": "2.31.0",
3737
"@changesets/release-utils": "0.2.7",

0 commit comments

Comments
 (0)