Packages

@biomejs/biome

2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.2.4

10 Sep 2025Where it was published

2.6.9 is the newest release of 2.x.

In short

4 fixed6 internal

Release note

Patch Changes


  • aa8cea3
    Thanks @arendjr! - Fixed #7242: Aliases specified in
    package.json's imports section now support having multiple targets as part of an array.


  • ac17183
    Thanks @arendjr! - Greatly improved performance of
    noImportCycles by eliminating allocations.

    In one repository, the total runtime of Biome with only noImportCycles enabled went from ~23s down to ~4s.


  • 7139aad
    Thanks @rriski! - Fixes #7446. The GritQL
    $... spread metavariable now correctly matches members in object literals, aligning its behavior with arrays and function calls.


  • 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 to `bag["iAmAPromise"]`, this is
// considered an access to the string index, and a Promise is expected.
bag.iAmAPromise;

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.