Sourced from vm2's releases.
3.9.18
New Features
https://github.com/patriksimek/vm2/commit/dd81ff616ff528de5dc7a1cf2939de3d3701539d: Add resolver API to create a shared resolver for multiple
NodeVM
instances allowing to cache scripts and increase sandbox startup times. https://github.com/patriksimek/vm2/commit/4d662e34d369b920943eee139ef60fb557666a43: Allow to pass a function torequire.context
which is called with the filename allowing to specify the context pre file. (Thanks to@blakebyrnes
)Fixes
https://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf: Fix issue leaking host array through
Proxy
. (Thanks to@arkark
(Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc.) https://github.com/patriksimek/vm2/commit/5206ba25afd86ef547a2c9d48d46ca7a9e6ec238: Fix issue withinspect
being writeable. (Thanks to@arkark
(Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc.)
Sourced from vm2's changelog.
v3.9.18 (2023-05-15)
[fix] Multiple security fixes. [new] Add resolver API to create a shared resolver for multiple
NodeVM
instances allowing to cache scripts and increase sandbox startup times. [new] Allow to pass a function torequire.context
which is called with the filename allowing to specify the context pre file.
2f446e5
Release 3.9.18587bb13
Add tests for past vulnerabilitiesf5a129a
Merge branch 'master' of https://github.com/patriksimek/vm2dd81ff6
Merge pull request #519
from XmiliaH/resolver-apiaf983a8
Merge remote-tracking branch 'upstream/master' into resolver-api5206ba2
Inspect method should be readonlyd88105f
Ensure host array does not leak through proxy4d662e3
Merge pull request #521
from ulixee/pathContext1728bdf
chore: simplify default function for path context7d16a56
Merge branch 'patriksimek:master' into pathContext