Skip to content

chore(deps): bump @biomejs/js-api from 4.0.0 to 6.0.0 - #1256

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 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 dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner October 1, 2026 03:43
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 1, 2026
@dependabot
dependabot Bot requested a review from connor-baer October 1, 2026 03:43
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Oct 1, 2026
@changeset-bot

changeset-bot Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8e5cf2d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@sumup-oss/foundry@1256

commit: 8e5cf2d

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 force-pushed the dependabot/npm_and_yarn/biomejs/js-api-6.0.0 branch from 3af2193 to 8e5cf2d Compare October 1, 2026 06:17
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants