Commit fc0febe
util: improve prototype inspection using
The fast path for the prototype inspection had a bug that caused some
prototype properties to be skipped that should in fact be inspected.
Backport-PR-URL: #31431
PR-URL: #31113
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>inspect() and showHidden
1 parent 6f5ced6 commit fc0febeCopy full SHA for fc0febe
File tree
Expand file treeCollapse file tree
2 files changed
+28
-13
lines changedOpen diff view settings
Filter options
- lib/internal/util
- test/parallel
Expand file treeCollapse file tree
2 files changed
+28
-13
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspect.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js+5-7Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
467 | 467 | |
468 | 468 | |
469 | 469 | |
470 | | - |
471 | | - |
| 470 | + |
| 471 | + |
472 | 472 | |
473 | | - |
| 473 | + |
474 | 474 | |
475 | 475 | |
476 | 476 | |
| ||
508 | 508 | |
509 | 509 | |
510 | 510 | |
511 | | - |
| 511 | + |
512 | 512 | |
513 | 513 | |
514 | 514 | |
515 | 515 | |
516 | | - |
| 516 | + |
517 | 517 | |
518 | 518 | |
519 | 519 | |
| ||
526 | 526 | |
527 | 527 | |
528 | 528 | |
529 | | - |
530 | | - |
531 | 529 | |
532 | 530 | |
533 | 531 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+23-6Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1687 | 1687 | |
1688 | 1688 | |
1689 | 1689 | |
1690 | | - |
| 1690 | + |
| 1691 | + |
1691 | 1692 | |
1692 | 1693 | |
1693 | 1694 | |
| ||
1699 | 1700 | |
1700 | 1701 | |
1701 | 1702 | |
1702 | | - |
| 1703 | + |
| 1704 | + |
1703 | 1705 | |
1704 | 1706 | |
1705 | 1707 | |
| ||
1727 | 1729 | |
1728 | 1730 | |
1729 | 1731 | |
1730 | | - |
| 1732 | + |
| 1733 | + |
| 1734 | + |
| 1735 | + |
1731 | 1736 | |
1732 | 1737 | |
1733 | 1738 | |
1734 | 1739 | |
1735 | 1740 | |
1736 | 1741 | |
1737 | 1742 | |
1738 | | - |
| 1743 | + |
| 1744 | + |
1739 | 1745 | |
1740 | 1746 | |
1741 | 1747 | |
| ||
1767 | 1773 | |
1768 | 1774 | |
1769 | 1775 | |
1770 | | - |
| 1776 | + |
| 1777 | + |
| 1778 | + |
1771 | 1779 | |
1772 | 1780 | |
1773 | 1781 | |
| ||
1776 | 1784 | |
1777 | 1785 | |
1778 | 1786 | |
1779 | | - |
| 1787 | + |
| 1788 | + |
| 1789 | + |
1780 | 1790 | |
1781 | 1791 | |
1782 | 1792 | |
| ||
2678 | 2688 | |
2679 | 2689 | |
2680 | 2690 | |
| 2691 | + |
| 2692 | + |
| 2693 | + |
| 2694 | + |
| 2695 | + |
| 2696 | + |
| 2697 | + |
2681 | 2698 | |
0 commit comments