Commit 98907f5
module: runtime-deprecate module.register()
PR-URL: #62401
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>1 parent cd391b5 commit 98907f5Copy full SHA for 98907f5
5 files changed
+90-2Lines changed: 90 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
- lib/internal/modules/esm
- test
- es-module
- module-hooks
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+13-1Lines changed: 13 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4527 | 4527 | |
4528 | 4528 | |
4529 | 4529 | |
| 4530 | + |
| 4531 | + |
| 4532 | + |
4530 | 4533 | |
4531 | 4534 | |
4532 | 4535 | |
4533 | 4536 | |
4534 | 4537 | |
4535 | | - |
| 4538 | + |
4536 | 4539 | |
4537 | 4540 | |
4538 | 4541 | |
4539 | 4542 | |
| 4543 | + |
| 4544 | + |
| 4545 | + |
| 4546 | + |
| 4547 | + |
| 4548 | + |
| 4549 | + |
| 4550 | + |
4540 | 4551 | |
4541 | 4552 | |
4542 | 4553 | |
| ||
4696 | 4707 | |
4697 | 4708 | |
4698 | 4709 | |
| 4710 | + |
4699 | 4711 | |
4700 | 4712 | |
4701 | 4713 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
180 | 180 | |
181 | 181 | |
182 | 182 | |
| 183 | + |
| 184 | + |
| 185 | + |
183 | 186 | |
184 | 187 | |
185 | 188 | |
|
Collapse file
lib/internal/modules/esm/loader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/esm/loader.js+13-1Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
35 | 38 | |
36 | 39 | |
37 | 40 | |
| ||
955 | 958 | |
956 | 959 | |
957 | 960 | |
| 961 | + |
| 962 | + |
| 963 | + |
| 964 | + |
| 965 | + |
| 966 | + |
| 967 | + |
958 | 968 | |
| 969 | + |
| 970 | + |
959 | 971 | |
960 | 972 | |
961 | 973 | |
|
Collapse file
test/es-module/test-esm-register-deprecation.mjs
Copy file name to clipboard+60Lines changed: 60 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 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
Collapse file
test/module-hooks/test-async-loader-hooks-use-hooks-require-esm.mjs
Copy file name to clipboardExpand all lines: test/module-hooks/test-async-loader-hooks-use-hooks-require-esm.mjs+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
10 | 11 | |
11 | 12 | |
12 | 13 | |
|
0 commit comments