npm / quickjs-emscripten
quickjs-emscripten
What changed in quickjs-emscripten 0.32, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking5 new APIs and options3 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initquickjs-emscripten 0.329 changes
Breaking changes 1
The BigNum extension is removed.
New APIs and options 5
HostRef is exposed for use from QuickJSContext to track references to host values from guest handles.
QuickJSContext adds newConstructorFunction; its functions set this to the newly constructed object and may also return a new object.
QuickJSContext exposes newHostRef for working with HostRef.
QuickJSContext exposes toHostRef for working with HostRef.
QuickJSContext exposes unwrapHostRef for working with HostRef.
Behavior and default changes 3
BigInt is now always enabled among the runtime intrinsics.
Function binding uses HostRef tracking so host values become garbage collectable after all host and guest references are disposed.
QuickJSIterator now supports generator return values.