Releases: casual-simulation/node-deno-vm
Releases · casual-simulation/node-deno-vm
v0.8.4
Changes:
- Added the
exitevent.- This event is triggered on
DenoWorkerinstances when the Deno child process exits. - Available via the
onexitproperty or by usingworker.addEventListener("exit", listener).
- This event is triggered on
v0.8.3
Changes:
- Added the
denoNoCheckoption toDenoWorkerfor the--no-checkflag.- Thanks to @derekwheel for contributing this! (#13)
v0.8.2
Changes:
- Added the
denoV8Flags,denoImportMapPath,denoCachedOnly, anddenoLockFilePathoptions toDenoWorkerfor the--v8-flags,--import-map,--cached-only, and--lockflags.- Thanks to @derekwheel for contributing this! (#12)
v0.8.1
Changes:
- Updated to support Deno 1.12.
- Deno 1.12 added the
MessageChannelandMessagePortAPIs which causedMessagePortinstances to be untransferrable.
- Deno 1.12 added the
- Added the
denoUnstableoption toDenoWorkerto enable unstable Deno features.
v0.8.0
Changes:
- Updated to support Deno 1.4.
- Deno 1.4 changed their WebSocket API and so we no longer need the polyfill.
v0.7.4
Changes:
- Fixed to force the Deno subprocess to close when terminating the worker.
- Forcing the process to be killed seems to be the most reasonable in the case that we're treating these like headless browser tabs.
- When we try to gracefully kill the process, Deno might ignore it if it has things like infinite loops or open handles.
- On Linux/Unix, this means sending a
SIGKILLsignal to the Deno subprocess. - On Windows, this means using
taskkillwith the/Tand/Foptions.
v0.7.3
Changes:
- Fixed to use the global
Object.hasOwnProperty()function instead of relying on objects to have it themselves.
v0.7.2
chore: Update version
v0.7.1
Changes:
- Fixed to log stdout and stderr in UTF-8.
v0.7.0
Changes:
- Added the ability to get the stdout and stderr streams from the worker and choose whether to automatically log them to the console.
- Added a global WebSocket polyfill since Deno doesn't implement the WebSocket API.