From 54fbbb1037f92e7dc2ecd933e59586c3e6ab7796 Mon Sep 17 00:00:00 2001 From: TomCoded Date: Mon, 19 Mar 2018 05:56:00 +0000 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: Gus Caplan Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: James M Snell --- doc/api/vm.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/api/vm.md b/doc/api/vm.md index b9ccf93b7be..c729ef59991 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -469,6 +469,10 @@ overhead. ### script.runInNewContext([sandbox[, options]]) * `sandbox` {Object} An object that will be [contextified][]. If `undefined`, a @@ -573,6 +577,10 @@ console.log(globalVar); ## vm.createContext([sandbox[, options]]) * `sandbox` {Object}