diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-03-16 15:23:39 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-04-03 17:59:22 +0200 |
commit | 34d988f122c206da692b5c39ec5342fec22b60ab (patch) | |
tree | e1735f265ea1d0d936b5aab6985d9d48389af05b /doc | |
parent | a820f4155b5e9a742fec750b437036dcd98d3271 (diff) | |
download | android-node-v8-34d988f122c206da692b5c39ec5342fec22b60ab.tar.gz android-node-v8-34d988f122c206da692b5c39ec5342fec22b60ab.tar.bz2 android-node-v8-34d988f122c206da692b5c39ec5342fec22b60ab.zip |
vm: move options checks from C++ to JS
Also introduces stronger type validations for options passed to vm
functions.
PR-URL: https://github.com/nodejs/node/pull/19398
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/vm.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md index 25efc85cf6..3712fa4f2b 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -619,6 +619,9 @@ console.log(globalVar); added: v0.3.1 changes: - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/19398 + description: The `sandbox` option can no longer be a function. + - version: REPLACEME pr-url: https://github.com/nodejs/node/pull/19016 description: The `codeGeneration` option is supported now. --> |