Skip to content

Releases: casual-simulation/node-deno-vm

v0.8.4

25 Jan 05:39

Choose a tag to compare

Changes:

  • Added the exit event.
    • This event is triggered on DenoWorker instances when the Deno child process exits.
    • Available via the onexit property or by using worker.addEventListener("exit", listener).

v0.8.3

15 Dec 19:48

Choose a tag to compare

Changes:

  • Added the denoNoCheck option to DenoWorker for the --no-check flag.

v0.8.2

13 Dec 18:15

Choose a tag to compare

Changes:

  • Added the denoV8Flags, denoImportMapPath, denoCachedOnly, and denoLockFilePath options to DenoWorker for the --v8-flags, --import-map, --cached-only, and --lock flags.

v0.8.1

12 Aug 19:36

Choose a tag to compare

Changes:

  • Updated to support Deno 1.12.
    • Deno 1.12 added the MessageChannel and MessagePort APIs which caused MessagePort instances to be untransferrable.
  • Added the denoUnstable option to DenoWorker to enable unstable Deno features.

v0.8.0

17 Sep 19:48

Choose a tag to compare

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

10 Sep 04:23
58b9267

Choose a tag to compare

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 SIGKILL signal to the Deno subprocess.
    • On Windows, this means using taskkill with the /T and /F options.

v0.7.3

29 Aug 02:32

Choose a tag to compare

Changes:

  • Fixed to use the global Object.hasOwnProperty() function instead of relying on objects to have it themselves.

v0.7.2

27 Jul 23:01

Choose a tag to compare

chore: Update version

v0.7.1

27 Jul 19:01

Choose a tag to compare

Changes:

  • Fixed to log stdout and stderr in UTF-8.

v0.7.0

27 Jul 18:28

Choose a tag to compare

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.