Packages

quickjs-wasi

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

Your version

3.5.0

20 Aug 2026Where it was published

3.7.0 is the newest release of 3.x.

In short

1 security2 new2 fixed

  • Security

    Update quickjs-ng from v0.15.1 to v0.16.2: brings the iterator chunking/includes/join proposals, the Error.prototype.stack accessor proposal, a faster register-based regexp engine, a new arena allocator, and many correctness/security fixes.

Release note

Minor Changes

  • Add handle.className: the engine-level class name of a value (e.g. "Map", "Date", "URL") read trap-free from the class table — unlike constructorName, it executes no guest code and cannot be spoofed by prototype/constructor reassignment.

  • Add vm.markPromiseHandled(promise): suppress the onUnhandledRejection callback for a promise whose rejection the host observes through other means.

  • Security

    Update quickjs-ng from v0.15.1 to v0.16.2: brings the iterator chunking/includes/join proposals, the Error.prototype.stack accessor proposal, a faster register-based regexp engine, a new arena allocator, and many correctness/security fixes.

Patch Changes

  • resolvePromise(), Deferred.settled, and module namespace resolution now subscribe via quickjs-ng's engine-level JS_PromiseThen instead of a captured Promise.prototype.then, so guest code that patches then or Symbol.species can no longer intercept or observe host promise subscriptions.

  • Exceeding memoryLimit throws InternalError: out of memory again instead of a bare null (regression in 3.3.1): the limit is now enforced in the WASI malloc layer, which reserves headroom below the limit so the OOM error object can always be constructed.

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.