Commit d05f67c
cli: whitelist new V8 flag in NODE_OPTIONS
Explicitly whitelists --disallow-code-generation-from-strings in
NODE_OPTIONS as a new V8 flag. This flag prevents strings like eval()
from performing code generation.
PR-URL: #30094
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent d549a34 commit d05f67cCopy full SHA for d05f67c
File tree
Expand file treeCollapse file tree
4 files changed
+20
-0
lines changedOpen diff view settings
Filter options
- doc
- api
- src
- test/parallel
Expand file treeCollapse file tree
4 files changed
+20
-0
lines changedOpen diff view settings
Collapse file
+10Lines changed: 10 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
127 | 127 | |
128 | 128 | |
129 | 129 | |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
130 | 139 | |
131 | 140 | |
132 | 141 | |
| ||
1079 | 1088 | |
1080 | 1089 | |
1081 | 1090 | |
| 1091 | + |
1082 | 1092 | |
1083 | 1093 | |
1084 | 1094 | |
|
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
103 | 108 | |
104 | 109 | |
105 | 110 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
589 | 589 | |
590 | 590 | |
591 | 591 | |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
592 | 596 | |
593 | 597 | |
594 | 598 | |
|
Collapse file
test/parallel/test-cli-node-options.js
Copy file name to clipboardExpand all lines: test/parallel/test-cli-node-options.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
| 63 | + |
63 | 64 | |
64 | 65 | |
65 | 66 | |
|
0 commit comments