Skip to content

chore(deps): update dependency @biomejs/biome to v2.6.6 - #1160

Merged
gmsgowtham merged 1 commit into
mainfrom
renovate/biomejs-biome-2.x
Nov 10, 2026
Merged

gmsgowtham merged 1 commit into
mainfrom
renovate/biomejs-biome-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@biomejs/biome (source) 2.6.5 → 2.6.6 age confidence

Release Notes

biomejs/biome (@​biomejs/biome)

v2.6.6

Compare Source

Patch Changes
  • #​12887 da0422e Thanks @​dyc3! - Added the new nursery rule noArrayMethodsOnArguments. It reports calls to array methods on the arguments object, which isn't an array, so these calls throw a TypeError when the code runs.

    function sum() {
      return arguments.reduce((total, value) => total + value, 0);
    }
  • #​12877 cd9e10f Thanks @​dyc3! - Added the nursery rule noConstantComparisons, which reports && and || conditions that can never be true, are always true, or contain a check with no effect.

    if (statusCode <= 400 && statusCode > 500) {}
  • #​12876 a7c9586 Thanks @​dyc3! - Added the nursery rule noErasingOperation, which disallows operations with 0 that always result in zero: multiplying by 0, a bitwise AND with 0, and dividing 0 by a number. The other value in these operations has no effect on the result, which usually means the code has a mistake.

    const total = price * 0;
  • #​12841 e954f55 Thanks @​dyc3! - Added the nursery rule noNegatedArrayPredicate, which reports negated calls to Array#some() and Array#every() and suggests moving the negation into the callback function.

    // Invalid: use `array.every((item) => !isUnicorn(item))` instead.
    const isMissing = !array.some((item) => isUnicorn(item));
  • #​12888 15039f7 Thanks @​dyc3! - Added the new nursery rule noNumberArgumentOutOfRange, which reports number literal arguments of toString(), toFixed(), toExponential() and toPrecision() that are outside the range the method accepts. These calls throw a RangeError at runtime.

    value.toString(64);
  • #​12889 1cd7520 Thanks @​dyc3! - Added the nursery rule noSharedBranchCode, which reports code that is repeated at the start or end of every branch of an if statement. That code runs no matter which branch is taken, so it can be moved before or after the if statement.

    if (condition) {
      doSomething();
      cleanup();
    } else {
      doSomethingElse();
      cleanup();
    }
  • #​12842 d47fcfd Thanks @​dyc3! - Added the new nursery rule noSubtractionComparison, which reports subtracting two values only to compare the difference with 0, and suggests comparing the values directly.

    if (a - b > 0) {}
  • #​12866 7c1cd5f Thanks @​dyc3! - Added the nursery rule noSvelteIgnoredUnsubscribe, which reports calls to a store's subscribe() method when the returned function is ignored. Without that function, the subscription can never be stopped, which causes a memory leak.

    <script>
      import { count } from "./stores.js";
    
      count.subscribe((value) => console.log(value));
    </script>
  • #​12890 6b73fcf Thanks @​dyc3! - Added the new nursery rule noUninvokedArrayCallback, which reports array methods such as map() and forEach() called with a callback on an array that only has empty slots. The callback never runs in this case.

    const list = new Array(5).map(() => createElement());
  • #​12886 3bb18d8 Thanks @​dyc3! - Added the nursery rule useNextScriptForGoogleAnalytics, which reports <script> elements that load Google Analytics or Google Tag Manager. Use the GoogleAnalytics and GoogleTagManager components from @next/third-parties/google instead, which load these scripts after the page becomes interactive.

    <script async src="https://www.googletagmanager.com/gtag/js?id=G-XYZ" />

    The rule belongs to the next domain.

  • #​12309 0538e30 Thanks @​dyc3! - Added the new nursery rule usePackageJsonCpu, which reports package.json files that have no cpu field. The cpu field lists the processor types that the package supports.

    The following package.json file satisfies the rule:

    {
      "name": "my-package",
      "version": "1.0.0",
      "cpu": ["x64", "arm64"]
    }
  • #​12310 191111d Thanks @​dyc3! - Added the nursery rule usePackageJsonEngines, which reports package.json files that have no engines field.

    A package.json passes the rule once it declares the field:

    {
      "name": "my-package",
      "engines": {
        "node": ">=20"
      }
    }
  • #​12986 cc929af Thanks @​dyc3! - Fixed #​12954, where configuring rules in groups with more than 256 rules could enable or disable the wrong rule.

  • #​12931 fe9248e Thanks @​dyc3! - Improved the performance of linting. Each lint pass now spends less time stepping over syntax nodes that no enabled rule looks at.

  • #​12969 22d27e8 Thanks @​vibbix! - Improved the performance of CSS linting. Rules that compare selectors, such as noDescendingSpecificity and noDuplicateSelectors, now make fewer memory allocations.

  • #​12973 5a06df5 Thanks @​vibbix! - Fixed useGenericFontNames reporting font-family inside @font-palette-values. There, font-family names the font families the palette applies to, so it doesn't take a generic family.

    @font-palette-values --palette {
      font-family: Bixa;
      override-colors: 0 red;
    }
  • #​12930 ce71284 Thanks @​dyc3! - Fixed #​12073: useExhaustiveSwitchCases now reports non-exhaustive switches over values read from for...of loops over Array.prototype.entries(), Map, and Set, and over properties of array elements indexed by a number variable.

    noMisusedPromises now also reports Promise-returning callbacks passed to array methods such as find and every.

  • #​12983 2987b54 Thanks @​ashokram-si! - Fixed #​12957: Biome now correctly parses SCSS negative interpolation list items as separate values instead of an invalid subtraction operator.

    -margin: -#{$s} - #{$s} - #{$s} auto;
    +margin: -#{$s} -#{$s} -#{$s} auto;

