Skip to content

Bump @astrojs/compiler-rs from 0.3.2 to 0.4.0 - #568

Merged
github-actions[bot] merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/astrojs/compiler-rs-0.4.0
Aug 14, 2026
Merged

Bump @astrojs/compiler-rs from 0.3.2 to 0.4.0#568
github-actions[bot] merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/astrojs/compiler-rs-0.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor

Bumps @astrojs/compiler-rs from 0.3.2 to 0.4.0.

Release notes

Sourced from @​astrojs/compiler-rs's releases.

@​astrojs/compiler-rs@​0.4.0

Minor Changes

  • bc10d43: Adds a comments array to the AST returned by parse(), covering comments in the frontmatter, in <script> blocks, and in the template.
  • bc10d43: parse() now reports node and comment positions as UTF-16 offsets, so they line up with JavaScript string indices. Previously they were UTF-8 byte offsets, which drifted on any source containing non-ASCII characters.

Patch Changes

  • 90af674: Fixes an issue where a <script define:vars={...}> element lost all of its other attributes (such as data-astro-rerun, id, or nonce) in the compiled output.
  • Updated dependencies [90af674]
  • Updated dependencies [bc10d43]
  • Updated dependencies [bc10d43]
    • @​astrojs/compiler-binding@​0.4.0
Commits
  • e8364c1 Version Packages (#130)
  • bc10d43 feat(napi): expose AST comments and return UTF-16 offsets from parse() (#136)
  • 1d0a49f ci: add step to broadcast compiler version (#131)
  • 90af674 fix(codegen): preserve remaining attributes on define:vars scripts (#129)
  • 24c8e9b chore(deps): update dependency publint to v0.3.22 (#115)
  • 02e9dd0 chore(deps): update dependency @​biomejs/biome to v2.5.6 (#114)
  • 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 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 [@astrojs/compiler-rs](https://github.com/withastro/compiler-rs) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/withastro/compiler-rs/releases)
- [Commits](https://github.com/withastro/compiler-rs/compare/@astrojs/compiler-rs@0.3.2...@astrojs/compiler-rs@0.4.0)

---
updated-dependencies:
- dependency-name: "@astrojs/compiler-rs"
  dependency-version: 0.4.0
  dependency-type: direct:development
  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 Aug 14, 2026
@github-actions
github-actions Bot merged commit db08def into Current Aug 14, 2026
6 of 9 checks passed
@github-actions
github-actions Bot deleted the dependabot/npm_and_yarn/astrojs/compiler-rs-0.4.0 branch August 14, 2026 22:43
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.

1 participant