Commit 640353a
lib,repl: ignore non-canBeRequiredByUsers built-in
e.g. `wasi` under no `--experimental-wasi-unstable-preview1` flag
shouldn't be pre-required.
PR-URL: #39942
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>1 parent 29104f5 commit 640353aCopy full SHA for 640353a
File tree
Expand file treeCollapse file tree
4 files changed
+44
-5
lines changedOpen diff view settings
Filter options
- lib
- internal
- main
- modules/cjs
- test/parallel
Expand file treeCollapse file tree
4 files changed
+44
-5
lines changedOpen diff view settings
Collapse file
lib/internal/main/eval_string.js
Copy file name to clipboardExpand all lines: lib/internal/main/eval_string.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
lib/internal/modules/cjs/helpers.js
Copy file name to clipboardExpand all lines: lib/internal/modules/cjs/helpers.js+10-3Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
131 | 131 | |
132 | 132 | |
133 | 133 | |
134 | | - |
| 134 | + |
135 | 135 | |
136 | | - |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
137 | 144 | |
138 | 145 | |
139 | 146 | |
| ||
157 | 164 | |
158 | 165 | |
159 | 166 | |
160 | | - |
| 167 | + |
161 | 168 | |
162 | 169 | |
163 | 170 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1098 | 1098 | |
1099 | 1099 | |
1100 | 1100 | |
1101 | | - |
| 1101 | + |
1102 | 1102 | |
1103 | 1103 | |
1104 | 1104 | |
|
Collapse file
test/parallel/test-repl-built-in-modules.js
Copy file name to clipboard+32Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
0 commit comments