Commit 6a16012
util: inspect: do not crash on an Error with a regex
See #56570
PR-URL: #56574
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>name
1 parent 9bd438a commit 6a16012Copy full SHA for 6a16012
File tree
Expand file treeCollapse file tree
2 files changed
+31
-8
lines changedOpen diff view settings
Filter options
- lib/internal/util
- test/parallel
Expand file treeCollapse file tree
2 files changed
+31
-8
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspect.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js+14-3Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
| 91 | + |
91 | 92 | |
92 | 93 | |
93 | 94 | |
| ||
733 | 734 | |
734 | 735 | |
735 | 736 | |
| 737 | + |
736 | 738 | |
737 | 739 | |
738 | 740 | |
| ||
1316 | 1318 | |
1317 | 1319 | |
1318 | 1320 | |
| 1321 | + |
1319 | 1322 | |
1320 | 1323 | |
1321 | 1324 | |
1322 | 1325 | |
1323 | 1326 | |
| 1327 | + |
| 1328 | + |
| 1329 | + |
| 1330 | + |
| 1331 | + |
| 1332 | + |
| 1333 | + |
| 1334 | + |
1324 | 1335 | |
1325 | 1336 | |
1326 | 1337 | |
| ||
1353 | 1364 | |
1354 | 1365 | |
1355 | 1366 | |
1356 | | - |
1357 | | - |
| 1367 | + |
| 1368 | + |
1358 | 1369 | |
1359 | 1370 | |
1360 | 1371 | |
| ||
1414 | 1425 | |
1415 | 1426 | |
1416 | 1427 | |
1417 | | - |
| 1428 | + |
1418 | 1429 | |
1419 | 1430 | |
1420 | 1431 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+17-5Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
770 | 770 | |
771 | 771 | |
772 | 772 | |
773 | | - |
774 | | - |
775 | | - |
| 773 | + |
| 774 | + |
| 775 | + |
776 | 776 | |
777 | 777 | |
778 | | - |
| 778 | + |
779 | 779 | |
780 | | - |
| 780 | + |
781 | 781 | |
782 | 782 | |
783 | 783 | |
| ||
3404 | 3404 | |
3405 | 3405 | |
3406 | 3406 | |
| 3407 | + |
| 3408 | + |
| 3409 | + |
| 3410 | + |
| 3411 | + |
| 3412 | + |
| 3413 | + |
| 3414 | + |
| 3415 | + |
| 3416 | + |
| 3417 | + |
| 3418 | + |
0 commit comments