Skip to content

Commit af66e10

Browse files
chore(deps-dev): bump @biomejs/biome from 2.2.3 to 2.2.4 (#8527)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.3 to 2.2.4. <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.2.4</h2> <h2>2.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/biomejs/biome/pull/7453">#7453</a> <a href="https://github.com/biomejs/biome/commit/aa8cea31af675699e18988fe79242ae5d5215af1"><code>aa8cea3</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7242">#7242</a>: Aliases specified in <code>package.json</code>'s <code>imports</code> section now support having multiple targets as part of an array.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/7454">#7454</a> <a href="https://github.com/biomejs/biome/commit/ac171839a31600225e3b759470eaa026746e9cf4"><code>ac17183</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Greatly improved performance of <code>noImportCycles</code> by eliminating allocations.</p> <p>In one repository, the total runtime of Biome with only <code>noImportCycles</code> enabled went from ~23s down to ~4s.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/7447">#7447</a> <a href="https://github.com/biomejs/biome/commit/7139aad75b6e8045be6eb09425fb82eb035fb704"><code>7139aad</code></a> Thanks <a href="https://github.com/rriski"><code>@​rriski</code></a>! - Fixes <a href="https://github.com/biomejs/biome/issues/7446">#7446</a>. The GritQL <code>$...</code> spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/6710">#6710</a> <a href="https://github.com/biomejs/biome/commit/98cf9af0a4e02434983899ce49d92209a6abab02"><code>98cf9af</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7423">#4723</a>: Type inference now recognises <em>index signatures</em> and their accesses when they are being indexed as a string.</p> <h4>Example</h4> <pre lang="ts"><code>type BagOfPromises = { // This is an index signature definition. It declares that instances of type // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise&lt;void&gt;; }; <p>let bag: BagOfPromises = {}; // Because <code>bag.iAmAPromise</code> is equivalent to <code>bag[&amp;quot;iAmAPromise&amp;quot;]</code>, this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise; </code></pre></p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7212">#7212</a>, now the <a href="https://biomejs.dev/linter/rules/use-optional-chain/"><code>useOptionalChain</code></a> rule recognizes optional chaining using <code>typeof</code> (e.g., <code>typeof foo !== 'undefined' &amp;&amp; foo.bar</code>).</p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7323">#7323</a>. <a href="https://biomejs.dev/linter/rules/no-unused-private-class-members/"><code>noUnusedPrivateClassMembers</code></a> no longer reports as unused TypeScript <code>private</code> members if the rule encounters a computed access on <code>this</code>.</p> <p>In the following example, <code>member</code> as previously reported as unused. It is no longer reported.</p> <pre lang="ts"><code>class TsBioo { private member: number; <p>set_with_name(name: string, value: number) { this[name] = value; } } </code></pre></p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added the new nursery lint rule <code>noJsxLiterals</code>, which disallows the use of string literals inside JSX.</p> </li> </ul> </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.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github.com/biomejs/biome/pull/7453">#7453</a> <a href="https://github.com/biomejs/biome/commit/aa8cea31af675699e18988fe79242ae5d5215af1"><code>aa8cea3</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7242">#7242</a>: Aliases specified in <code>package.json</code>'s <code>imports</code> section now support having multiple targets as part of an array.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/7454">#7454</a> <a href="https://github.com/biomejs/biome/commit/ac171839a31600225e3b759470eaa026746e9cf4"><code>ac17183</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Greatly improved performance of <code>noImportCycles</code> by eliminating allocations.</p> <p>In one repository, the total runtime of Biome with only <code>noImportCycles</code> enabled went from ~23s down to ~4s.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/7447">#7447</a> <a href="https://github.com/biomejs/biome/commit/7139aad75b6e8045be6eb09425fb82eb035fb704"><code>7139aad</code></a> Thanks <a href="https://github.com/rriski"><code>@​rriski</code></a>! - Fixes <a href="https://github.com/biomejs/biome/issues/7446">#7446</a>. The GritQL <code>$...</code> spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.</p> </li> <li> <p><a href="https://github.com/biomejs/biome/pull/6710">#6710</a> <a href="https://github.com/biomejs/biome/commit/98cf9af0a4e02434983899ce49d92209a6abab02"><code>98cf9af</code></a> Thanks <a href="https://github.com/arendjr"><code>@​arendjr</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7423">#4723</a>: Type inference now recognises <em>index signatures</em> and their accesses when they are being indexed as a string.</p> <h4>Example</h4> <pre lang="ts"><code>type BagOfPromises = { // This is an index signature definition. It declares that instances of type // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise&lt;void&gt;; }; <p>let bag: BagOfPromises = {}; // Because <code>bag.iAmAPromise</code> is equivalent to <code>bag[&amp;quot;iAmAPromise&amp;quot;]</code>, this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise; </code></pre></p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7212">#7212</a>, now the <a href="https://biomejs.dev/linter/rules/use-optional-chain/"><code>useOptionalChain</code></a> rule recognizes optional chaining using <code>typeof</code> (e.g., <code>typeof foo !== 'undefined' &amp;&amp; foo.bar</code>).</p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://github.com/biomejs/biome/issues/7323">#7323</a>. <a href="https://biomejs.dev/linter/rules/no-unused-private-class-members/"><code>noUnusedPrivateClassMembers</code></a> no longer reports as unused TypeScript <code>private</code> members if the rule encounters a computed access on <code>this</code>.</p> <p>In the following example, <code>member</code> as previously reported as unused. It is no longer reported.</p> <pre lang="ts"><code>class TsBioo { private member: number; <p>set_with_name(name: string, value: number) { this[name] = value; } } </code></pre></p> </li> <li> <p><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added the new nursery lint rule <code>noJsxLiterals</code>, which disallows the use of string literals inside JSX.</p> <p>The rule catches these cases:</p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/biomejs/biome/commit/5d212c5ab940ba83cc72d4aa9936ebbb1964ae7a"><code>5d212c5</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7450">#7450</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a> chore: restore release files</li> <li><a href="https://github.com/biomejs/biome/commit/32dbfa156b3d097813ff96e53a65b4004adb3591"><code>32dbfa1</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7413">#7413</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/75b6a0d12f3aa30647f743d607b0d60c0470fff3"><code>75b6a0d</code></a> feat(linter): add rule <code>noJsxLiterals</code> (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7248">#7248</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/53ff5ae34428f042bb5b80c19862c9cf69fc6359"><code>53ff5ae</code></a> feat(analyse/json): add <code>noDuplicateDependencies</code> rule (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7142">#7142</a>)</li> <li>See full diff in <a href="https://github.com/biomejs/biome/commits/@biomejs/[email protected]/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=npm_and_yarn&previous-version=2.2.3&new-version=2.2.4)](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>
1 parent 1110fcb commit af66e10

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

package-lock.json

Lines changed: 36 additions & 36 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
@@ -19,7 +19,7 @@
1919
"@astrojs/sitemap": "^3.6.0",
2020
"@astrojs/ts-plugin": "^1.10.4",
2121
"@babel/core": "^7.28.4",
22-
"@biomejs/biome": "^2.2.3",
22+
"@biomejs/biome": "^2.2.4",
2323
"@types/hast": "^3.0.4",
2424
"@types/html-escaper": "^3.0.4",
2525
"@types/js-yaml": "^4.0.9",

0 commit comments

Comments
 (0)