Skip to content

Bump @biomejs/js-api from 4.0.0 to 6.0.0#377

Open
dependabot[bot] wants to merge 1 commit into
Currentfrom
dependabot/npm_and_yarn/biomejs/js-api-6.0.0
Open

Bump @biomejs/js-api from 4.0.0 to 6.0.0#377
dependabot[bot] wants to merge 1 commit into
Currentfrom
dependabot/npm_and_yarn/biomejs/js-api-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

JavaScript APIs v6.0.0

6.0.0

Minor Changes

  • #8944 8cd3da1 Thanks @​ash1day! - Added a new spanInBytesToSpanInCodeUnits helper function to convert byte-based spans from Biome diagnostics to UTF-16 code unit spans.

    Biome internally uses UTF-8 byte offsets for spans, but JavaScript strings use UTF-16 code units. This causes incorrect text extraction when using string.slice() with non-ASCII content. The new helper function correctly handles this conversion, including surrogate pairs and unpaired surrogates.

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

Patch Changes

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

What's Changed

... (truncated)

Changelog

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

6.0.0

Minor Changes

  • #8944 8cd3da1 Thanks @​ash1day! - Added a new spanInBytesToSpanInCodeUnits helper function to convert byte-based spans from Biome diagnostics to UTF-16 code unit spans.

    Biome internally uses UTF-8 byte offsets for spans, but JavaScript strings use UTF-16 code units. This causes incorrect text extraction when using string.slice() with non-ASCII content. The new helper function correctly handles this conversion, including surrogate pairs and unpaired surrogates.

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

Patch Changes

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

5.0.0

Patch Changes

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

This version was pushed to npm by GitHub Actions, a new releaser for @​biomejs/js-api 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/js-api](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/js-api) from 4.0.0 to 6.0.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.0.0/packages/@biomejs/js-api)

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

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 Jun 12, 2026
@github-actions github-actions Bot requested a review from NikolaRHristov June 12, 2026 18:23
@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@​4.0.0 ⏵ 6.0.0100 +110090 +193 +6100

View full report

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