3
3
with(this){__filename}
4
4
^^^^
5
5
SyntaxError: Strict mode code may not include a with statement
6
- at new Script (vm.js :*:*)
7
- at createScript (vm.js :*:*)
8
- at Object.runInThisContext (vm.js :*:*)
9
- at internal/process/execution.js :*:*
6
+ at new Script (node:vm :*:*)
7
+ at createScript (node:vm :*:*)
8
+ at Object.runInThisContext (node:vm :*:*)
9
+ at node: internal/process/execution:*:*
10
10
at [eval]-wrapper:*:*
11
- at evalScript (internal/process/execution.js :*:*)
12
- at internal/main/eval_string.js :*:*
11
+ at evalScript (node: internal/process/execution:*:*)
12
+ at node: internal/main/eval_string:*:*
13
13
42
14
14
42
15
15
[eval]:1
@@ -18,38 +18,38 @@ throw new Error("hello")
18
18
19
19
Error: hello
20
20
at [eval]:1:7
21
- at Script.runInThisContext (vm.js :*:*)
22
- at Object.runInThisContext (vm.js :*:*)
23
- at internal/process/execution.js :*:*
21
+ at Script.runInThisContext (node:vm :*:*)
22
+ at Object.runInThisContext (node:vm :*:*)
23
+ at node: internal/process/execution:*:*
24
24
at [eval]-wrapper:*:*
25
- at evalScript (internal/process/execution.js :*:*)
26
- at internal/main/eval_string.js :*:*
25
+ at evalScript (node: internal/process/execution:*:*)
26
+ at node: internal/main/eval_string:*:*
27
27
28
28
[eval]:1
29
29
throw new Error("hello")
30
30
^
31
31
32
32
Error: hello
33
33
at [eval]:1:7
34
- at Script.runInThisContext (vm.js :*:*)
35
- at Object.runInThisContext (vm.js :*:*)
36
- at internal/process/execution.js :*:*
34
+ at Script.runInThisContext (node:vm :*:*)
35
+ at Object.runInThisContext (node:vm :*:*)
36
+ at node: internal/process/execution:*:*
37
37
at [eval]-wrapper:*:*
38
- at evalScript (internal/process/execution.js :*:*)
39
- at internal/main/eval_string.js :*:*
38
+ at evalScript (node: internal/process/execution:*:*)
39
+ at node: internal/main/eval_string:*:*
40
40
100
41
41
[eval]:1
42
42
var x = 100; y = x;
43
43
^
44
44
45
45
ReferenceError: y is not defined
46
46
at [eval]:1:16
47
- at Script.runInThisContext (vm.js :*:*)
48
- at Object.runInThisContext (vm.js :*:*)
49
- at internal/process/execution.js :*:*
47
+ at Script.runInThisContext (node:vm :*:*)
48
+ at Object.runInThisContext (node:vm :*:*)
49
+ at node: internal/process/execution:*:*
50
50
at [eval]-wrapper:*:*
51
- at evalScript (internal/process/execution.js :*:*)
52
- at internal/main/eval_string.js :*:*
51
+ at evalScript (node: internal/process/execution:*:*)
52
+ at node: internal/main/eval_string:*:*
53
53
54
54
[eval]:1
55
55
var ______________________________________________; throw 10
0 commit comments