Packages

quickjs-wasi

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

Upgrading quickjs-wasi From 0.1.0 to 0.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.1.0Latest3.7.0
  1. 0.1.0yours
  2. 0.2.0target
1
change to make
0
advisories fixed
6
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.2.0

Release by release

  1. 0.2.0

    Migration needed7 Mar 20266 new
    • Breaking

      HostFunction type now uses TypeScript's this parameter instead of a leading _this argument. The this value from QuickJS is bound as the native this of the callback.

    • New

      Add QuickJS.serializeSnapshot() and QuickJS.deserializeSnapshot() for converting snapshots to/from a versioned binary format suitable for persistent storage (S3, databases, etc.). The format includes a magic header and version number for forward compatibility. Apply your own compression (gzip, zstd) on top for best results.

    • New

      vm.newSymbolFor(description) — create global symbols (Symbol.for())

    • New

      vm.setProp(obj, symbolHandle, value) / vm.getProp(obj, symbolHandle) — get/set properties using symbol keys

    • New

      dump() returns real host Symbol.for(description) for global symbols

    • New

      hostToHandle() converts host Symbol.for() values to QuickJS global symbols

    • New

      Local (anonymous) symbols dump as the string "Symbol(description)" and throw if passed to hostToHandle()

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.