Commit 4bf58ac
util: update set iterator entries inspection
The inspection output for Set#entries() was wrong so far as it did
not return an array as it should have. That was a bug in V8 that is
now fixed and the code in Node.js has to be updated accordingly.
PR-URL: #25941
Fixes: #24629
Reviewed-By: Michaël Zasso <targos@protonmail.com>1 parent 206e4b0 commit 4bf58acCopy full SHA for 4bf58ac
File tree
Expand file treeCollapse file tree
3 files changed
+9
-13
lines changedOpen diff view settings
Filter options
- lib/internal/util
- src
- test/parallel
Expand file treeCollapse file tree
3 files changed
+9
-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-10Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
594 | 594 | |
595 | 595 | |
596 | 596 | |
597 | | - |
| 597 | + |
598 | 598 | |
599 | 599 | |
600 | 600 | |
601 | | - |
| 601 | + |
602 | 602 | |
603 | 603 | |
604 | 604 | |
| ||
730 | 730 | |
731 | 731 | |
732 | 732 | |
733 | | - |
| 733 | + |
734 | 734 | |
735 | 735 | |
736 | | - |
| 736 | + |
737 | 737 | |
738 | 738 | |
739 | 739 | |
| ||
1090 | 1090 | |
1091 | 1091 | |
1092 | 1092 | |
1093 | | - |
1094 | | - |
1095 | | - |
1096 | | - |
1097 | | - |
1098 | | - |
| 1093 | + |
1099 | 1094 | |
1100 | 1095 | |
1101 | 1096 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
103 | | - |
| 103 | + |
104 | 104 | |
105 | 105 | |
106 | 106 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
995 | 995 | |
996 | 996 | |
997 | 997 | |
998 | | - |
| 998 | + |
| 999 | + |
999 | 1000 | |
1000 | 1001 | |
1001 | 1002 | |
| ||
1609 | 1610 | |
1610 | 1611 | |
1611 | 1612 | |
1612 | | - |
| 1613 | + |
1613 | 1614 | |
1614 | 1615 | |
1615 | 1616 | |
|
0 commit comments