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>
This commit is contained in:
parent
5d46266560
commit
08d5ab9aae
@ -25,6 +25,11 @@ executed in specific sandboxes (or "contexts").
|
|||||||
### new vm.Script(code, options)
|
### new vm.Script(code, options)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.3.1
|
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.
|
* `code` {string} The JavaScript code to compile.
|
||||||
@ -60,6 +65,10 @@ each run, just for that run.
|
|||||||
### script.runInContext(contextifiedSandbox[, options])
|
### script.runInContext(contextifiedSandbox[, options])
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.3.1
|
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
|
* `contextifiedSandbox` {Object} A [contextified][] object as returned by the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user