diff options
author | TomCoded <tomtinkerer@gmail.com> | 2018-03-19 05:56:00 +0000 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2018-03-25 12:30:27 +0200 |
commit | 54fbbb1037f92e7dc2ecd933e59586c3e6ab7796 (patch) | |
tree | 9b42c5bbdf2704547a428e971a14e5aba5948369 | |
parent | 92de0eb4197c951703aeb4759a3ef9c6897c10ee (diff) | |
download | android-node-v8-54fbbb1037f92e7dc2ecd933e59586c3e6ab7796.tar.gz android-node-v8-54fbbb1037f92e7dc2ecd933e59586c3e6ab7796.tar.bz2 android-node-v8-54fbbb1037f92e7dc2ecd933e59586c3e6ab7796.zip |
doc: add metadata for vm code generation options
Add changes entries for vm.createContext codeGeneration
option and script.runInNewContext contextCodeGeneration
option.
PR-URL: https://github.com/nodejs/node/pull/19440
Fixes: https://github.com/nodejs/node/issues/19419
Refs: https://github.com/nodejs/node/pull/19016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | doc/api/vm.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md index b9ccf93b7b..c729ef5999 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -469,6 +469,10 @@ overhead. ### script.runInNewContext([sandbox[, options]]) <!-- YAML added: v0.3.1 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/19016 + description: The `contextCodeGeneration` option is supported now. --> * `sandbox` {Object} An object that will be [contextified][]. If `undefined`, a @@ -573,6 +577,10 @@ console.log(globalVar); ## vm.createContext([sandbox[, options]]) <!-- YAML added: v0.3.1 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/19016 + description: The `codeGeneration` option is supported now. --> * `sandbox` {Object} |