Skip to content

build: update dev-dependency @biomejs/biome from 2.4.13 to 2.4.14#32

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm/biomejs-biome-2.x
Open

build: update dev-dependency @biomejs/biome from 2.4.13 to 2.4.14#32
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm/biomejs-biome-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence OpenSSF
@biomejs/biome (source) 2.4.132.4.14 age adoption passing confidence OpenSSF Scorecard

Release Notes

biomejs/biome (@​biomejs/biome)

v2.4.14

Compare Source

Patch Changes
  • #​9393 491b171 Thanks @​dyc3! - Added the nursery rule useTestHooksOnTop in the test domain. The rule flags lifecycle hooks (beforeEach, beforeAll, afterEach, afterAll) that appear after test cases in the same block, enforcing that hooks are defined before any test case.

  • #​10157 eefc5ab Thanks @​dyc3! - Fixed #​7882: The HTML parser will now emit better diagnostics when it encounters a void element with a closing tag, such as <br></br>. Previously, the parser would emit multiple diagnostics with conflicting advice. Now it emits a single diagnostic that clearly states that void elements should not have closing tags.

  • #​10054 0e9f569 Thanks @​minseong0324! - noMisleadingReturnType no longer misses widening from concrete object types, class instances, object literals, tuples, functions, and regular expressions to : object.

    A function annotated : object returning an object literal:

    function f(): object {
      return { retry: true };
    }
  • #​10116 53269eb Thanks @​jiwon79! - Fixed #​6201: noUselessEscapeInRegex no longer flags an escaped backslash followed by - as a useless escape. Patterns like /[\\-]/ are now considered valid because the second \ is the escaped backslash, not an unnecessary escape of the trailing dash.

  • #​10092 33d8543 Thanks @​Conaclos! - Fixed #​9097: organizeImports no longer adds a blank line between a never-matched group and a matched group.

    Given the following organizeImports options:

    {
      "groups": [":NODE:", ":BLANK_LINE:", ":PACKAGE:", ":BLANK_LINE:", ":PATH:"]
    }

    The following code...

    // Comment
    import "package";
    import "./file.js";

    ...was organized as:

    +
      // Comment
      import "package";
    +
      import "./file.js";

    A blank line was added even though the group ':NODE:' doesn't match any imports here.
    :BLANK_LINE: between never-matched groups and matched groups are now ignored.
    The code is now organized as:

      // Comment
      import "package";
    +
      import "./file.js";
  • #​10138 a10b6c1 Thanks @​dyc3! - Fixed Vue v-for handling for noUndeclaredVariables and noUnusedVariables. Biome now recognizes variables declared by v-for directives and references to iterated values in Vue templates.

  • #​10115 d428d76 Thanks @​minseong0324! - noMisleadingReturnType no longer reports false positives when a union return type's boolean variant is covered by both true and false returns.

  • #​9922 7acf1e0 Thanks @​dyc3! - Added the new nursery rule noReactStringRefs, which disallows legacy React string refs such as ref="hello" and this.refs.hello.

    Biome also reports template-literal refs such as ref={`hello`}, so React code can consistently migrate to callback refs, createRef(), or useRef().

  • #​10010 f3e76ab Thanks @​dyc3! - Fixed a bug in the LSP file watcher registration so Biome now watches .biome.json and .biome.jsonc configuration files and reloads workspace settings when they change.

  • #​10176 8a40ef8 Thanks @​dyc3! - Fixed #​10011: The noThisInStatic rule no longer reports this when it is used as the constructor target in new this(...), which is required for inherited static factory methods.

  • #​10163 6867e96 Thanks @​jiwon79! - Fixed #​9884: The useSortedAttributes auto-fix no longer corrupts source code when both an outer JSX element and a nested JSX-valued attribute have unsorted attributes in the same pass. Multiple unsorted groups separated by spread or shorthand attributes within the same JSX element are now reported as a single diagnostic.

  • #​10079 d29dd19 Thanks @​Damix48! - Fixed false positive in noAssignInExpressions for Svelte {@&#8203;const} blocks. Assignments in {@&#8203;const name = value} are now correctly recognized as declarations rather than accidental assignments in expressions.

  • #​10080 5d8fdac Thanks @​Damix48! - Fixed parsing of closing parentheses in Svelte {#each} block key expressions. Biome now correctly parses method calls and other parenthesised expressions used as keys.

    For example, the following snippets are now parsed correctly:

    {#each numbers as number, index (number.toString())}
      <p>{number}</p>
    {/each}
    
    {#each numbers as number (key(number))}
      <p>{number}</p>
    {/each}
  • #​10140 e7024b9 Thanks @​solithcy! - Fixed #​10135: Biome no longer crashes on missing Svelte template expressions.

    The following code snippet longer panics:

    {#if }
     <p>^ this would previously crash</p>
    {/if}
    {@&#8203;const }
    <p>    ^ this would also crash</p>
  • #​10111 7818009 Thanks @​jiwon79! - Fixed #​9997: noDuplicateSelectors no longer reports false positives for selectors inside @scope queries. Biome now treats @scope as a separate at-rule context, like @media, @supports, @container, and @starting-style.

    The following snippet is no longer flagged as a duplicate:

    .Example {
      padding: 0;
    }
    
    @&#8203;scope (.theme-dark) {
      .Example {
        color: white;
      }
    }
  • #​9926 d62b331 Thanks @​dyc3! - Added the nursery lint rule useMathMinMax, which prefers Math.min() and Math.max() over equivalent ternary comparisons.

    For example, this code:

    const min = a < b ? a : b;

    is much more readable when rewritten as:

    const min = Math.min(a, b);
  • #​10115 d428d76 Thanks @​minseong0324! - useExhaustiveSwitchCases now flags missing true/false cases for boolean discriminants, including when boolean is a union variant.

  • #​10125 a55a0b6 Thanks @​bmish! - Fixed a resolver bug where packages that define a typed entry point through package.json's main field but omit types were ignored during type-aware resolution. Type-aware rules such as noFloatingPromises can now inspect imports from those packages.

  • #​10117 895e809 Thanks @​denizdogan! - Added support for the corner-shape family of CSS properties and the superellipse()/squircle() value functions, so noUnknownProperty and noUnknownFunction no longer flag them as unknown.

    New known properties: corner-shape, corner-block-end-shape, corner-block-start-shape, corner-bottom-left-shape, corner-bottom-right-shape, corner-bottom-shape, corner-end-end-shape, corner-end-start-shape, corner-inline-end-shape, corner-inline-start-shape, corner-left-shape, corner-right-shape, corner-start-end-shape, corner-start-start-shape, corner-top-left-shape, corner-top-right-shape, corner-top-shape.

    New known value functions: superellipse(), squircle().

  • #​8620 8df8f73 Thanks @​dyc3! - Fixed #​8062: Added support for parsing Vue v-for directives more accurately.

  • #​10191 aa055cd Thanks @​guney! - Now the rule noStaticElementInteractions doesn't trigger custom elements.

  • #​9757 2c62594 Thanks @​dyc3! - Fixed #​9099: the HTML formatter collapsing non-text children (inline elements, Svelte expressions, comments) onto a single line when the source had them on separate lines. Biome now preserves the user's intended line breaks for exclusively non-text children.

    For example, the following Svelte snippet is now preserved instead of being collapsed to <div>{name}<!-- comment --></div>:

    <div>
      {name}<!-- comment -->
    </div>

    Similarly, HTML elements like <span> inside a <div> are now preserved when written on their own line:

    <div>
      <span>text</span>
    </div>
  • #​10105 e7c1a6d Thanks @​jiwon79! - Fixed #​10039: useReadonlyClassProperties now detects unreassigned private members in class expressions and export default classes, not only in class declarations.

    The following patterns are now correctly flagged:

    const AnonClass = class {
      #prop = 123;
      constructor() {
        console.log(this.#prop);
      }
    };
    
    export default class {
      #prop = 123;
      constructor() {
        console.log(this.#prop);
      }
    }
  • #​10141 46a77d0 Thanks @​minseong0324! - Improved noUnnecessaryConditions to detect conditions that are always truthy because they check built-in global class instances such as Date, Map, Set, WeakMap, and Error.

  • #​10178 7b05a89 Thanks @​dyc3! - Fixed #​10177: The HTML parser no longer reports lowercase html or doctype text as invalid after void elements such as <br>.

  • #​10155 0d4595d Thanks @​jiwon79! - Fixed #​10045: the CSS formatter no longer compounds indentation inside nested functional pseudo-classes such as :not(:where(...)), :is(:where(...)), and similar combinations. The same fix also removes one level of unnecessary indentation that was added inside any pseudo-class function whose argument list wrapped onto multiple lines, including :nth-child(... of ...), ::part(...), and :active-view-transition-type(...).
    The following snippet is now correctly formatted, matching Prettier.

    input:not(
      :where(
        [type="submit"],
        [type="checkbox"],
        [type="radio"],
        [type="button"],
        [type="reset"]
      )
    ) {
      inline-size: 100%;
    }
  • #​10112 6f0251e Thanks @​dyc3! - Fixed #​10110: Biome's parser now accepts surrogate code points in JavaScript string \u{...} escapes.

  • #​10141 46a77d0 Thanks @​minseong0324! - Improved noMisleadingReturnType to detect object return annotations that hide built-in global class instances such as Date, Map, Set, WeakMap, and Error.

  • #​10083 4a664c1 Thanks @​ematipico! - Added two new options to noShadow, both defaulting to true to match typescript-eslint's behavior.

    Fixed #​9482: Added ignoreFunctionTypeParameterNameValueShadow option. When enabled, parameter names inside function type annotations (e.g. (options: unknown) => void) are not flagged as shadowing outer variables.

    Fixed #​7812: Added ignoreTypeValueShadow option. When enabled, a value binding that shares its name with a type-only declaration (type alias or interface) is not flagged, since types and values occupy separate namespaces in TypeScript.

  • #​9286 52695cf Thanks @​Hugo-Polloli! - Fixed #​6316: Biome now resolves Svelte $store references to the underlying store binding in semantic analysis, preventing false noUndeclaredVariables diagnostics when the store is declared.

  • #​10188 ae659dd Thanks @​dyc3! - Added a new nursery rule noExcessiveNestedCallbacks, which disallows callbacks nested deeper than the configured maximum.

  • #​9757 2c62594 Thanks @​dyc3! - Fixed #​9450: the HTML formatter now correctly preserves multiline formatting for nested <template> elements (e.g. <template #body>) when the source has children on separate lines. Previously, the children were collapsed onto a single line.

     <template>
       <UModal>
    -    <template #body> <p>content</p> </template>
    +    <template #body>
    +      <p>content</p>
    +    </template>
       </UModal>
     </template>
  • #​10118 c6edcb4 Thanks @​Netail! - Fixed #​10024: biome migrate eslint correctly migrates eslint rules that belong to multiple Biome rules.


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.

@renovate renovate Bot requested a review from codeismyid as a code owner June 17, 2025 17:08
@renovate renovate Bot added bot Bot involvement dependency Additions or changes involving dependency renovate Anything from renovatebot labels Jun 17, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from f8acff5 to 100d241 Compare June 20, 2025 14:43
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.0 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.2 Jun 20, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 100d241 to 5687913 Compare June 21, 2025 08:37
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.2 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.3 Jun 21, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 5687913 to c127859 Compare June 21, 2025 12:36
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.3 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.4 Jun 21, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from c127859 to 2a151c2 Compare June 23, 2025 19:52
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.4 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.5 Jun 23, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 2a151c2 to 323f597 Compare June 27, 2025 11:13
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.5 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.6 Jun 27, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 323f597 to bdc5267 Compare July 8, 2025 14:31
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.0.6 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.1 Jul 8, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from bdc5267 to 47c522f Compare July 17, 2025 17:27
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.1 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.2 Jul 17, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 47c522f to 2ee82c0 Compare July 29, 2025 20:48
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.2 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.3 Jul 29, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 2ee82c0 to cd33038 Compare August 7, 2025 17:01
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.3 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.4 Aug 7, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from cd33038 to 0114bd1 Compare August 14, 2025 11:27
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.1.4 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.2.0 Aug 14, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 0114bd1 to 61c8717 Compare August 23, 2025 13:34
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.2.0 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.2.2 Aug 23, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 61c8717 to f9e81ad Compare September 6, 2025 19:11
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.2.2 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.2.3 Sep 6, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from f9e81ad to d8eaed9 Compare September 10, 2025 14:42
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.1 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.2 Oct 28, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 4ad775c to efe619a Compare November 3, 2025 18:47
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.2 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.3 Nov 3, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from efe619a to 2dc1085 Compare November 5, 2025 17:45
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.3 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.4 Nov 5, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch 2 times, most recently from 2635728 to 7250499 Compare November 11, 2025 17:01
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.4 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.5 Nov 11, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 7250499 to 7bedd99 Compare November 17, 2025 12:37
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.5 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.6 Nov 17, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 7bedd99 to cc14f32 Compare November 21, 2025 09:11
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.6 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.7 Nov 21, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from cc14f32 to aa4b440 Compare November 27, 2025 11:47
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.7 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.8 Nov 27, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from aa4b440 to d616378 Compare December 18, 2025 16:51
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.8 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.9 Dec 18, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from d616378 to 6d15b42 Compare December 20, 2025 18:01
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.9 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.10 Dec 20, 2025
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 6d15b42 to ca9f82c Compare January 6, 2026 17:31
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.10 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.11 Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from ca9f82c to 21f76d1 Compare January 26, 2026 17:48
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.11 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.12 Jan 26, 2026
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 21f76d1 to 9a876dc Compare January 29, 2026 17:52
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.12 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.13 Jan 29, 2026
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch from 9a876dc to d1ec76b Compare February 6, 2026 17:50
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.13 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.14 Feb 6, 2026
@renovate renovate Bot force-pushed the renovate/npm/biomejs-biome-2.x branch 2 times, most recently from 3da5813 to dfeada6 Compare February 15, 2026 12:48
@renovate renovate Bot changed the title build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.14 build: update dev-dependency @biomejs/biome from 1.9.4 to 2.3.15 Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Bot involvement dependency Additions or changes involving dependency renovate Anything from renovatebot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant