Commit cb36b67
loader: fix up #18394
This commit fixes up some issues in #18394.
* Switch vm.Module internals to use the new link method properly
* Fix bug with ModuleWrap::Link
* Add tests for ModuleWrap::Link
PR-URL: #18509
Fixes: #18249
Refs: #18394
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>1 parent 02afdbc commit cb36b67Copy full SHA for cb36b67
File tree
Expand file treeCollapse file tree
5 files changed
+54
-19
lines changedOpen diff view settings
Filter options
- lib/internal
- loader
- vm
- src
- test/parallel
Expand file treeCollapse file tree
5 files changed
+54
-19
lines changedOpen diff view settings
Collapse file
lib/internal/loader/ModuleWrap.js
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
Collapse file
+18-18Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
131 | 132 | |
132 | 133 | |
133 | 134 | |
| 135 | + |
134 | 136 | |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
152 | 150 | |
| 151 | + |
153 | 152 | |
154 | | - |
| 153 | + |
| 154 | + |
155 | 155 | |
156 | 156 | |
157 | 157 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
109 | 109 | |
110 | 110 | |
111 | 111 | |
| 112 | + |
112 | 113 | |
113 | 114 | |
114 | 115 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
197 | 197 | |
198 | 198 | |
199 | 199 | |
200 | | - |
| 200 | + |
201 | 201 | |
202 | 202 | |
203 | 203 | |
|
Collapse file
test/parallel/test-internal-module-wrap.js
Copy file name to clipboard+29Lines changed: 29 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 | + |
0 commit comments