- Notifications
You must be signed in to change notification settings - Fork1k
Commit4e53d8b
authored
chore: bump @biomejs/biome from 2.2.0 to 2.2.4 in /site (#20118)
Bumps[@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)from 2.2.0 to 2.2.4.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/biomejs/biome/releases"><code>@biomejs/biome</code>'sreleases</a>.</em></p><blockquote><h2>Biome CLI v2.2.4</h2><h2>2.2.4</h2><h3>Patch Changes</h3><ul><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7453">#7453</a> <ahref="biomejs/biome@aa8cea3"><code>aa8cea3</code></a> Thanks <ahref="https://github.com/arendjr"><code>@arendjr</code></a>! - Fixed <ahref="https://redirect.github.com/biomejs/biome/issues/7242">#7242</a>:Aliases specified in<code>package.json</code>'s <code>imports</code> section now supporthaving multiple targets as part of an array.</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7454">#7454</a> <ahref="biomejs/biome@ac17183"><code>ac17183</code></a> Thanks <ahref="https://github.com/arendjr"><code>@arendjr</code></a>! - Greatlyimproved 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><ahref="https://redirect.github.com/biomejs/biome/pull/7447">#7447</a> <ahref="biomejs/biome@7139aad"><code>7139aad</code></a> Thanks <ahref="https://github.com/rriski"><code>@rriski</code></a>! - Fixes <ahref="https://redirect.github.com/biomejs/biome/issues/7446">#7446</a>.The GritQL<code>$...</code> spread metavariable now correctly matches members inobject literals, aligning its behavior with arrays and functioncalls.</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/6710">#6710</a> <ahref="biomejs/biome@98cf9af"><code>98cf9af</code></a> Thanks <ahref="https://github.com/arendjr"><code>@arendjr</code></a>! - Fixed <ahref="https://redirect.github.com/biomejs/biome/issues/7423">#4723</a>:Type inference now recognises<em>index signatures</em> and their accesses when they are being indexedas a string.</p><h4>Example</h4><pre lang="ts"><code>type BagOfPromises = {// This is an index signature definition. It declares that instances oftype // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise<void>;};<p>let bag: BagOfPromises = {};// Because <code>bag.iAmAPromise</code> is equivalent to<code>bag[&quot;iAmAPromise&quot;]</code>, this is// considered an access to the string index, and a Promise is expected.bag.iAmAPromise;</code></pre></p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7415">#7415</a> <ahref="biomejs/biome@d042f18"><code>d042f18</code></a> Thanks <ahref="https://github.com/qraqras"><code>@qraqras</code></a>! - Fixed <ahref="https://redirect.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 chainingusing<code>typeof</code> (e.g., <code>typeof foo !== 'undefined' &&foo.bar</code>).</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7419">#7419</a> <ahref="biomejs/biome@576baf4"><code>576baf4</code></a> Thanks <ahref="https://github.com/Conaclos"><code>@Conaclos</code></a>! - Fixed<ahref="https://redirect.github.com/biomejs/biome/issues/7323">#7323</a>.<ahref="https://biomejs.dev/linter/rules/no-unused-private-class-members/"><code>noUnusedPrivateClassMembers</code></a> no longer reports as unusedTypeScript<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 reportedas unused. It is no longer reported.</p></li></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md"><code>@biomejs/biome</code>'schangelog</a>.</em></p><blockquote><h2>2.2.4</h2><h3>Patch Changes</h3><ul><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7453">#7453</a> <ahref="https://github.com/biomejs/biome/commit/aa8cea31af675699e18988fe79242ae5d5215af1"><code>aa8cea3</code></a>Thanks <a href="https://github.com/arendjr"><code>@arendjr</code></a>!- Fixed <ahref="https://redirect.github.com/biomejs/biome/issues/7242">#7242</a>:Aliases specified in<code>package.json</code>'s <code>imports</code> section now supporthaving multiple targets as part of an array.</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7454">#7454</a> <ahref="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><ahref="https://redirect.github.com/biomejs/biome/pull/7447">#7447</a> <ahref="https://github.com/biomejs/biome/commit/7139aad75b6e8045be6eb09425fb82eb035fb704"><code>7139aad</code></a>Thanks <a href="https://github.com/rriski"><code>@rriski</code></a>! -Fixes <ahref="https://redirect.github.com/biomejs/biome/issues/7446">#7446</a>.The GritQL<code>$...</code> spread metavariable now correctly matches members inobject literals, aligning its behavior with arrays and functioncalls.</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/6710">#6710</a> <ahref="https://github.com/biomejs/biome/commit/98cf9af0a4e02434983899ce49d92209a6abab02"><code>98cf9af</code></a>Thanks <a href="https://github.com/arendjr"><code>@arendjr</code></a>!- Fixed <ahref="https://redirect.github.com/biomejs/biome/issues/7423">#4723</a>:Type inference now recognises<em>index signatures</em> and their accesses when they are being indexedas a string.</p><h4>Example</h4><pre lang="ts"><code>type BagOfPromises = {// This is an index signature definition. It declares that instances oftype // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise<void>;};<p>let bag: BagOfPromises = {};// Because <code>bag.iAmAPromise</code> is equivalent to<code>bag[&quot;iAmAPromise&quot;]</code>, this is// considered an access to the string index, and a Promise is expected.bag.iAmAPromise;</code></pre></p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7415">#7415</a> <ahref="https://github.com/biomejs/biome/commit/d042f18f556edfd4fecff562c8f197dbec81a5e7"><code>d042f18</code></a>Thanks <a href="https://github.com/qraqras"><code>@qraqras</code></a>!- Fixed <ahref="https://redirect.github.com/biomejs/biome/issues/7212">#7212</a>,now the <ahref="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' &&foo.bar</code>).</p></li><li><p><ahref="https://redirect.github.com/biomejs/biome/pull/7419">#7419</a> <ahref="https://github.com/biomejs/biome/commit/576baf4faf568e8b6a295f457f70894235ffdb59"><code>576baf4</code></a>Thanks <ahref="https://github.com/Conaclos"><code>@Conaclos</code></a>! - Fixed<ahref="https://redirect.github.com/biomejs/biome/issues/7323">#7323</a>.<ahref="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 reportedas 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></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/biomejs/biome/commit/5d212c5ab940ba83cc72d4aa9936ebbb1964ae7a"><code>5d212c5</code></a>ci: release (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7450">#7450</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/351bccdfe49a6173cb1446ef2a8a9171c8d78c26"><code>351bccd</code></a>chore: restore release files</li><li><ahref="https://github.com/biomejs/biome/commit/32dbfa156b3d097813ff96e53a65b4004adb3591"><code>32dbfa1</code></a>ci: release (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7413">#7413</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/75b6a0d12f3aa30647f743d607b0d60c0470fff3"><code>75b6a0d</code></a>feat(linter): add rule <code>noJsxLiterals</code> (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7248">#7248</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/53ff5ae34428f042bb5b80c19862c9cf69fc6359"><code>53ff5ae</code></a>feat(analyse/json): add <code>noDuplicateDependencies</code> rule (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7142">#7142</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/daa4a66e7971800a5e15024f5b5535d072087ac9"><code>daa4a66</code></a>ci: release (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7306">#7306</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/0f38ea689acf6c64b0e749d34da48a03a9708067"><code>0f38ea6</code></a>chore: add new bronze sponsor (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7397">#7397</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/7f532745900936039e77cc0b4254562ec9a7376d"><code>7f53274</code></a>docs: safety of useSortedKeys (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/6112">#6112</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/fad34b9db9778fe964ff7dbc489de0bfad2d3ece"><code>fad34b9</code></a>feat(biome_js_analyze): add UseConsistentArrowReturn rule (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7245">#7245</a>)</li><li><ahref="https://github.com/biomejs/biome/commit/4416573f4d709047a28407d99381810b7bc7dcc7"><code>4416573</code></a>feat(lint/vue): implement <code>useVueMultiWordComponentNames</code> (<ahref="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/7373">#7373</a>)</li><li>Additional commits viewable in <ahref="https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.4/packages/@biomejs/biome">compareview</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'talter 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 editsthat 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 afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR 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 parent230df3e commit4e53d8b
2 files changed
+41
-41
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)