Commit 5931747
util: inspect all prototypes
It is currently difficult to distinguish multiple objects from each
other because the prototype is not properly inspected. From now on
all prototypes will be inspected, even if we do not fully know how
they will look like / what their shape really is.
PR-URL: #24974
Fixes: #24917
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent a9f239f commit 5931747Copy full SHA for 5931747
File tree
Expand file treeCollapse file tree
2 files changed
+25
-9
lines changedOpen diff view settings
Filter options
- lib/internal/util
- test/parallel
Expand file treeCollapse file tree
2 files changed
+25
-9
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspect.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js+7-6Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
322 | 322 | |
323 | 323 | |
324 | 324 | |
325 | | - |
| 325 | + |
326 | 326 | |
327 | 327 | |
328 | 328 | |
| ||
341 | 341 | |
342 | 342 | |
343 | 343 | |
344 | | - |
345 | | - |
346 | 344 | |
347 | | - |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
348 | 349 | |
349 | 350 | |
350 | 351 | |
| ||
503 | 504 | |
504 | 505 | |
505 | 506 | |
506 | | - |
| 507 | + |
507 | 508 | |
508 | 509 | |
509 | 510 | |
| ||
547 | 548 | |
548 | 549 | |
549 | 550 | |
550 | | - |
| 551 | + |
551 | 552 | |
552 | 553 | |
553 | 554 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+18-3Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1738 | 1738 | |
1739 | 1739 | |
1740 | 1740 | |
1741 | | - |
| 1741 | + |
1742 | 1742 | |
1743 | 1743 | |
1744 | 1744 | |
1745 | 1745 | |
1746 | 1746 | |
1747 | | - |
| 1747 | + |
| 1748 | + |
| 1749 | + |
| 1750 | + |
| 1751 | + |
1748 | 1752 | |
1749 | 1753 | |
1750 | 1754 | |
1751 | 1755 | |
1752 | 1756 | |
1753 | | - |
| 1757 | + |
| 1758 | + |
| 1759 | + |
| 1760 | + |
| 1761 | + |
| 1762 | + |
| 1763 | + |
| 1764 | + |
| 1765 | + |
| 1766 | + |
| 1767 | + |
| 1768 | + |
1754 | 1769 | |
1755 | 1770 | |
1756 | 1771 | |
|
0 commit comments