quickjs-wasi
3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed
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.stackaccessor 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 — unlikeconstructorName, it executes no guest code and cannot be spoofed by prototype/constructor reassignment.Add
vm.markPromiseHandled(promise): suppress theonUnhandledRejectioncallback 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.stackaccessor 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-levelJS_PromiseTheninstead of a capturedPromise.prototype.then, so guest code that patchesthenorSymbol.speciescan no longer intercept or observe host promise subscriptions.Exceeding
memoryLimitthrowsInternalError: out of memoryagain instead of a barenull(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.