Commit 3ce51ae
authored
module: harmonize error code between ESM and CJS
PR-URL: #48606
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 586fcff commit 3ce51aeCopy full SHA for 3ce51ae
File tree
Expand file treeCollapse file tree
2 files changed
+10
-16
lines changedOpen diff view settings
Filter options
- lib/internal/modules
- test/sequential
Expand file treeCollapse file tree
2 files changed
+10
-16
lines changedOpen diff view settings
Collapse file
lib/internal/modules/package_json_reader.js
Copy file name to clipboardExpand all lines: lib/internal/modules/package_json_reader.js+9-15Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
| ||
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
90 | 84 | |
91 | 85 | |
92 | 86 | |
|
Collapse file
test/sequential/test-module-loading.js
Copy file name to clipboardExpand all lines: test/sequential/test-module-loading.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
128 | 128 | |
129 | 129 | |
130 | 130 | |
131 | | - |
| 131 | + |
132 | 132 | |
133 | 133 | |
134 | 134 | |
|
0 commit comments