quickjs-wasi
3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed
Upgrading quickjs-wasi From 2.2.0 to 3.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 5
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.0.0
Release by release
- Breaking
Stop performing implicit filesystem I/O. The caller is now always responsible for providing the WASM bytes (or a pre-compiled
WebAssembly.Module) for both the main runtime and any native extensions, using whichever loading mechanism is appropriate for their environment (fetch(),node:fs/promises, bundler imports, etc.). - New
atob()/btoa()are now native built-ins. They are controlled by a newIntrinsics.ATOB_BTOAflag, included inIntrinsics.ALLby default. Enabling this intrinsic also pulls inDOMException(errors thrown by these functions areDOMExceptioninstances). - New
Uint8Arraybase64/hex methods (toBase64,fromBase64,toHex,fromHex,setFromBase64,setFromHex) are now part of the nativeTypedArraysintrinsic. - New
Explicit Resource Management (
using/await usingin JavaScript) is now supported in the embedded VM. - New
New C API:
JS_GetPendingJobContext,JS_IsAsyncFunction,JS_NewUint64, support for byte imports in modules,JSON.parsesource text access. - New
Bug fixes for
Iterator.concatreentrancy, fast array UAF + overflow, property set extensibility checks, atom leaks inJS_NewSymbol, big-endian builds, and stack-trace line numbers aroundfor/ofcleanup.
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.