diff --git a/CHANGELOG.md b/CHANGELOG.md index dee662c5..15aa479b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog -# 1.8.10 +## next + +- custom module + - expose `process` global + + +## 1.8.10 - bug fixes - modal: issues with children's visibility @@ -14,9 +20,9 @@ - add `setFocus` function to focus an input widget programmatically - misc - - add `usePercents` client option + - add `usePercents` client option -# 1.8.9 +## 1.8.9 - bug fixes - script: issue when using the `options` argument in `set()` (options leaked to subsequent set() calls in the script) @@ -24,7 +30,7 @@ - multixy: spring behavior not working until all points are released - custom module: prevent require() from reading submodules files each time and instead return the object in memory -# 1.8.8 +## 1.8.8 - launcher - add file browser button for the `theme` option and fix parsing path containing spaces if only one theme is set diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 01617bed..d1b0e5c0 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -136,6 +136,7 @@ This function can be used to load native node modules or locally installed modul - `clearInterval` - `__dirname` - `__filename` +- `process` ---- diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 6b6178cf..b5c4336f 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -60,7 +60,8 @@ class CustomModule { setInterval: this.setInterval.bind(this), clearInterval: this.clearInterval.bind(this), require: this.require.bind(this), - nativeRequire: require + nativeRequire: require, + process: process } if (!this.submodule && !modulePathExtended) {