Skip to content

Releases: OpenFn/core

es10-pre-release

es10-pre-release Pre-release
Pre-release

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 11 Apr 01:59
v1.3.1

initial commit for es2019 support, needs testing and compile errors

Use whitelisted Globals from VM2

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 29 Jan 13:05

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

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 27 Jan 09:11

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

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 21 Jan 09:20
v1.0.3

add back Math global

patch object issue on VM2

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 20 Jan 22:52

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

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 19 Jan 12:38

vm2 provides a more robust way to isolate code running in the sandbox from its host.

Enable `setTimeout()` for user timing control

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 12 Sep 13:21

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

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 02 Jul 16:17

Math.random(), Math.floor(), etc.

v0.6.2

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 04 Sep 14:05
bump version

v0.6.1

Choose a tag to compare

@taylordowns2000 taylordowns2000 released this 04 Sep 11:41
  • change package name in package.json from fn-lang to core