Skip to content

chore: update quickjs-wasi to v3.0.0#435

Open
clutz-bot[bot] wants to merge 2 commits into
mainfrom
chore/quickjs-wasi-v3
Open

chore: update quickjs-wasi to v3.0.0#435
clutz-bot[bot] wants to merge 2 commits into
mainfrom
chore/quickjs-wasi-v3

Conversation

@clutz-bot
Copy link
Copy Markdown
Contributor

@clutz-bot clutz-bot Bot commented May 24, 2026

Updates quickjs-wasi from ^2.2.0 to ^3.0.0.

Breaking change in v3

WASM bytes must now be explicitly provided to QuickJS.create() — the previous implicit node:fs/promises fallback was removed.

Changes

  • pac-proxy-agent/src/index.ts: Load WASM binary via readFile(import.meta.resolve('quickjs-wasi/quickjs.wasm')) and pass to QuickJS.create({ wasm })
  • degenerator/test/test.ts: Same pattern for tests
  • pac-resolver/test/test.ts: Same pattern for tests
  • Updated pnpm catalog and lockfile

Breaking change in v3: WASM bytes must be explicitly provided to
QuickJS.create(). Updated all call sites to load the WASM binary
via readFile() with import.meta.resolve().
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 24, 2026

🦋 Changeset detected

Latest commit: 67b2037

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
pac-proxy-agent Patch
degenerator Patch
pac-resolver Patch
proxy-agent Patch

Not sure what this means? Click here to learn what changesets are.

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

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.

0 participants