doc: add changelogs for vm

PR-URL: https://github.com/nodejs/node/pull/11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
pull/11489/head
Anna Henningsen 2017-02-21 23:38:50 +01:00
parent 5d46266560
commit 08d5ab9aae
No known key found for this signature in database
GPG Key ID: D8B9F5AEAE84E4CF
1 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,11 @@ executed in specific sandboxes (or "contexts").
### new vm.Script(code, options)
<!-- YAML
added: v0.3.1
changes:
- version: v5.7.0
pr-url: https://github.com/nodejs/node/pull/4777
description: The `cachedData` and `produceCachedData` options are
supported now.
-->
* `code` {string} The JavaScript code to compile.
@ -60,6 +65,10 @@ each run, just for that run.
### script.runInContext(contextifiedSandbox[, options])
<!-- YAML
added: v0.3.1
changes:
- version: v6.3.0
pr-url: https://github.com/nodejs/node/pull/6635
description: The `breakOnSigint` option is supported now.
-->
* `contextifiedSandbox` {Object} A [contextified][] object as returned by the