quickjs-wasi
3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed
2.2.0 is the newest release of 2.x.
In short
3 new
Release note
Minor Changes
Add
EvalFlagsconstants export and an optionalflagsparameter toevalCode(). TheEvalFlags.ASYNCflag enables native top-levelawaitsupport in evaluated scripts — the result is a Promise that resolves to the script's completion value. This is cleaner than wrapping code in an async IIFE, as it preserves last-expression-value semantics and avoids regex-basedawaitdetection.Add Uint8Array base64/hex methods to the base64 extension per the TC39 proposal-arraybuffer-base64 (Stage 4):
Uint8Array.prototype.toBase64(),Uint8Array.prototype.toHex(),Uint8Array.fromBase64(),Uint8Array.fromHex(),Uint8Array.prototype.setFromBase64(), andUint8Array.prototype.setFromHex().Update QuickJS-ng from v0.12.1 to v0.13.0. Includes bug fixes for FinalizationRegistry, async generators, regex engine, Iterator, and TypedArray, as well as performance improvements for String.prototype.concat, Promise creation, regexp operations, and context creation.
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.