Skip to content

build: Bump astro from 7.4.4 to 7.4.7 and keep astro check loading. - #68

Merged
gustavofreze merged 1 commit into
mainfrom
fix/astro-7.4.7
Nov 14, 2026
Merged

gustavofreze merged 1 commit into
mainfrom
fix/astro-7.4.7

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Replaces #67.

Astro 7.4.7 fixes the XSS through dynamic tag names and the image endpoint reading a case-variant sibling of the output directory, which closes the four open Dependabot alerts (#274 to #277).

The bump brings @rolldown/binding-wasm32-wasi, which pins @emnapi/runtime 2.0.0-beta.2. pnpm then resolves the runtime peer of @napi-rs/wasm-runtime 1.2.4 under @astrojs/astro2tsx to that version, next to @emnapi/core 1.x, and importing @astrojs/check throws this.bridge.setLastError is not a function. Astro hides that error behind a message saying @astrojs/check and typescript are not installed, and since 7.4.6 it exits 1 in that case, which is why the Build job of #67 failed.

An override in pnpm-workspace.yaml keeps that runtime on 1.11.3.

pnpm install --frozen-lockfile, typecheck, lint, test, build, check:budgets and check:seo pass locally in node:26.13.0.

Astro 7.4.7 fixes the XSS through dynamic tag names and the image endpoint reading a case-variant
sibling of the output directory, the four open Dependabot alerts.

The bump brings @rolldown/binding-wasm32-wasi, which pins @emnapi/runtime 2.0.0-beta.2. pnpm then
resolves the runtime peer of @napi-rs/wasm-runtime 1.2.4 under @astrojs/astro2tsx to that version,
next to @emnapi/core 1.x, and importing @astrojs/check throws. Astro 7.4.6 also stopped exiting 0
when the package does not load, so pnpm typecheck failed. An override keeps that runtime on 1.11.3.
@gustavofreze
gustavofreze merged commit dc2472a into main Nov 14, 2026
7 checks passed
@gustavofreze
gustavofreze deleted the fix/astro-7.4.7 branch November 14, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant