build(deps-dev): bump @biomejs/biome from 2.2.5 to 2.4.4 #129

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/biomejs/biome-2.4.4 into main
dependabot[bot] commented 2026-03-01 20:06:24 +01:00 (Migrated from github.com)

Bumps @biomejs/biome from 2.2.5 to 2.4.4.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.4.4

2.4.4

Patch Changes

  • #9150 6946835 Thanks @​dyc3! - Fixed #9138: Astro files containing --- in HTML content (e.g., <h1>---Hi</h1>) are now parsed correctly, both when a frontmatter block is present and when there is no frontmatter at all.

  • #9150 aa6f837 Thanks @​dyc3! - Fixed #9138: The HTML parser incorrectly failing to parse bracket characters ([ and ]) in text content (e.g. <div>[Foo]</div>).

  • #9151 c0d4b0c Thanks @​dyc3! - Fixed parsing of Svelte directive keywords (use, style) when used as plain text content in HTML/Svelte files. Previously, <p>use JavaScript</p> or <p>style it</p> would incorrectly produce a bogus element instead of proper text content.

  • #9162 7f1e060 Thanks @​dyc3! - Fixed #9161: The Vue parser now correctly handles colon attributes like xlink:href and xmlns:xlink by parsing them as single attributes instead of splitting them into separate tokens.

  • #9164 458211b Thanks @​dyc3! - Fixed #9161: The noAssignInExpressions rule no longer flags assignments in Vue v-on directives (e.g., @click="counter += 1"). Assignments in event handlers are idiomatic Vue patterns and are now skipped by the rule.

What's Changed

Full Changelog: https://github.com/biomejs/biome/compare/@​biomejs/biome@​2.4.3...@​biomejs/biome@​2.4.4

Biome CLI v2.4.3

2.4.3

Patch Changes

  • #9120 aa40fc2 Thanks @​ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled when biome ci runs on GitHub Actions.

  • #9128 8ca3f7f Thanks @​dyc3! - Fixed #9107: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.

  • #9124 f5b0e8d Thanks @​ematipico! - Fixed #8882 and #9108: The Astro frontmatter lexer now correctly identifies the closing --- fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g. "it's"), or escaped quote characters (e.g. "\").

  • #9142 3ca066b Thanks @​THernandez03! - Fixed #9141: The noUnknownAttribute rule no longer reports closedby as an unknown attribute on <dialog> elements.

  • #9126 792013e Thanks @​ematipico! - Added missing Mocha globals to the Test domain: context, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, xcontext, xdescribe, xit, and xspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.

  • #8855 6918c9e Thanks @​ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parses not + scroll-state inside @container queries.

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.4.4

Patch Changes

  • #9150 6946835 Thanks @​dyc3! - Fixed #9138: Astro files containing --- in HTML content (e.g., <h1>---Hi</h1>) are now parsed correctly, both when a frontmatter block is present and when there is no frontmatter at all.

  • #9150 aa6f837 Thanks @​dyc3! - Fixed #9138: The HTML parser incorrectly failing to parse bracket characters ([ and ]) in text content (e.g. <div>[Foo]</div>).

  • #9151 c0d4b0c Thanks @​dyc3! - Fixed parsing of Svelte directive keywords (use, style) when used as plain text content in HTML/Svelte files. Previously, <p>use JavaScript</p> or <p>style it</p> would incorrectly produce a bogus element instead of proper text content.

  • #9162 7f1e060 Thanks @​dyc3! - Fixed #9161: The Vue parser now correctly handles colon attributes like xlink:href and xmlns:xlink by parsing them as single attributes instead of splitting them into separate tokens.

  • #9164 458211b Thanks @​dyc3! - Fixed #9161: The noAssignInExpressions rule no longer flags assignments in Vue v-on directives (e.g., @click="counter += 1"). Assignments in event handlers are idiomatic Vue patterns and are now skipped by the rule.

2.4.3

