mirror of https://github.com/nodejs/node.git
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
parent
5d46266560
commit
08d5ab9aae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue