Packages

quickjs-wasi

3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.1.0

30 Mar 2026Where it was published

2.2.0 is the newest release of 2.x.

In short

3 new

Release note

Minor Changes

  • Add EvalFlags constants export and an optional flags parameter to evalCode(). The EvalFlags.ASYNC flag enables native top-level await support 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-based await detection.

  • 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(), and Uint8Array.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.