chore(deps-dev): bump @biomejs/biome from 2.2.3 to 2.2.4
Type: Pull Request
State: Open
Association: Contributor
Comments: 1
(3 months ago)
(3 months ago)
dependencies size/XS javascript
Bumps @biomejs/biome from 2.2.3 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
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
0
0
+0
-0
Package Dependencies
Technical Details
| ID: | 7391818 |
| UUID: | 3402493179 |
| Node ID: | PR_kwDOEjWUk86n0anh |
| Host: | GitHub |
| Repository: | aws-powertools/powertools-lambda-typescript |