Skip to content

Bump @biomejs/js-api from 6.0.0 to 6.1.0 - #426

Merged
NikolaRHristov merged 2 commits into
Currentfrom
dependabot/npm_and_yarn/biomejs/js-api-6.1.0
Oct 26, 2026
Merged

NikolaRHristov merged 2 commits into
Currentfrom
dependabot/npm_and_yarn/biomejs/js-api-6.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps @biomejs/js-api from 6.0.0 to 6.1.0.

Release notes

Sourced from @​biomejs/js-api's releases.

JavaScript APIs v6.1.0

6.1.0

Minor Changes

  • #9940 1aefcb1 Thanks @​regseb! - Added spanInBytesToSpanInCodeUnits helper function in subpath exports of @biomejs/js-api.

    import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/nodejs";
    // Or:
    // import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/bundler";
    // import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/web";
    const [start, end] = spanInBytesToSpanInCodeUnits(
    diagnostic.location.span,
    content
    );
    const text = content.slice(start, end); // Correctly extracts the text

  • #8912 e9785d8 Thanks @​dyc3! - Added GritQL search to @biomejs/js-api. Parse a pattern with parsePattern(), search content with searchContent(), and release the pattern with dropPattern(). Matches are returned as UTF-8 byte offsets; use spanInBytesToSpanInCodeUnits() to convert them before slicing the content.

    const patternId = biome.parsePattern("`console.log($message)`", {
      defaultLanguage: "js",
    });
    const { matches } = biome.searchContent(projectKey, content, {
      filePath: "example.js",
      patternId,
    });
    biome.dropPattern(patternId);

Patch Changes

  • Updated dependencies []:
    • @​biomejs/wasm-bundler@​2.6.0
    • @​biomejs/wasm-nodejs@​2.6.0
    • @​biomejs/wasm-web@​2.6.0

What's Changed

... (truncated)

Changelog

Sourced from @​biomejs/js-api's changelog.

6.1.0

Minor Changes

  • #9940 1aefcb1 Thanks @​regseb! - Added spanInBytesToSpanInCodeUnits helper function in subpath exports of @biomejs/js-api.

    import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/nodejs";
    // Or:
    // import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/bundler";
    // import { spanInBytesToSpanInCodeUnits } from "@biomejs/js-api/web";
    const [start, end] = spanInBytesToSpanInCodeUnits(
    diagnostic.location.span,
    content
    );
    const text = content.slice(start, end); // Correctly extracts the text

  • #8912 e9785d8 Thanks @​dyc3! - Added GritQL search to @biomejs/js-api. Parse a pattern with parsePattern(), search content with searchContent(), and release the pattern with dropPattern(). Matches are returned as UTF-8 byte offsets; use spanInBytesToSpanInCodeUnits() to convert them before slicing the content.

    const patternId = biome.parsePattern("`console.log($message)`", {
      defaultLanguage: "js",
    });
    const { matches } = biome.searchContent(projectKey, content, {
      filePath: "example.js",
      patternId,
    });
    biome.dropPattern(patternId);

Patch Changes

  • Updated dependencies []:
    • @​biomejs/wasm-bundler@​2.6.0
    • @​biomejs/wasm-nodejs@​2.6.0
    • @​biomejs/wasm-web@​2.6.0
Commits

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/js-api](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/js-api) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/js-api/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/js-api@6.1.0/packages/@biomejs/js-api)

---
updated-dependencies:
- dependency-name: "@biomejs/js-api"
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 26, 2026
@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
Updatednpm/​@​biomejs/​js-api@​6.0.0 ⏵ 6.1.0100 +110096 +691 -1100

View full report

Signed-off-by: Nikola Hristov <Nikola@PlayForm.Cloud>
@NikolaRHristov
NikolaRHristov merged commit 6465533 into Current Oct 26, 2026
7 checks passed
@NikolaRHristov
NikolaRHristov deleted the dependabot/npm_and_yarn/biomejs/js-api-6.1.0 branch October 26, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

1 participant