Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2025

Bumps @biomejs/biome from 1.7.0 to 2.2.2.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.2.2

2.2.2

Patch Changes

  • #7266 b270bb5 Thanks @​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 6436180 Thanks @​ematipico! - Fixed an issue where the function scanProject wouldn't work as expected.

  • #7285 1511d0c Thanks @​rriski! - Partially fixed #6782: JSX node kinds are now supported in GritQL AST nodes.

  • #7249 dff85c0 Thanks @​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 b270bb5 Thanks @​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 679b70e Thanks @​patrickshipe! - Resolved an overcorrection in useImportExtensions when importing explicit index files.

    Imports that explicitly reference an index file are now preserved and no longer rewritten to nested index paths.

    Example

    // Before
    -      import "./sub/index";
    +      import "./sub/index/index.js";
    // After
    
    
     import "./sub/index";
    
    
    
    
    
     import "./sub/index.js";
    
    
    

  • #7270 953f9c6 Thanks @​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 b7aa111 Thanks @​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 0b07f45 Thanks @​ematipico! - Fixed #7236. Now Biome correctly migrates JSONC configuration files when they are passed using --config-path.

  • #7239 1d643d8 Thanks @​minht11! - Fixed an issue where Svelte globals ($state and so on) were not properly recognized inside .svelte.test.ts/js and .svelte.spec.ts/js files.

  • #7264 62fdbc8 Thanks @​ematipico! - Fixed a regression where when using --log-kind-pretty wasn't working anymore as expected.

  • #7244 660031b Thanks @​JeetuSuthar! - Fixed #7225: The noExtraBooleanCast rule now preserves parentheses when removing Boolean calls inside negations.

    // Before
    !Boolean(b0 && b1);
    // After
    !(b0 && b1); // instead of !b0 && b1

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.2.2

Patch Changes

  • #7266 b270bb5 Thanks @​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 6436180 Thanks @​ematipico! - Fixed an issue where the function scanProject wouldn't work as expected.

  • #7285 1511d0c Thanks @​rriski! - Partially fixed #6782: JSX node kinds are now supported in GritQL AST nodes.

  • #7249 dff85c0 Thanks @​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 b270bb5 Thanks @​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 679b70e Thanks @​patrickshipe! - Resolved an overcorrection in useImportExtensions when importing explicit index files.

    Imports that explicitly reference an index file are now preserved and no longer rewritten to nested index paths.

    Example

    // Before
    -      import "./sub/index";
    +      import "./sub/index/index.js";
    // After
    
    
     import "./sub/index";
    
    
    
    
    
     import "./sub/index.js";
    
    
    

  • #7270 953f9c6 Thanks @​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 b7aa111 Thanks @​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 0b07f45 Thanks @​ematipico! - Fixed #7236. Now Biome correctly migrates JSONC configuration files when they are passed using --config-path.

  • #7239 1d643d8 Thanks @​minht11! - Fixed an issue where Svelte globals ($state and so on) were not properly recognized inside .svelte.test.ts/js and .svelte.spec.ts/js files.

  • #7264 62fdbc8 Thanks @​ematipico! - Fixed a regression where when using --log-kind-pretty wasn't working anymore as expected.

  • #7244 660031b Thanks @​JeetuSuthar! - Fixed #7225: The noExtraBooleanCast rule now preserves parentheses when removing Boolean calls inside negations.

    // Before
    !Boolean(b0 && b1);
    // After
    !(b0 && b1); // instead of !b0 && b1

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.7.0 to 2.2.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/[email protected]/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 26, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 26, 2025 13:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants