Skip to content

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

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/biomejs-biome-2.x
Nov 15, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/biomejs-biome-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 15, 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
    • "on the 1st and 15th day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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.

@renovate
renovate Bot requested a review from fbuireu as a code owner November 15, 2026 00:34
@renovate renovate Bot added bot Automated tag added by a bot dependencies Pull requests that update a dependency file patch-update Patch version updates renovate Automated tag added by Renovate labels Nov 15, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 15, 2026 00:34
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​biomejs/​biome@​2.6.5 ⏵ 2.6.6100 +1100100 +199 +1100

View full report

@renovate
renovate Bot merged commit 55663c2 into main Nov 15, 2026
14 checks passed
@renovate
renovate Bot deleted the renovate/biomejs-biome-2.x branch November 15, 2026 00:35
@codecov

codecov Bot commented Nov 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fbuireu

fbuireu commented Nov 15, 2026

Copy link
Copy Markdown
Owner

🎉 This PR is included in version 1.28.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Automated tag added by a bot dependencies Pull requests that update a dependency file patch-update Patch version updates released renovate Automated tag added by Renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant