quickjs-wasi
3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed
Upgrading quickjs-wasi From 1.0.0 to 1.3.0
3 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.3.0
Release by release
- Breaking
Breaking change:
WasiOptionsis now a factory function instead of an object with anow()method. - New
Add Web Crypto API extension (
quickjs-wasi/crypto) backed by mbedTLS 4.0 PSA Crypto - Fixed
Fix
resolveModule()to usenew URL()pattern recognized by@vercel/nft, ensuringquickjs.wasmis included in traced file lists
- Breaking
- New
Add
defineProp()method on bothQuickJSandJSValueHandlefor defining properties with explicit descriptor flags (writable,enumerable,configurable), similar toObject.defineProperty(). Accepts string orJSValueHandlekeys, supporting symbols. - New
Add native WASM
Headersextension implementing the WHATWG Fetch Standard Headers API. Supports constructor (record, sequence, or Headers init),append,delete,get,getSetCookie,has,set,entries,keys,values,forEach, andSymbol.iteratorwith spec-compliant case-insensitive name matching, value normalization, sorted iteration, and Set-Cookie handling. - Fixed
Fix native extension global property descriptors to match web browser behavior.
TextEncoder,TextDecoder,URL, andURLSearchParamsare now defined as writable and configurable but not enumerable onglobalThis, matching how browsers define them.btoa,atob, andstructuredClonewere already correct.
- New
- New
Add
quickjs-wasi/base64sub-export with WHATWG-compliant atob and btoa - New
Add
quickjs-wasi/encodingsub-export with WHATWG-compliant TextEncoder and TextDecoder - New
Add
quickjs-wasi/structured-clonesub-export with WHATWG-compliant structuredClone - New
Add
quickjs-wasi/urlsub-export with WHATWG-compliant URL and URLSearchParams backed by ada-url
- New
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.