Skip to content

Commit 4e6f486

Browse files
authored
add note about vm.runInThisContext
1 parent b41f652 commit 4e6f486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This module provides source map support for stack traces in node via the [V8 sta
99

1010
##### Node >=12.12.0
1111

12-
This package is no longer required as [Node 12.12.0 introduced the `--enable-source-maps` flag.](https://nodejs.org/docs/latest-v16.x/api/cli.html#--enable-source-maps)
12+
This package is no longer required as [Node 12.12.0 introduced the `--enable-source-maps` flag.](https://nodejs.org/docs/latest-v16.x/api/cli.html#--enable-source-maps) (unless you're using the [`vm`](https://nodejs.org/api/vm.html) module, as `--enable-source-maps` does not work with `vm.runInThisContext`).
1313

1414
##### Node <12.12.0
1515

0 commit comments

Comments
 (0)