Releases: discue/somewhat-secure-insecure-fn-executor
Releases · discue/somewhat-secure-insecure-fn-executor
v0.4.1
v0.4.0
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.4.0 (2024-06-08)
Features
Chores
- add eslint comments when creating freeze-globals script (6de6bf1)
- add run fn to custom lib functions (aa72a3c)
- deps-dev: bump eslint from 8.55.0 to 8.56.0 (3082be7)
- deps-dev: bump eslint from 8.56.0 to 8.57.0 (22f801e)
- deps-dev: bump mocha from 10.2.0 to 10.3.0 (a48286e)
- deps-dev: bump mocha from 10.3.0 to 10.4.0 (4cce4d2)
- deps-dev: bump nodemon from 3.0.1 to 3.0.2 (80382be)
- deps-dev: bump nodemon from 3.0.2 to 3.0.3 (5b87814)
- deps-dev: bump nodemon from 3.0.3 to 3.1.0 (ba0fc8b)
- deps-dev: bump typescript from 5.3.2 to 5.3.3 (d9811a9)
- deps-dev: bump typescript from 5.3.3 to 5.4.3 (57943ed)
- deps-dev: update dependencies (bf70fff)
- deps: bump actions/stale from 8 to 9 (7aea9d5)
- deps: bump isolated-vm from 4.6.0 to 4.7.2 (5de8636)
- deps: install jsdoc comment plugin (30392ff)
- deps: update isolated-vm (38ec2ec)
- document correct type of error stack property (49ad3b8)
- freeze also global object (7f60889)
- make sure run function is also frozen (96c66e9)
- remove method from main exports (38dfe11)
- update readme (21b9442)
- update stack line offset if script will be wrapped (5e74c06)
- use new eslint version and config (857d695)
Refactorings
- add console proxy to global environment (9ee183f)
- add script runner to isolated environment always (1823382)
- call exposed run function to execute userprovided script (736ba1a)
- create dedicate files for running and compiling scripts (edf34c6)
- initialize error with values (38e92aa)
- initialize variables in oneline (e6907b3)
- move runtime setup logic to isolate module (bde5c0b)
- name script runner methods (4e0224a)
- pass collectAndReleaseRefs as options to requestor of isolate (0bccac2)
- pass only single object to unsafe script (ccb09e3)
- rename isolate methods (a3fa29f)
- rename local variables of main export (ae492ac)
- rename runScript to installScript for better clarity (28024aa)
- rename variable console to logs (79d73b7)
- wrap user script in compiler function (1140bca)
v0.3.0
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.3.0 (2023-12-04)
Bug Fixes
- scripts cannot be resolved when used as module (a262bf2)
Chores
- publish only lib folder and license (cb6b5e3)
v0.2.0
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.2.0 (2023-12-04)
Features
- remove whitespace before stack trace lines (4507068)
Bug Fixes
- args must be provided as array to internals (c079ba9)
Chores
- document nodejs globals are not available (d6cb201)
- update mocha command to run tests recursively (23990e1)
0.1.0 (2023-12-04)
Features
- add isolate script (4c2402b)
- add module entry point (bc8c5f7)
- add object helper scripts (d4b1f30)
- add script for base encoding and decoding (954c06a)
- allow customizatino of fn arg names (3b82941)
- do not allow exec of eval, Function, WebAssembly (8c1f5d0)
- enforce strict mode for user provided scripts (2fe5d61)
- ensure stack trace line numbers and script names are readable (e8d95a0)
- freeze all globals objects before script execution (aa1c6f5)
- isolate: return return value from callback (0f8adcc)
Chores
- add changelog creation script (2e403b4)
- add checkout script for model training (f9ed75c)
- add code coverage script (0330d7d)
- add config for changelog (587113d)
- add console proxy script (3dd62e1)
- add eslint config (e869065)
- add functions to setup helpers in isolates (7120ccc)
- add github workflows (fe6bc7a)
- add gitignore (0ff4875)
- add license (cfdff4b)
- add package files (adcd254)
- add package scripts (6c7f538)
- add readme (1b68432)
- add script handler runner (633ac86)
- add script runner (0f58ad4)
- add test script (ec76523)
- add test setup script (f6a5951)
- add workflow for model training (509ffdd)
- add wrapper for user provided script (210bd57)
- ci: update name of test concurrency group (d86b2fd)
- deps-dev: bump eslint from 8.52.0 to 8.55.0 (f435097)
- deps: bump actions/setup-node from 3 to 4 (4f02d88)
- deps: fixup (553d7db)
- deps: install js encode libs (ad89892)
- deps: install tsc to compile types (248ea1b)
- deps: remove ml training dependencies (a4fba6d)
- freeze also Promise (c81f456)
- freeze also String object (5bdd2e5)
- install standard-version (ef982b2)
- remove ml training scripts (5421f84)
- remove training workflow (ec4a4b3)
- rename function param name (37794e2)
- rename user provided fn again (c86d56d)
- return stack trace as array (548d0d5)
- return undefined if no result or no error set (d030852)
- training: add categories (82931eb)
- training: add encoding scripts (050f35c)
- training: add js stopwords (ccbbbc0)
- training: add script for training with classify (aaf3913)
- udpate freeze globals script (87cb74b)
- update gitignore (29cd7e1)
- update gitignore (be48c62)
- update helper script names (50399df)
- update jsdoc for main function (3fc9965)
- update list frozen objects (061126c)
- update name of user function (8e49aef)
...
v0.1.0
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.1.0 (2023-12-04)
Features
- add isolate script (4c2402b)
- add module entry point (bc8c5f7)
- add object helper scripts (d4b1f30)
- add script for base encoding and decoding (954c06a)
- allow customizatino of fn arg names (3b82941)
- do not allow exec of eval, Function, WebAssembly (8c1f5d0)
- enforce strict mode for user provided scripts (2fe5d61)
- ensure stack trace line numbers and script names are readable (e8d95a0)
- freeze all globals objects before script execution (aa1c6f5)
- isolate: return return value from callback (0f8adcc)
Chores
- add changelog creation script (2e403b4)
- add checkout script for model training (f9ed75c)
- add code coverage script (0330d7d)
- add config for changelog (587113d)
- add console proxy script (3dd62e1)
- add eslint config (e869065)
- add functions to setup helpers in isolates (7120ccc)
- add github workflows (fe6bc7a)
- add gitignore (0ff4875)
- add license (cfdff4b)
- add package files (adcd254)
- add package scripts (6c7f538)
- add readme (1b68432)
- add script handler runner (633ac86)
- add script runner (0f58ad4)
- add test script (ec76523)
- add test setup script (f6a5951)
- add workflow for model training (509ffdd)
- add wrapper for user provided script (210bd57)
- ci: update name of test concurrency group (d86b2fd)
- deps-dev: bump eslint from 8.52.0 to 8.55.0 (f435097)
- deps: bump actions/setup-node from 3 to 4 (4f02d88)
- deps: fixup (553d7db)
- deps: install js encode libs (ad89892)
- deps: install tsc to compile types (248ea1b)
- deps: remove ml training dependencies (a4fba6d)
- freeze also Promise (c81f456)
- freeze also String object (5bdd2e5)
- install standard-version (ef982b2)
- remove ml training scripts (5421f84)
- remove training workflow (ec4a4b3)
- rename function param name (37794e2)
- rename user provided fn again (c86d56d)
- return stack trace as array (548d0d5)
- return undefined if no result or no error set (d030852)
- training: add categories (82931eb)
- training: add encoding scripts (050f35c)
- training: add js stopwords (ccbbbc0)
- training: add script for training with classify (aaf3913)
- udpate freeze globals script (87cb74b)
- update gitignore (29cd7e1)
- update gitignore (be48c62)
- update helper script names (50399df)
- update jsdoc for main function (3fc9965)
- update list frozen objects (061126c)
- update name of user function (8e49aef)
- update readme (d2bc2e1)
- update readme (b511a1b)