Packages

quickjs-wasi

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

Upgrading quickjs-wasi From 3.6.3 to 3.7.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 3.6.3yours
  2. 3.6.4
  3. 3.7.0target
0
changes to make
0
advisories fixed
2
new
6
fixes

Release by release

  1. 3.7.0

    13 Nov 20262 new
    • New

      Add vm.getAllocatedSize(), a constant-time read of the bytes the runtime has allocated: the value memoryLimit is enforced against. Unlike vm.getMemoryUsage(), which walks the whole heap, its cost doesn't grow with heap size, so it suits frequent sampling. getMemoryUsage() also reports the same value as a new allocatedSize field.

    • New

      Update QuickJS-NG from v0.17.0 to v0.18.0. Out-of-memory errors (InternalError: out of memory) can no longer be caught by guest code: guest catch/finally blocks are skipped and the error propagates to the host as a JSException, leaving the VM usable. The release also includes fixes for String.prototype.repeat, Reflect.set, computed property assignment order, template literal conversion, Date.parse with Unicode spaces, and several memory leaks.

  2. 3.6.4

    6 Nov 20266 fixes
    • Fixed

      Preserve native exceptions instead of dispatching a host callback when callback-name encoding fails.

    • Fixed

      Surface native Deferred resolver failures and release both resolvers even when invocation fails, while preserving one-shot settlement.

    • Fixed

      Reject failed host-function construction without retaining callbacks, preserve earlier pending exceptions on success, and roll back incomplete Promise subscriptions.

    • Fixed

      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.

    • Fixed

      Throw on failed host Promise construction before publishing a Deferred, release partial resolver ownership, and preserve earlier pending exceptions on success.

    • Fixed

      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 interruptHandler interrupts remain recoverable.

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.