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)