Patch Changes

  • #9120 aa40fc2 Thanks @​ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled when biome ci runs on GitHub Actions.

  • #9128 8ca3f7f Thanks @​dyc3! - Fixed #9107: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.

  • #9124 f5b0e8d Thanks @​ematipico! - Fixed #8882 and #9108: The Astro frontmatter lexer now correctly identifies the closing --- fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g. "it's"), or escaped quote characters (e.g. "\").

  • #9142 3ca066b Thanks @​THernandez03! - Fixed #9141: The noUnknownAttribute rule no longer reports closedby as an unknown attribute on <dialog> elements.

  • #9126 792013e Thanks @​ematipico! - Added missing Mocha globals to the Test domain: context, run, setup, specify, suite, suiteSetup, suiteTeardown, teardown, xcontext, xdescribe, xit, and xspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.

  • #8855 6918c9e Thanks @​ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parses not + scroll-state inside @container queries.

  • #9111 4fb55cf Thanks @​Jayllyz! - Slightly improved performance of noIrregularWhitespace by adding early return optimization and simplifying character detection logic.

  • #8975 086a0c5 Thanks @​FrankFMY! - Fixed #8478: useDestructuring no longer suggests destructuring when the variable has a type annotation, like const foo: string = object.foo.

2.4.2

Patch Changes

  • #9103 fc9850c Thanks @​dyc3! - Fixed #9098: useImportType no longer incorrectly flags imports used in Svelte control flow blocks ({#if}, {#each}, {#await}, {#key}) as type-only imports.

  • #9106 f4b7296 Thanks @​dyc3! - Updated rule source metadata for rules from html-eslint.

  • #8960 4a5ff40 Thanks @​abossenbroek! - Added the nursery rule noConditionalExpect. This rule disallows conditional expect() calls inside tests, which can lead to tests that silently pass when assertions never run.

    // Invalid - conditional expect may not run
    test("conditional", async ({ page }) => {
      if (someCondition) {
        await expect(page).toHaveTitle("Title");
      }
    

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​biomejs/biome since your current version.


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 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 2.2.5 to 2.4.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/biomejs/biome/releases"><code>@​biomejs/biome</code>'s releases</a>.</em></p> <blockquote> <h2>Biome CLI v2.4.4</h2> <h2>2.4.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9150">#9150</a> <a href="https://github.com/biomejs/biome/commit/6946835b2c12078b326da5b51e4e4c62fbba525c"><code>6946835</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9138">#9138</a>: Astro files containing <code>---</code> in HTML content (e.g., <code>&lt;h1&gt;---Hi&lt;/h1&gt;</code>) are now parsed correctly, both when a frontmatter block is present and when there is no frontmatter at all.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9150">#9150</a> <a href="https://github.com/biomejs/biome/commit/aa6f8370ae7e4694901d04914689611c9f42ad1a"><code>aa6f837</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9138">#9138</a>: The HTML parser incorrectly failing to parse bracket characters (<code>[</code> and <code>]</code>) in text content (e.g. <code>&lt;div&gt;[Foo]&lt;/div&gt;</code>).</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9151">#9151</a> <a href="https://github.com/biomejs/biome/commit/c0d4b0c06dac60ff2a7f52de38adad3ca37dffc4"><code>c0d4b0c</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed parsing of Svelte directive keywords (<code>use</code>, <code>style</code>) when used as plain text content in HTML/Svelte files. Previously, <code>&lt;p&gt;use JavaScript&lt;/p&gt;</code> or <code>&lt;p&gt;style it&lt;/p&gt;</code> would incorrectly produce a bogus element instead of proper text content.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9162">#9162</a> <a href="https://github.com/biomejs/biome/commit/7f1e0608099cb1245a29e80eee671e181e9e470b"><code>7f1e060</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9161">#9161</a>: The Vue parser now correctly handles colon attributes like <code>xlink:href</code> and <code>xmlns:xlink</code> by parsing them as single attributes instead of splitting them into separate tokens.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9164">#9164</a> <a href="https://github.com/biomejs/biome/commit/458211bd5c9167c474f1411f48167999fb9f4b9f"><code>458211b</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9161">#9161</a>: The <code>noAssignInExpressions</code> rule no longer flags assignments in Vue v-on directives (e.g., <code>@click=&quot;counter += 1&quot;</code>). Assignments in event handlers are idiomatic Vue patterns and are now skipped by the rule.</p> </li> </ul> <h2>What's Changed</h2> <ul> <li>chore(scss): cherry-picks by <a href="https://github.com/denbezrukov"><code>@​denbezrukov</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9149">biomejs/biome#9149</a></li> <li>fix(parse/html): don't lex square brackets as special tokens in contexts where they don't mean anything by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9150">biomejs/biome#9150</a></li> <li>refactor(parse/html): use token_set! instead of matches! for svelte keywords and directives helpers by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9148">biomejs/biome#9148</a></li> <li>fix(parse/html): don't lex &quot;use&quot; as <code>USE_KW</code> when in html text content by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9151">biomejs/biome#9151</a></li> <li>feat(css): enhance SCSS qualified name detection by <a href="https://github.com/denbezrukov"><code>@​denbezrukov</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9159">biomejs/biome#9159</a></li> <li>chore(html): more html benchmarks by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/8153">biomejs/biome#8153</a></li> <li>fix(parse/html/vue): don't treat <code>:</code> as special token outside of vue directives by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9162">biomejs/biome#9162</a></li> <li>feat(lint/vue): automatically ignore <code>noAssignInExpressions</code> for vue v-on directives by <a href="https://github.com/dyc3"><code>@​dyc3</code></a> in <a href="https://redirect.github.com/biomejs/biome/pull/9164">biomejs/biome#9164</a></li> <li>ci: release by <a href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot] in <a href="https://redirect.github.com/biomejs/biome/pull/9160">biomejs/biome#9160</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/biomejs/biome/compare/@biomejs/biome@2.4.3...@biomejs/biome@2.4.4">https://github.com/biomejs/biome/compare/<code>@​biomejs/biome</code><code>@​2.4.3...</code><code>@​biomejs/biome</code><code>@​2.4.4</code></a></p> <h2>Biome CLI v2.4.3</h2> <h2>2.4.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9120">#9120</a> <a href="https://github.com/biomejs/biome/commit/aa40fc237a1379188edcbbbf4dc37fd7de7c58f5"><code>aa40fc2</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9109">#9109</a>, where the GitHub reporter wasn't correctly enabled when <code>biome ci</code> runs on GitHub Actions.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9128">#9128</a> <a href="https://github.com/biomejs/biome/commit/8ca3f7fcd1b0041fd7ade381032dfbb0f9693a41"><code>8ca3f7f</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9107">#9107</a>: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9124">#9124</a> <a href="https://github.com/biomejs/biome/commit/f5b0e8d0761c08d79d6cb1ad8df33da8605f20a9"><code>f5b0e8d</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8882">#8882</a> and <a href="https://redirect.github.com/biomejs/biome/issues/9108">#9108</a>: The Astro frontmatter lexer now correctly identifies the closing <code>---</code> fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g. <code>&quot;it's&quot;</code>), or escaped quote characters (e.g. <code>&quot;\&quot;</code>).</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9142">#9142</a> <a href="https://github.com/biomejs/biome/commit/3ca066bbb73cfbe1a1bcb1c9fc76f4a79966efc0"><code>3ca066b</code></a> Thanks <a href="https://github.com/THernandez03"><code>@​THernandez03</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9141">#9141</a>: The <code>noUnknownAttribute</code> rule no longer reports <code>closedby</code> as an unknown attribute on <code>&lt;dialog&gt;</code> elements.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9126">#9126</a> <a href="https://github.com/biomejs/biome/commit/792013eb767188608d0b6dd4dfa24413832dcb93"><code>792013e</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added missing Mocha globals to the <code>Test</code> domain: <code>context</code>, <code>run</code>, <code>setup</code>, <code>specify</code>, <code>suite</code>, <code>suiteSetup</code>, <code>suiteTeardown</code>, <code>teardown</code>, <code>xcontext</code>, <code>xdescribe</code>, <code>xit</code>, and <code>xspecify</code>. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8855">#8855</a> <a href="https://github.com/biomejs/biome/commit/6918c9e2bf4da19b3ac9f772272bc1a28f454fc1"><code>6918c9e</code></a> Thanks <a href="https://github.com/ruidosujeira"><code>@​ruidosujeira</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8840">#8840</a>. Now the Biome CSS parser correctly parses <code>not + scroll-state</code> inside <code>@container</code> queries.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md"><code>@​biomejs/biome</code>'s changelog</a>.</em></p> <blockquote> <h2>2.4.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9150">#9150</a> <a href="https://github.com/biomejs/biome/commit/6946835b2c12078b326da5b51e4e4c62fbba525c"><code>6946835</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9138">#9138</a>: Astro files containing <code>---</code> in HTML content (e.g., <code>&lt;h1&gt;---Hi&lt;/h1&gt;</code>) are now parsed correctly, both when a frontmatter block is present and when there is no frontmatter at all.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9150">#9150</a> <a href="https://github.com/biomejs/biome/commit/aa6f8370ae7e4694901d04914689611c9f42ad1a"><code>aa6f837</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9138">#9138</a>: The HTML parser incorrectly failing to parse bracket characters (<code>[</code> and <code>]</code>) in text content (e.g. <code>&lt;div&gt;[Foo]&lt;/div&gt;</code>).</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9151">#9151</a> <a href="https://github.com/biomejs/biome/commit/c0d4b0c06dac60ff2a7f52de38adad3ca37dffc4"><code>c0d4b0c</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed parsing of Svelte directive keywords (<code>use</code>, <code>style</code>) when used as plain text content in HTML/Svelte files. Previously, <code>&lt;p&gt;use JavaScript&lt;/p&gt;</code> or <code>&lt;p&gt;style it&lt;/p&gt;</code> would incorrectly produce a bogus element instead of proper text content.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9162">#9162</a> <a href="https://github.com/biomejs/biome/commit/7f1e0608099cb1245a29e80eee671e181e9e470b"><code>7f1e060</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9161">#9161</a>: The Vue parser now correctly handles colon attributes like <code>xlink:href</code> and <code>xmlns:xlink</code> by parsing them as single attributes instead of splitting them into separate tokens.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9164">#9164</a> <a href="https://github.com/biomejs/biome/commit/458211bd5c9167c474f1411f48167999fb9f4b9f"><code>458211b</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9161">#9161</a>: The <code>noAssignInExpressions</code> rule no longer flags assignments in Vue v-on directives (e.g., <code>@click=&quot;counter += 1&quot;</code>). Assignments in event handlers are idiomatic Vue patterns and are now skipped by the rule.</p> </li> </ul> <h2>2.4.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9120">#9120</a> <a href="https://github.com/biomejs/biome/commit/aa40fc237a1379188edcbbbf4dc37fd7de7c58f5"><code>aa40fc2</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9109">#9109</a>, where the GitHub reporter wasn't correctly enabled when <code>biome ci</code> runs on GitHub Actions.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9128">#9128</a> <a href="https://github.com/biomejs/biome/commit/8ca3f7fcd1b0041fd7ade381032dfbb0f9693a41"><code>8ca3f7f</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9107">#9107</a>: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9124">#9124</a> <a href="https://github.com/biomejs/biome/commit/f5b0e8d0761c08d79d6cb1ad8df33da8605f20a9"><code>f5b0e8d</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8882">#8882</a> and <a href="https://redirect.github.com/biomejs/biome/issues/9108">#9108</a>: The Astro frontmatter lexer now correctly identifies the closing <code>---</code> fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g. <code>&quot;it's&quot;</code>), or escaped quote characters (e.g. <code>&quot;\&quot;</code>).</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9142">#9142</a> <a href="https://github.com/biomejs/biome/commit/3ca066bbb73cfbe1a1bcb1c9fc76f4a79966efc0"><code>3ca066b</code></a> Thanks <a href="https://github.com/THernandez03"><code>@​THernandez03</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9141">#9141</a>: The <code>noUnknownAttribute</code> rule no longer reports <code>closedby</code> as an unknown attribute on <code>&lt;dialog&gt;</code> elements.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9126">#9126</a> <a href="https://github.com/biomejs/biome/commit/792013eb767188608d0b6dd4dfa24413832dcb93"><code>792013e</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Added missing Mocha globals to the <code>Test</code> domain: <code>context</code>, <code>run</code>, <code>setup</code>, <code>specify</code>, <code>suite</code>, <code>suiteSetup</code>, <code>suiteTeardown</code>, <code>teardown</code>, <code>xcontext</code>, <code>xdescribe</code>, <code>xit</code>, and <code>xspecify</code>. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8855">#8855</a> <a href="https://github.com/biomejs/biome/commit/6918c9e2bf4da19b3ac9f772272bc1a28f454fc1"><code>6918c9e</code></a> Thanks <a href="https://github.com/ruidosujeira"><code>@​ruidosujeira</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8840">#8840</a>. Now the Biome CSS parser correctly parses <code>not + scroll-state</code> inside <code>@container</code> queries.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9111">#9111</a> <a href="https://github.com/biomejs/biome/commit/4fb55cf998a3d41c4451679fe359ebec47692f5d"><code>4fb55cf</code></a> Thanks <a href="https://github.com/Jayllyz"><code>@​Jayllyz</code></a>! - Slightly improved performance of <a href="https://biomejs.dev/linter/rules/no-irregular-whitespace/"><code>noIrregularWhitespace</code></a> by adding early return optimization and simplifying character detection logic.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8975">#8975</a> <a href="https://github.com/biomejs/biome/commit/086a0c5c35a147df13197642bead23aa7df18a84"><code>086a0c5</code></a> Thanks <a href="https://github.com/FrankFMY"><code>@​FrankFMY</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/8478">#8478</a>: <a href="https://biomejs.dev/linter/rules/use-destructuring/"><code>useDestructuring</code></a> no longer suggests destructuring when the variable has a type annotation, like <code>const foo: string = object.foo</code>.</p> </li> </ul> <h2>2.4.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9103">#9103</a> <a href="https://github.com/biomejs/biome/commit/fc9850c4858f6d1a9c1314d782fd561a6c2253c3"><code>fc9850c</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Fixed <a href="https://redirect.github.com/biomejs/biome/issues/9098">#9098</a>: <code>useImportType</code> no longer incorrectly flags imports used in Svelte control flow blocks (<code>{#if}</code>, <code>{#each}</code>, <code>{#await}</code>, <code>{#key}</code>) as type-only imports.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/9106">#9106</a> <a href="https://github.com/biomejs/biome/commit/f4b729679e0ff4452758e026e053bb7b08add4b2"><code>f4b7296</code></a> Thanks <a href="https://github.com/dyc3"><code>@​dyc3</code></a>! - Updated rule source metadata for rules from <code>html-eslint</code>.</p> </li> <li> <p><a href="https://redirect.github.com/biomejs/biome/pull/8960">#8960</a> <a href="https://github.com/biomejs/biome/commit/4a5ff4034d8406d7de28aa6ce8095987c3fef547"><code>4a5ff40</code></a> Thanks <a href="https://github.com/abossenbroek"><code>@​abossenbroek</code></a>! - Added the nursery rule <a href="https://biomejs.dev/linter/rules/no-conditional-expect/"><code>noConditionalExpect</code></a>. This rule disallows conditional <code>expect()</code> calls inside tests, which can lead to tests that silently pass when assertions never run.</p> <pre lang="js"><code>// Invalid - conditional expect may not run test(&quot;conditional&quot;, async ({ page }) =&gt; { if (someCondition) { await expect(page).toHaveTitle(&quot;Title&quot;); } </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/biomejs/biome/commit/6c296ea921902278b133e42eb84bfbae158b70ba"><code>6c296ea</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9160">#9160</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/312b6db87d472c232ae16ffbfb93a4cf4d830852"><code>312b6db</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9116">#9116</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/b99e7db921107b80792f8fbabfce358c527fd4a5"><code>b99e7db</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9104">#9104</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/4a5ff4034d8406d7de28aa6ce8095987c3fef547"><code>4a5ff40</code></a> feat(lint): add Playwright ESLint rules (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8960">#8960</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/5153f2fce719c28620e45af8c6826937d0cb24b0"><code>5153f2f</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9094">#9094</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/4cc531cb6697e1b018c6c78efd1be86f17f7c904"><code>4cc531c</code></a> chore: docs that break website (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9077">#9077</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/bf6e5f90e1ed5705211151d01fee8c6c4a051bf4"><code>bf6e5f9</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9045">#9045</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/e0143366bd60eb6f123ea1325135754bf2107f34"><code>e014336</code></a> feat: promote rules for v2.4 (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/9011">#9011</a>)</li> <li><a href="https://github.com/biomejs/biome/commit/7e33fd5f1107cabdbabe4e984f1a80b2e48355ec"><code>7e33fd5</code></a> Merge remote-tracking branch 'origin/main' into next</li> <li><a href="https://github.com/biomejs/biome/commit/df210062a19180b964c529d9e15f2fb80d2bf80f"><code>df21006</code></a> ci: release (<a href="https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome/issues/8973">#8973</a>)</li> <li>Additional commits viewable in <a href="https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.4/packages/@biomejs/biome">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for <code>@​biomejs/biome</code> since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@biomejs/biome&package-manager=npm_and_yarn&previous-version=2.2.5&new-version=2.4.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 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) </details>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/biomejs/biome-2.4.4:dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch dependabot/npm_and_yarn/biomejs/biome-2.4.4

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch dependabot/npm_and_yarn/biomejs/biome-2.4.4
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch dependabot/npm_and_yarn/biomejs/biome-2.4.4
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch main
git merge --squash dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch main
git merge --ff-only dependabot/npm_and_yarn/biomejs/biome-2.4.4
git switch main
git merge dependabot/npm_and_yarn/biomejs/biome-2.4.4
git push origin main
Sign in to join this conversation.
No description provided.