chore: bump @biomejs/biome from 2.2.0 to 2.2.4 in /site
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
(16 days ago)
(16 days ago)
dependencies javascript
Bumps @biomejs/biome from 2.2.0 to 2.2.4.
Release notes
Sourced from @biomejs/biome
's releases.
Biome CLI v2.2.4
2.2.4
Patch Changes
#7453
aa8cea3
Thanks@arendjr
! - Fixed #7242: Aliases specified inpackage.json
'simports
section now support having multiple targets as part of an array.#7454
ac17183
Thanks@arendjr
! - Greatly improved performance ofnoImportCycles
by eliminating allocations.In one repository, the total runtime of Biome with only
noImportCycles
enabled went from ~23s down to ~4s.#7447
7139aad
Thanks@rriski
! - Fixes #7446. The GritQL$...
spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.#6710
98cf9af
Thanks@arendjr
! - Fixed #4723: Type inference now recognises index signatures and their accesses when they are being indexed as a string.Example
type BagOfPromises = { // This is an index signature definition. It declares that instances of type // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise<void>; };
let bag: BagOfPromises = {}; // Because
bag.iAmAPromise
is equivalent tobag["iAmAPromise"]
, this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise;#7415
d042f18
Thanks@qraqras
! - Fixed #7212, now theuseOptionalChain
rule recognizes optional chaining usingtypeof
(e.g.,typeof foo !== 'undefined' && foo.bar
).#7419
576baf4
Thanks@Conaclos
! - Fixed #7323.noUnusedPrivateClassMembers
no longer reports as unused TypeScriptprivate
members if the rule encounters a computed access onthis
.In the following example,
member
as previously reported as unused. It is no longer reported.
... (truncated)
Changelog
Sourced from @biomejs/biome
's changelog.
2.2.4
Patch Changes
#7453
aa8cea3
Thanks@arendjr
! - Fixed #7242: Aliases specified inpackage.json
'simports
section now support having multiple targets as part of an array.#7454
ac17183
Thanks@arendjr
! - Greatly improved performance ofnoImportCycles
by eliminating allocations.In one repository, the total runtime of Biome with only
noImportCycles
enabled went from ~23s down to ~4s.#7447
7139aad
Thanks@rriski
! - Fixes #7446. The GritQL$...
spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.#6710
98cf9af
Thanks@arendjr
! - Fixed #4723: Type inference now recognises index signatures and their accesses when they are being indexed as a string.Example
type BagOfPromises = { // This is an index signature definition. It declares that instances of type // `BagOfPromises` can be indexed using arbitrary strings. [property: string]: Promise<void>; };
let bag: BagOfPromises = {}; // Because
bag.iAmAPromise
is equivalent tobag["iAmAPromise"]
, this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise;#7415
d042f18
Thanks@qraqras
! - Fixed #7212, now theuseOptionalChain
rule recognizes optional chaining usingtypeof
(e.g.,typeof foo !== 'undefined' && foo.bar
).#7419
576baf4
Thanks@Conaclos
! - Fixed #7323.noUnusedPrivateClassMembers
no longer reports as unused TypeScriptprivate
members if the rule encounters a computed access onthis
.In the following example,
member
as previously reported as unused. It is no longer reported.class TsBioo { private member: number;
set_with_name(name: string, value: number) { this[name] = value; } }
... (truncated)
Commits
5d212c5
ci: release (#7450)351bccd
chore: restore release files32dbfa1
ci: release (#7413)75b6a0d
feat(linter): add rulenoJsxLiterals
(#7248)53ff5ae
feat(analyse/json): addnoDuplicateDependencies
rule (#7142)daa4a66
ci: release (#7306)0f38ea6
chore: add new bronze sponsor (#7397)7f53274
docs: safety of useSortedKeys (#6112)fad34b9
feat(biome_js_analyze): add UseConsistentArrowReturn rule (#7245)4416573
feat(lint/vue): implementuseVueMultiWordComponentNames
(#7373)- Additional commits viewable in compare view
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 commands and options
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)
Pull Request Statistics
1
2
+41
-41
Package Dependencies
Technical Details
ID: | 9103612 |
UUID: | 2879418366 |
Node ID: | PR_kwDOGkVX1s6roG_- |
Host: | GitHub |
Repository: | coder/coder |
Merge State: | Unknown |