Commit 92bdc1e
authored
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 = `${"hello"}`; // can be 'hello'
const b = `${"prefix"}_suffix`; // can be 'prefix_suffix'
const c = `${"a"}${"b"}`; // 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() > 0.5) return "loading";
return "idle";
}
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>&</code>, <code>!</code>, <code>#</code>,
<code>%</code>, <code>,</code>, <code>:</code>, <code>;</code>,
<code><</code>, <code>=</code>, <code>></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\&]/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 = `${"hello"}`; // can be 'hello'
const b = `${"prefix"}_suffix`; // can be 'prefix_suffix'
const c = `${"a"}${"b"}`; // 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() > 0.5) return "loading";
return "idle";
}
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>&</code>, <code>!</code>, <code>#</code>,
<code>%</code>, <code>,</code>, <code>:</code>, <code>;</code>,
<code><</code>, <code>=</code>, <code>></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\&]/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 />
[](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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments