Skip to content

Commit 54fbbb1

Browse files
TomCodedtniessen
authored andcommitted
doc: add metadata for vm code generation options
Add changes entries for vm.createContext codeGeneration option and script.runInNewContext contextCodeGeneration option. PR-URL: #19440 Fixes: #19419 Refs: #19016 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 92de0eb commit 54fbbb1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/api/vm.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,10 @@ overhead.
469469
### script.runInNewContext([sandbox[, options]])
470470
<!-- YAML
471471
added: v0.3.1
472+
changes:
473+
- version: REPLACEME
474+
pr-url: https://github.com/nodejs/node/pull/19016
475+
description: The `contextCodeGeneration` option is supported now.
472476
-->
473477

474478
* `sandbox` {Object} An object that will be [contextified][]. If `undefined`, a
@@ -573,6 +577,10 @@ console.log(globalVar);
573577
## vm.createContext([sandbox[, options]])
574578
<!-- YAML
575579
added: v0.3.1
580+
changes:
581+
- version: REPLACEME
582+
pr-url: https://github.com/nodejs/node/pull/19016
583+
description: The `codeGeneration` option is supported now.
576584
-->
577585

578586
* `sandbox` {Object}

0 commit comments

Comments
 (0)