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…
- 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
- Breaking
HostFunctiontype now uses TypeScript'sthisparameter instead of a leading_thisargument. Thethisvalue from QuickJS is bound as the nativethisof the callback. - New
Add
QuickJS.serializeSnapshot()andQuickJS.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 hostSymbol.for(description)for global symbols - New
hostToHandle()converts hostSymbol.for()values to QuickJS global symbols - New
Local (anonymous) symbols dump as the string
"Symbol(description)"and throw if passed tohostToHandle()
- Breaking
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.