build(deps-dev): bump @biomejs/biome from 2.4.15 to 2.4.16 (#977)
Bumps
[@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)
from 2.4.15 to 2.4.16.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/biomejs/biome/releases">@biomejs/biome's
releases</a>.</em></p>
<blockquote>
<h2>Biome CLI v2.4.16</h2>
<h2>2.4.16</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10329">#10329</a>
<a
href="https://github.com/biomejs/biome/commit/ef764d51b9f5be18ec5a4f9b4dce732512e5d805"><code>ef764d5</code></a>
Thanks <a
href="https://github.com/Conaclos"><code>@Conaclos</code></a>! - Fixed
an issue where diagnostics showed an incorrect location in Astro
files.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10363">#10363</a>
<a
href="https://github.com/biomejs/biome/commit/50aa4157599a1ac5c77c13bce81f5c87240beff0"><code>50aa415</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed HTML formatting for a case where comments could cause the
formatter to split up a closing tag, which would cause the resulting
HTML to be syntactically invalid.</p>
<p>Input:</p>
<pre lang="html"><code><span
><!-- 1
--><span>a</span
><!-- 2
--><span>b</span
><!-- 3
--></span>
</code></pre>
<p>Output:</p>
<pre lang="diff"><code> <span
><!-- 1
- --> <span>a</span<!-- 2
- --> ><span>b</span><!-- 3
+ --><span>a</span><!-- 2
+ --><span>b</span><!-- 3
--></span
>
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10465">#10465</a>
<a
href="https://github.com/biomejs/biome/commit/0c718da81770f47d65845bc1a006f99512d9359b"><code>0c718da</code></a>
Thanks <a
href="https://github.com/dfedoryshchev"><code>@dfedoryshchev</code></a>!
- Fixed diagnostics emitted by the <code>noUntrustedLicenses</code>
rule.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10358">#10358</a>
<a
href="https://github.com/biomejs/biome/commit/05c26176573534a0abfa92d454d244f9569bc77d"><code>05c2617</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10356">#10356</a>:
<code>biome rage --linter</code> now displays rules enabled through
linter domains in the enabled rules list.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10300">#10300</a>
<a
href="https://github.com/biomejs/biome/commit/950247c389e693c16b47d61d8ef0f1b85d1a1b02"><code>950247c</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10265">#10265</a>:
Svelte function bindings such as <code>bind:value={get, set}</code> are
now parsed more precisely, so <a
href="https://biomejs.dev/linter/rules/no-comma-operator/"><code>noCommaOperator</code></a>
won't emit false positives for that syntax anymore.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/9786">#9786</a> <a
href="https://github.com/biomejs/biome/commit/e71f58490f3121432d1bc24ae5330ecf96391a40"><code>e71f584</code></a>
Thanks <a
href="https://github.com/MeGaNeKoS"><code>@MeGaNeKoS</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/8480">#8480</a>:
<a
href="https://biomejs.dev/linter/rules/use-destructuring/"><code>useDestructuring</code></a>
now provides <code>variableDeclarator</code> and
<code>assignmentExpression</code> options to control which contexts
enforce destructuring, matching ESLint's
<code>prefer-destructuring</code> configuration. Both default to
<code>{array: true, object: true}</code>. The diagnostic for object
destructuring in assignment expressions now instructs users to wrap the
assignment in parentheses.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10425">#10425</a>
<a
href="https://github.com/biomejs/biome/commit/1948b7242e092ed0cfcf501ef6f119202b8ea93b"><code>1948b72</code></a>
Thanks <a href="https://github.com/sjh9714"><code>@sjh9714</code></a>!
- Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10244">#10244</a>:
The <code>useOptionalChain</code> rule now detects negated guard
inequality chains like <code>!foo || foo.bar !==
"x"</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10442">#10442</a>
<a
href="https://github.com/biomejs/biome/commit/001f94f696d9baca3c231d39895a01d4dd528d52"><code>001f94f</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10411">#10411</a>:
<a
href="https://biomejs.dev/linter/rules/no-misused-promises/"><code>noMisusedPromises</code></a>
no longer causes a stack overflow when a nested function returns an
object with shorthand properties that shadow destructured variables from
an outer scope.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10318">#10318</a>
<a
href="https://github.com/biomejs/biome/commit/9b1577fa400279d9b0222cbc920cfa9ddcf1c9d6"><code>9b1577f</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Added support for <code>formatter.trailingCommas</code> in overrides.
This option was previously available in the top-level formatter
configuration but missing from formatter overrides.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10319">#10319</a>
<a
href="https://github.com/biomejs/biome/commit/2e3770923f9fb4e33606113e726014f7b63730d0"><code>2e37709</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed Vue and Svelte formatting for standalone interpolations in inline
elements. Biome now preserves existing newlines in cases like:</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">@biomejs/biome's
changelog</a>.</em></p>
<blockquote>
<h2>2.4.16</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10329">#10329</a>
<a
href="https://github.com/biomejs/biome/commit/ef764d51b9f5be18ec5a4f9b4dce732512e5d805"><code>ef764d5</code></a>
Thanks <a
href="https://github.com/Conaclos"><code>@Conaclos</code></a>! - Fixed
an issue where diagnostics showed an incorrect location in Astro
files.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10363">#10363</a>
<a
href="https://github.com/biomejs/biome/commit/50aa4157599a1ac5c77c13bce81f5c87240beff0"><code>50aa415</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed HTML formatting for a case where comments could cause the
formatter to split up a closing tag, which would cause the resulting
HTML to be syntactically invalid.</p>
<p>Input:</p>
<pre lang="html"><code><span
><!-- 1
--><span>a</span
><!-- 2
--><span>b</span
><!-- 3
--></span>
</code></pre>
<p>Output:</p>
<pre lang="diff"><code> <span
><!-- 1
- --> <span>a</span<!-- 2
- --> ><span>b</span><!-- 3
+ --><span>a</span><!-- 2
+ --><span>b</span><!-- 3
--></span
>
</code></pre>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10465">#10465</a>
<a
href="https://github.com/biomejs/biome/commit/0c718da81770f47d65845bc1a006f99512d9359b"><code>0c718da</code></a>
Thanks <a
href="https://github.com/dfedoryshchev"><code>@dfedoryshchev</code></a>!
- Fixed diagnostics emitted by the <code>noUntrustedLicenses</code>
rule.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10358">#10358</a>
<a
href="https://github.com/biomejs/biome/commit/05c26176573534a0abfa92d454d244f9569bc77d"><code>05c2617</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10356">#10356</a>:
<code>biome rage --linter</code> now displays rules enabled through
linter domains in the enabled rules list.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10300">#10300</a>
<a
href="https://github.com/biomejs/biome/commit/950247c389e693c16b47d61d8ef0f1b85d1a1b02"><code>950247c</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10265">#10265</a>:
Svelte function bindings such as <code>bind:value={get, set}</code> are
now parsed more precisely, so <a
href="https://biomejs.dev/linter/rules/no-comma-operator/"><code>noCommaOperator</code></a>
won't emit false positives for that syntax anymore.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/9786">#9786</a> <a
href="https://github.com/biomejs/biome/commit/e71f58490f3121432d1bc24ae5330ecf96391a40"><code>e71f584</code></a>
Thanks <a
href="https://github.com/MeGaNeKoS"><code>@MeGaNeKoS</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/8480">#8480</a>:
<a
href="https://biomejs.dev/linter/rules/use-destructuring/"><code>useDestructuring</code></a>
now provides <code>variableDeclarator</code> and
<code>assignmentExpression</code> options to control which contexts
enforce destructuring, matching ESLint's
<code>prefer-destructuring</code> configuration. Both default to
<code>{array: true, object: true}</code>. The diagnostic for object
destructuring in assignment expressions now instructs users to wrap the
assignment in parentheses.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10425">#10425</a>
<a
href="https://github.com/biomejs/biome/commit/1948b7242e092ed0cfcf501ef6f119202b8ea93b"><code>1948b72</code></a>
Thanks <a href="https://github.com/sjh9714"><code>@sjh9714</code></a>!
- Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10244">#10244</a>:
The <code>useOptionalChain</code> rule now detects negated guard
inequality chains like <code>!foo || foo.bar !==
"x"</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10442">#10442</a>
<a
href="https://github.com/biomejs/biome/commit/001f94f696d9baca3c231d39895a01d4dd528d52"><code>001f94f</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
Fixed <a
href="https://redirect.github.com/biomejs/biome/issues/10411">#10411</a>:
<a
href="https://biomejs.dev/linter/rules/no-misused-promises/"><code>noMisusedPromises</code></a>
no longer causes a stack overflow when a nested function returns an
object with shorthand properties that shadow destructured variables from
an outer scope.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10318">#10318</a>
<a
href="https://github.com/biomejs/biome/commit/9b1577fa400279d9b0222cbc920cfa9ddcf1c9d6"><code>9b1577f</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Added support for <code>formatter.trailingCommas</code> in overrides.
This option was previously available in the top-level formatter
configuration but missing from formatter overrides.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/biomejs/biome/pull/10319">#10319</a>
<a
href="https://github.com/biomejs/biome/commit/2e3770923f9fb4e33606113e726014f7b63730d0"><code>2e37709</code></a>
Thanks <a href="https://github.com/dyc3"><code>@dyc3</code></a>! -
Fixed Vue and Svelte formatting for standalone interpolations in inline
elements. Biome now preserves existing newlines in cases like:</p>
<pre lang="diff"><code></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/5f4ea56b1dfb00d839af218e3c6484154073a7eb"><code>5f4ea56</code></a>
ci: release (<a
href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10326">#10326</a>)</li>
<li><a
href="https://github.com/biomejs/biome/commit/de2a33ce8be86b696742f3adee35a66dc9fa943b"><code>de2a33c</code></a>
fix(core): regression in emitted types (<a
href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10478">#10478</a>)</li>
<li><a
href="https://github.com/biomejs/biome/commit/d835303700f27f8f362a186a0dddc7995117daf9"><code>d835303</code></a>
docs: remove redundant default phrase in
<code>useConsistentObjectDefinitions</code> rul...</li>
<li><a
href="https://github.com/biomejs/biome/commit/4f1aaf2f833d5963dd150836836be6bc68212d68"><code>4f1aaf2</code></a>
fix: incorrect build when using build or test (<a
href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10426">#10426</a>)</li>
<li><a
href="https://github.com/biomejs/biome/commit/dc73b6baa55606ec7b6aa9229564b1c142116f2b"><code>dc73b6b</code></a>
refactor: make plugins opt-in via feature gate (<a
href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10418">#10418</a>)</li>
<li><a
href="https://github.com/biomejs/biome/commit/e71f58490f3121432d1bc24ae5330ecf96391a40"><code>e71f584</code></a>
feat(useDestructuring): add options for assignment/declaration and
improve di...</li>
<li><a
href="https://github.com/biomejs/biome/commit/9b1577fa400279d9b0222cbc920cfa9ddcf1c9d6"><code>9b1577f</code></a>
fix(config): support trailingCommas in overrides (<a
href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/10318">#10318</a>)</li>
<li>See full diff in <a
href="https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.16/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>