-
Notifications
You must be signed in to change notification settings - Fork 59
chore(deps): update dependency @biomejs/biome to v2.2.4 #537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50e20f9 to
0aa5886
Compare
e2a6743 to
13c49de
Compare
13c49de to
43675e3
Compare
43675e3 to
579fdb1
Compare
26e225f to
6ac7b2b
Compare
d373201 to
4d7d1bb
Compare
db46a8b to
4d7d1bb
Compare
4d7d1bb to
4f3a77d
Compare
5b639fe to
6c06191
Compare
8ad254d to
87e2b6b
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
87e2b6b to
f8a73ea
Compare
f8a73ea to
d2b890c
Compare
d2b890c to
0cc367b
Compare
vcapretz
approved these changes
Sep 30, 2025
gabrielmfern
pushed a commit
that referenced
this pull request
Oct 1, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Cisneiros
pushed a commit
that referenced
this pull request
Oct 14, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
gabrielmfern
pushed a commit
that referenced
this pull request
Oct 16, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
gabrielmfern
pushed a commit
that referenced
this pull request
Oct 17, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
lucasfcosta
pushed a commit
that referenced
this pull request
Oct 17, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
gabrielmfern
pushed a commit
that referenced
this pull request
Oct 21, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
gabrielmfern
pushed a commit
that referenced
this pull request
Oct 21, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
lucasfcosta
pushed a commit
that referenced
this pull request
Oct 27, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
2.2.0->2.2.4Release Notes
biomejs/biome (@biomejs/biome)
v2.2.4Compare Source
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 recognisesindex signatures and their accesses when they are being indexed as a string.
Example
#7415
d042f18Thanks @qraqras! - Fixed #7212, now theuseOptionalChainrule recognizes optional chaining usingtypeof(e.g.,typeof foo !== 'undefined' && foo.bar).#7419
576baf4Thanks @Conaclos! - 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.351bccdThanks @ematipico! - Added the new nursery lint rulenoJsxLiterals, which disallows the use of string literals inside JSX.The rule catches these cases:
#7406
b906112Thanks @mdevils! - Fixed an issue (#6393) where the useHookAtTopLevel rule reported excessive diagnostics for nested hook calls.The rule now reports only the offending top-level call site, not sub-hooks of composite hooks.
#7461
ea585a9Thanks @arendjr! - Improved performance ofnoPrivateImportsby eliminating allocations.In one repository, the total runtime of Biome with only
noPrivateImportsenabled went from ~3.2s down to ~1.4s.351bccdThanks @ematipico! - Fixed #7411. The Biome Language Server had a regression where opening an editor with a file already open wouldn't load the project settings correctly.#7142
53ff5aeThanks @Netail! - Added the new nursery rulenoDuplicateDependencies, which verifies that no dependencies are duplicated between thebundledDependencies,bundleDependencies,dependencies,devDependencies,overrides,optionalDependencies, andpeerDependenciessections.For example, the following snippets will trigger the rule:
{ "dependencies": { "foo": "" }, "devDependencies": { "foo": "" } }{ "dependencies": { "foo": "" }, "optionalDependencies": { "foo": "" } }{ "dependencies": { "foo": "" }, "peerDependencies": { "foo": "" } }351bccdThanks @ematipico! - Fixed #3824. Now the option CLI--coloris correctly applied to logging too.v2.2.3Compare Source
Patch Changes
#7353
4d2b719Thanks @JeetuSuthar! - Fixed #7340: The linter now allows thenavigationproperty for view-transition in CSS.Previously, the linter incorrectly flagged
navigation: autoas an unknown property. This fix addsnavigationto the list of known CSS properties, following the CSS View Transitions spec.#7275
560de1bThanks @arendjr! - Fixed #7268: Files that are explicitly passed as CLI arguments are now correctly ignored if they reside in an ignored folder.#7358
963a246Thanks @ematipico! - Fixed #7085, now the rulenoDescendingSpecificitycorrectly calculates the specificity of selectors when they are included inside a media query.#7387
923674dThanks @qraqras! - Fixed #7381, now theuseOptionalChainrule recognizes optional chaining using Yoda expressions (e.g.,undefined !== foo && foo.bar).#7316
f9636d5Thanks @Conaclos! - Fixed #7289. The ruleuseImportTypenow inlinesimport typeintoimport { type }when thestyleoption is set toinlineType.Example:
#7350
bb4d407Thanks @siketyan! - Fixed #7261: two characters・(KATAKANA MIDDLE DOT, U+30FB) and・(HALFWIDTH KATAKANA MIDDLE DOT, U+FF65) are no longer considered as valid characters in identifiers. Property keys containing these character(s) are now preserved as string literals.#7377
811f47bThanks @ematipico! - Fixed a bug where the Biome Language Server didn't correctly compute the diagnostics of a monorepo setting, caused by an incorrect handling of the project status.#7245
fad34b9Thanks @kedevked! - Added the new lint ruleuseConsistentArrowReturn.This rule enforces a consistent return style for arrow functions.
Invalid
This rule is a port of ESLint's arrow-body-style rule.
#7370
e8032ddThanks @fireairforce! - Support dynamicimport deferandimport source. The syntax looks like:#7369
b1f8cbdThanks @siketyan! - Range suppressions are now supported for Grit plugins.For JavaScript, you can suppress a plugin as follows:
For CSS, you can suppress a plugin as follows:
#7384
099507eThanks @ematipico! - Reduced the severity of certain diagnostics emitted when Biome deserializes the configuration files.Now these diagnostics are emitted as
Informationseverity, which means that they won't interfere when running commands with--error-on-warnings#7302
2af2380Thanks @unvalley! - Fixed #7301:useReadonlyClassPropertiesnow correctly skips JavaScript files.#7288
94d85f8Thanks @ThiefMaster! - Fixed #7286. Files are now formatted with JSX behavior whenjavascript.parser.jsxEverywhereis explicitly set.Previously, this flag was only used for parsing, but not for formatting, which resulted in incorrect formatting of conditional expressions when JSX syntax is used in
.jsfiles.#7311
62154b9Thanks @qraqras! - Added the new nursery rulenoUselessCatchBinding. This rule disallows unnecessary catch bindings.try { // Do something - } catch (unused) {} + } catch {}#7349
45c1dfeThanks @ematipico! - Fixed #4298. Biome now correctly formats CSS declarations when it contains one single value:.bar { - --123456789012345678901234567890: var(--1234567890123456789012345678901234567); + --123456789012345678901234567890: var( + --1234567890123456789012345678901234567 + ); }#7295
7638e84Thanks @ematipico! - Fixed #7130. Removed the emission of a false-positive diagnostic. Biome no longer emits the following diagnostic:#7377
811f47bThanks @ematipico! - Fixed #7371 where the Biome Language Server didn't correctly recompute the diagnostics when updating a nested configuration file.#7348
ac27fc5Thanks @ematipico! - Fixed #7079. Now the ruleuseSemanticElementsdoesn't trigger components and custom elements.#7389
ab06a7eThanks @Conaclos! - Fixed #7344.useNamingConventionno longer reports interfaces defined in global declarations.Interfaces declared in global declarations augment existing interfaces.
Thus, they must be ignored.
In the following example,
useNamingConventionreportedHTMLElement.It is now ignored.
#7315
4a2bd2fThanks @vladimir-ivanov! - Fixed #7310:useReadonlyClassPropertiescorrectly handles nested assignments, avoiding false positives when a class property is assigned within another assignment expression.Example of code that previously triggered a false positive but is now correctly ignored:
v2.2.2Compare Source
Patch Changes
#7266
b270bb5Thanks @ematipico! - Fixed an issue where Biome got stuck when analyzing some files. This is usually caused by a bug in the inference engine. Now Biome has some guards in place in case the number of types grows too much, and if that happens, a diagnostic is emitted and the inference is halted.#7281
6436180Thanks @ematipico! - Fixed an issue where the functionscanProjectwouldn't work as expected.#7285
1511d0cThanks @rriski! - Partially fixed #6782: JSX node kinds are now supported in GritQL AST nodes.#7249
dff85c0Thanks @ematipico! - Fixed #748, where Biome Language Server didn't show the unsafe fixes when requesting the quick fixes. Now all LSP editors will show also opt-in, unsafe fixes.#7266
b270bb5Thanks @ematipico! - Fixed #7020: Resolved an issue with analysing types of static member expressions involving unions. If the object type was a union that referenced nested unions, it would trigger an infinite loop as it tried to keep expanding nested unions, and the set of types would grow indefinitely.#7209
679b70eThanks @patrickshipe! - Resolved an overcorrection inuseImportExtensionswhen importing explicit index files.Imports that explicitly reference an index file are now preserved and no longer rewritten to nested index paths.
Example
#7270
953f9c6Thanks @arendjr! - Fixed #6172: Resolved an issue with inferring types for rest parameters. This issue caused rest-parameter types to be incorrect, and in some cases caused extreme performance regressions in files that contained many methods with rest-parameter definitions.#7234
b7aa111Thanks @JeetuSuthar! - Fixed #7233: The useIndexOf rule now correctly suggests using indexOf() instead of findIndex().The diagnostic message was incorrectly recommending Array#findIndex() over Array#indexOf(), when it should recommend the opposite for simple equality checks.
#7283
0b07f45Thanks @ematipico! - Fixed #7236. Now Biome correctly migrates JSONC configuration files when they are passed using--config-path.#7239
1d643d8Thanks @minht11! - Fixed an issue where Svelte globals ($state and so on) were not properly recognized inside.svelte.test.ts/jsand.svelte.spec.ts/jsfiles.#7264
62fdbc8Thanks @ematipico! - Fixed a regression where when using--log-kind-prettywasn't working anymore as expected.#7244
660031bThanks @JeetuSuthar! - Fixed #7225: ThenoExtraBooleanCastrule now preserves parentheses when removingBooleancalls inside negations.#7298
46a8e93Thanks @unvalley! - Fixed #6695:useNamingConventionnow correctly reports TypeScript parameter properties with modifiers.Previously, constructor parameter properties with modifiers like
privateorreadonlywere not checked against naming conventions. These properties are now treated consistently with regular class properties.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.