Configuration

📅 Schedule: (UTC)

  • 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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Performance Comparison Report

  • Current: HEAD (5dd8ffb) - 2026-11-10 05:38:58Z
  • Baseline: main (d1efafa) - 2026-11-10 05:38:23Z

Significant Changes To Duration

There are no entries

Meaningless Changes To Duration

Show entries
Name Type Duration Count
Perf test Renders markdown render 5.5 ms → 5.4 ms (-0.2 ms, -2.9%) 1 → 1
Show details
Name Type Duration Count
Perf test Renders markdown render Baseline
Mean: 5.5 ms
Stdev: 0.2 ms (4.1%)
Runs: 6.1 5.4 5.6 5.5 5.5 5.4 5.6 5.5 5.4
Warmup runs: 4175.9
Removed outliers: 9.4
Stability: 20.8%

Current
Mean: 5.4 ms
Stdev: 0.3 ms (6.1%)
Runs: 6.3 5.5 5.2 5.3 5.2 5.4 5.3 5.4 5.2 5.2
Warmup runs: 227.3
Removed outliers: (none)
Stability: 6.1%
Baseline
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Current
Mean: 1
Stdev: 0 (0.0%)
Runs: 1 1 1 1 1 1 1 1 1 1
Render issues:

Render Count Changes

There are no entries

Render Issues

There are no entries

Added Entries

There are no entries

Removed Entries

There are no entries

Stability

Name Baseline Current
Weighted Average 20.8% 6.1%

Generated by 🚫 dangerJS against 195bf6f

@renovate
renovate Bot force-pushed the renovate/biomejs-biome-2.x branch from 43d3cb5 to 195bf6f Compare November 10, 2026 05:37
@gmsgowtham
gmsgowtham merged commit ec0beeb into main Nov 10, 2026
7 checks passed
@gmsgowtham
gmsgowtham deleted the renovate/biomejs-biome-2.x branch November 10, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant