quickjs-wasi
3.7.0 · 13 Nov 2026MIT14.3M / weekRepositoryHomepagenpmAtom feed
3.7.0 is the newest release of 3.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 1 change to make.
Before you upgrade
- executePendingJobs now throws JSException; update catch logic relying on 'Job execution error' message
In short
6 fixed
Release note
Patch Changes
Preserve native exceptions instead of dispatching a host callback when callback-name encoding fails.
Surface native Deferred resolver failures and release both resolvers even when invocation fails, while preserving one-shot settlement.
Reject failed host-function construction without retaining callbacks, preserve earlier pending exceptions on success, and roll back incomplete Promise subscriptions.
Propagate guest allocation and property write exceptions from host data construction instead of returning exception handles or partially populated values. Release partial conversions and preserve native exceptions across host callbacks, module loaders, and handle-scope boundaries.
Throw on failed host Promise construction before publishing a Deferred, release partial resolver ownership, and preserve earlier pending exceptions on success.
Terminate the VM and reject its host Promise observers when automatic host-Promise settlement or draining fails. Preserve the original host failure, ignore late completions after disposal, and keep private resolver handles alive across scope exit. Ordinary guest rejection remains a resolved error result; synchronous failures and
interruptHandlerinterrupts remain recoverable.executePendingJobs()now throws the job's original exception as aJSException(for example, messageinterrupted) instead of a plainErrorwith aJob execution error: ...message.
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.