Commit 7be4a39
process: make internal/queue_microtask.js more self-contained
- Instead of passing triggerFatalException through node.js,
simply put it on `internalBinding('util')` which has to be
loaded anyway.
- Expose the implementation of `queueMicrotask` directly instead
of through an unnecessary factory function.
PR-URL: #25189
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 8abcc76 commit 7be4a39Copy full SHA for 7be4a39
File tree
Expand file treeCollapse file tree
4 files changed
+36
-41
lines changedOpen diff view settings
Filter options
- lib/internal
- bootstrap
- src
Expand file treeCollapse file tree
4 files changed
+36
-41
lines changedOpen diff view settings
Collapse file
lib/internal/bootstrap/node.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/node.js+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
18 | | - |
| 17 | + |
19 | 18 | |
20 | 19 | |
21 | 20 | |
| ||
619 | 618 | |
620 | 619 | |
621 | 620 | |
622 | | - |
| 621 | + |
623 | 622 | |
624 | 623 | |
625 | | - |
| 624 | + |
626 | 625 | |
627 | | - |
| 626 | + |
628 | 627 | |
629 | 628 | |
630 | 629 | |
| ||
633 | 632 | |
634 | 633 | |
635 | 634 | |
636 | | - |
| 635 | + |
637 | 636 | |
638 | 637 | |
639 | 638 | |
|
Collapse file
lib/internal/queue_microtask.js
Copy file name to clipboardExpand all lines: lib/internal/queue_microtask.js+28-29Lines changed: 28 additions & 29 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
7 | 10 | |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 | |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
18 | 20 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
33 | 34 | |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
| 35 | + |
| 36 | + |
38 | 37 | |
39 | | - |
| 38 | + |
Collapse file
+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1163 | 1163 | |
1164 | 1164 | |
1165 | 1165 | |
1166 | | - |
| 1166 | + |
1167 | 1167 | |
1168 | 1168 | |
1169 | 1169 | |
1170 | | - |
1171 | 1170 | |
1172 | 1171 | |
1173 | 1172 | |
1174 | 1173 | |
1175 | | - |
1176 | | - |
1177 | | - |
1178 | 1174 | |
1179 | 1175 | |
1180 | 1176 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
| ||
221 | 222 | |
222 | 223 | |
223 | 224 | |
224 | | - |
| 225 | + |
225 | 226 | |
226 | 227 | |
227 | 228 | |
|
0 commit comments