⬆ Bump @biomejs/biome from 1.9.4 to 2.2.4 in /frontend
Type: Pull Request
State: Closed
Association: Contributor
Comments: 1
(9 months ago)
(8 months ago)
(8 months ago)
dependencies javascript
Bumps @biomejs/biome from 1.9.4 to 2.2.4.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.2.4
2.2.4
Patch Changes
#7453
aa8cea3Thanks@arendjr! - Fixed #7242: Aliases specified inpackage.json'simportssection now support having multiple targets as part of an array.#7454
ac17183Thanks@arendjr! - Greatly improved performance ofnoImportCyclesby eliminating allocations.In one repository, the total runtime of Biome with only
noImportCyclesenabled went from ~23s down to ~4s.#7447
7139aadThanks@rriski! - Fixes #7446. The GritQL$...spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.#6710
98cf9afThanks@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.iAmAPromiseis equivalent tobag["iAmAPromise"], this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise;
351bccdThanks@ematipico! - Fixed #7212, now theuseOptionalChainrule recognizes optional chaining usingtypeof(e.g.,typeof foo !== 'undefined' && foo.bar).
351bccdThanks@ematipico! - Fixed #7323.noUnusedPrivateClassMembersno longer reports as unused TypeScriptprivatemembers if the rule encounters a computed access onthis.In the following example,
memberas previously reported as unused. It is no longer reported.class TsBioo { private member: number;set_with_name(name: string, value: number) { this[name] = value; } }
351bccdThanks@ematipico! - Added the new nursery lint rulenoJsxLiterals, which disallows the use of string literals inside JSX.
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
2.2.4
Patch Changes
#7453
aa8cea3Thanks@arendjr! - Fixed #7242: Aliases specified inpackage.json'simportssection now support having multiple targets as part of an array.#7454
ac17183Thanks@arendjr! - Greatly improved performance ofnoImportCyclesby eliminating allocations.In one repository, the total runtime of Biome with only
noImportCyclesenabled went from ~23s down to ~4s.#7447
7139aadThanks@rriski! - Fixes #7446. The GritQL$...spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.#6710
98cf9afThanks@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.iAmAPromiseis equivalent tobag["iAmAPromise"], this is // considered an access to the string index, and a Promise is expected. bag.iAmAPromise;
351bccdThanks@ematipico! - Fixed #7212, now theuseOptionalChainrule recognizes optional chaining usingtypeof(e.g.,typeof foo !== 'undefined' && foo.bar).
351bccdThanks@ematipico! - Fixed #7323.noUnusedPrivateClassMembersno longer reports as unused TypeScriptprivatemembers if the rule encounters a computed access onthis.In the following example,
memberas previously reported as unused. It is no longer reported.class TsBioo { private member: number;set_with_name(name: string, value: number) { this[name] = value; } }
351bccdThanks@ematipico! - Added the new nursery lint rulenoJsxLiterals, which disallows the use of string literals inside JSX.The rule catches these cases:
... (truncated)
Commits
5d212c5ci: release (#7450)351bccdchore: restore release files32dbfa1ci: release (#7413)75b6a0dfeat(linter): add rulenoJsxLiterals(#7248)53ff5aefeat(analyse/json): addnoDuplicateDependenciesrule (#7142)daa4a66ci: release (#7306)0f38ea6chore: add new bronze sponsor (#7397)7f53274docs: safety of useSortedKeys (#6112)fad34b9feat(biome_js_analyze): add UseConsistentArrowReturn rule (#7245)4416573feat(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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
+72
-82
Package Dependencies
@biomejs/biome
npm
1.9.4 → 2.2.4
Major
/frontend
Technical Details
| ID: | 7530368 |
| UUID: | 2817545047 |
| Node ID: | PR_kwDOPBHwvM6n8FNX |
| Host: | GitHub |
| Repository: | angel-dev71/fullstack-fastapi-react |
| Mergeable: | Yes |
| Merge State: | Unstable |