summaryrefslogtreecommitdiff
path: root/doc/api/vm.md
diff options
context:
space:
mode:
authorJosh Gavant <josh.gavant@outlook.com>2017-05-03 12:02:03 -0700
committerAnna Henningsen <anna@addaleax.net>2017-10-23 17:17:16 +0200
commit88e55fe5e0dc0c8da72a64677b278b41d5e5ed22 (patch)
tree28010206dd5c6a9a32af5997d055ef9663ba6785 /doc/api/vm.md
parent3e25e4d00f382641af1c78a28b02296bef686c1e (diff)
downloadandroid-node-v8-88e55fe5e0dc0c8da72a64677b278b41d5e5ed22.tar.gz
android-node-v8-88e55fe5e0dc0c8da72a64677b278b41d5e5ed22.tar.bz2
android-node-v8-88e55fe5e0dc0c8da72a64677b278b41d5e5ed22.zip
vm: deprecate vm.runInDebugContext
PR-URL: https://github.com/nodejs/node/pull/12815 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r--doc/api/vm.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 230054cba9..3dd7a3c8dc 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -313,6 +313,11 @@ console.log(util.inspect(sandbox));
## vm.runInDebugContext(code)
<!-- YAML
added: v0.11.14
+deprecated: v8.0.0
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/12815
+ description: Calling this function now emits a deprecation warning.
-->
> Stability: 0 - Deprecated. An alternative is in development.