fix(deps): pin @emnapi packages away from 2.0.0-beta.2 #431

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/emnapi-runtime-pin in i main 2026-11-26 15:29:19 +00:00
Ägare

astro check crashes on the non-major dependency update (#429) with this.bridge.setLastError is not a function.

Cause

astro 7.4.13 brings vite 8.3.8 and rolldown 1.2.19 / 1.3.3. Their optional @rolldown/binding-wasm32-wasi depends on @emnapi/core and @emnapi/runtime 2.0.0-beta.2. pnpm then resolves the @emnapi/runtime peer of @astrojs/check to the beta, which does not work with @emnapi/core 1.11.3.

Change

Two overrides in pnpm-workspace.yaml map @emnapi/core and @emnapi/runtime 2.0.0-beta.2 to 1.11.3, the current latest. The lockfile is regenerated. Lint tooling now resolves postcss 8.5.32, which the lockfile already contained.

Removal

@rolldown/binding-wasm32-wasi 1.3.4 no longer depends on @emnapi/*. Drop both lines once the lockfile has no request for 2.0.0-beta.2.

Verification

  • On this branch: type-check, eslint, stylelint, format, markdown lint, lang-check, build, unit tests, audit and e2e pass.
  • On #429 merged with this branch: astro check, eslint, build, unit tests and audit pass. Only @emnapi/* 1.11.x remains in the tree.
`astro check` crashes on the non-major dependency update (#429) with `this.bridge.setLastError is not a function`. ## Cause `astro` 7.4.13 brings `vite` 8.3.8 and `rolldown` 1.2.19 / 1.3.3. Their optional `@rolldown/binding-wasm32-wasi` depends on `@emnapi/core` and `@emnapi/runtime` `2.0.0-beta.2`. pnpm then resolves the `@emnapi/runtime` peer of `@astrojs/check` to the beta, which does not work with `@emnapi/core` 1.11.3. ## Change Two overrides in `pnpm-workspace.yaml` map `@emnapi/core` and `@emnapi/runtime` `2.0.0-beta.2` to `1.11.3`, the current `latest`. The lockfile is regenerated. Lint tooling now resolves `postcss` 8.5.32, which the lockfile already contained. ## Removal `@rolldown/binding-wasm32-wasi` 1.3.4 no longer depends on `@emnapi/*`. Drop both lines once the lockfile has no request for `2.0.0-beta.2`. ## Verification - On this branch: type-check, eslint, stylelint, format, markdown lint, lang-check, build, unit tests, audit and e2e pass. - On #429 merged with this branch: `astro check`, eslint, build, unit tests and audit pass. Only `@emnapi/*` 1.11.x remains in the tree.
supernaut lade till 1 incheckning 2026-11-26 15:10:24 +00:00
fix(deps): pin @emnapi packages away from 2.0.0-beta.2
Alla kontroller lyckades
ci / ci (pull_request) Successful in 5m16s
0e02fbbe02
supernaut sammanfogade incheckning cf5d4c7776 till main 2026-11-26 15:29:19 +00:00
supernaut tog bort grenen fix/emnapi-runtime-pin 2026-11-26 15:29:19 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web!431
Ingen beskrivning angiven.