Releases: OpenFn/core
es10-pre-release
v1.3.1 initial commit for es2019 support, needs testing and compile errors
Use whitelisted Globals from VM2
VM2 is designed to securely execute unknown code in a NodeVM, we'll use their initial safe sandbox then extend it with the language-package.
mock console when requested
This release allows users to mock the console (returning "console is disabled.") when console.log(...), warn, info, or error
is called. It can be used to limit what's readable by custom javascript written outside the language packages in the expression itself.
patch to restore `Math` module
v1.0.3 add back Math global
patch object issue on VM2
Changes how builtins are allowed in the VM. Note that there is an issue with arrays on Node 10, but Node 6, 8, and 12 are working fine.
shift to vm2
vm2 provides a more robust way to isolate code running in the sandbox from its host.
Enable `setTimeout()` for user timing control
We've enabled setTimeout(...)
here so that users can introduce delays (throttling) to their jobs when being processed in bulk. On the platform, runs will still be aborted after 600s.
Also bumping to v1.0.0 in recognition of the fact that this has been in stable, production use for about 4 years now!
Enable "Math" module
Math.random()
, Math.floor()
, etc.
v0.6.2
bump version
v0.6.1
- change package name in package.json from
fn-lang
tocore