Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 8, 2025

Bumps @biomejs/biome from 2.0.6 to 2.1.0.

Release notes

Sourced from @​biomejs/biome's releases.

Biome CLI v2.1.0

2.1.0

Minor Changes

  • #6512 0c0bf82 Thanks @​arendjr! - The rule noFloatingPromises can now detect floating arrays of Promises.

    Invalid examples

    // This gets flagged because the Promises are not handled.
    [1, 2, 3].map(async (x) => x + 1);

    Valid examples

    await Promise.all([1, 2, 3].map(async (x) => x + 1));
  • #6637 6918085 Thanks @​arendjr! - Type inference is now able to handle the sequence operator (,), as well as post- and pre-update operators: ++.

    Example

    let x = 5;
    // We now infer that x++ resolves to a number, while the expression as a whole
    // becomes a Promise:
    x++, new Promise((resolve) => resolve("comma"));

  • #6752 c9eaca4 Thanks @​arendjr! - Fixed #6646: .gitignore files are now picked up even when running Biome from a nested directory, or when the ignore file itself is ignored through files.includes.

  • #6746 90aeead Thanks @​arendjr! - biome migrate no longer enables style rules that were recommended in v1, because that would be undesirable for users upgrading from 2.0.

    Users who are upgrading from Biome 1.x are therefore advised to first upgrade to Biome 2.0, and run the migration, before continuing to Biome 2.1 or later.

  • #6583 d415a3f Thanks @​arendjr! - Added the nursery rule noMisusedPromises.

    It signals Promises in places where conditionals or iterables are expected.

    Invalid examples

    const promise = Promise.resolve("value");
    // Using a Promise as conditional is always truthy:
    if (promise) {

... (truncated)

Changelog

Sourced from @​biomejs/biome's changelog.

2.1.0

Minor Changes

  • #6512 0c0bf82 Thanks @​arendjr! - The rule noFloatingPromises can now detect floating arrays of Promises.

    Invalid examples

    // This gets flagged because the Promises are not handled.
    [1, 2, 3].map(async (x) => x + 1);

    Valid examples

    await Promise.all([1, 2, 3].map(async (x) => x + 1));
  • #6637 6918085 Thanks @​arendjr! - Type inference is now able to handle the sequence operator (,), as well as post- and pre-update operators: ++.

    Example

    let x = 5;
    // We now infer that x++ resolves to a number, while the expression as a whole
    // becomes a Promise:
    x++, new Promise((resolve) => resolve("comma"));

  • #6752 c9eaca4 Thanks @​arendjr! - Fixed #6646: .gitignore files are now picked up even when running Biome from a nested directory, or when the ignore file itself is ignored through files.includes.

  • #6746 90aeead Thanks @​arendjr! - biome migrate no longer enables style rules that were recommended in v1, because that would be undesirable for users upgrading from 2.0.

    Users who are upgrading from Biome 1.x are therefore advised to first upgrade to Biome 2.0, and run the migration, before continuing to Biome 2.1 or later.

  • #6583 d415a3f Thanks @​arendjr! - Added the nursery rule noMisusedPromises.

    It signals Promises in places where conditionals or iterables are expected.

    Invalid examples

    const promise = Promise.resolve("value");
    // Using a Promise as conditional is always truthy:
    if (promise) {
    /* ... */
    }

... (truncated)

Commits
  • dcce75a ci: release (#6582)
  • 1bfb5bb docs: fix typos in CHANGELOG & CONTRIBUTING (#6721)
  • cd4a9bb feat(biome_js_analyse): added new option to rule to ignore unused function pa...
  • 43d871e fix(formatter): trailing commas in json files (#6683)
  • aee9ec7 fix(biome-js-analyze): move no_secrets options inside biome-rules-opt… (#6672)
  • 74d27b9 refactor: share lint rule options (#5543)
  • 1804abf Merge branch 'main' into next
  • 153eda7 feat(biome_js_analyse): added new rule noMagicNumbers (#6562)
  • 392b861 Merge branch 'main' into next
  • See full diff in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.0.6 to 2.1.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/[email protected]/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added A-Dependencies Pull requests that update a dependency file Z-Deps-Frontend Updates to the frontend dependencies labels Jul 8, 2025
Copy link

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: cd8b131
Status: ✅  Deploy successful!
Preview URL: https://7045ea11.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-fron-x7yi.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose enabled auto-merge July 8, 2025 16:05
@sandhose sandhose disabled auto-merge July 8, 2025 16:30
@sandhose sandhose enabled auto-merge July 8, 2025 16:30
@sandhose sandhose merged commit 93905aa into main Jul 8, 2025
48 of 52 checks passed
@sandhose sandhose deleted the dependabot/npm_and_yarn/frontend/biomejs/biome-2.1.0 branch July 8, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Dependencies Pull requests that update a dependency file Z-Deps-Frontend Updates to the frontend dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant