Commit fb7a775
lib,src: use V8 API for collection inspection
Use a new public V8 API for inspecting weak collections and
collection iterators, rather than using V8-internal functions
to achieve this. This currently comes with a slight modification of
the output for inspecting iterators generated by `Set().entries()`.
Fixes: #20409
PR-URL: #20719
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent e56716e commit fb7a775Copy full SHA for fb7a775
File tree
Expand file treeCollapse file tree
8 files changed
+47
-92
lines changedOpen diff view settings
Filter options
- lib
- internal
- bootstrap
- src
- test/parallel
Expand file treeCollapse file tree
8 files changed
+47
-92
lines changedOpen diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
| ||
341 | 341 | |
342 | 342 | |
343 | 343 | |
344 | | - |
| 344 | + |
345 | 345 | |
346 | 346 | |
347 | 347 | |
| ||
363 | 363 | |
364 | 364 | |
365 | 365 | |
366 | | - |
| 366 | + |
367 | 367 | |
368 | 368 | |
369 | 369 | |
|
Collapse file
lib/internal/bootstrap/node.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/node.js-17Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
33 | 32 | |
34 | 33 | |
35 | 34 | |
| ||
478 | 477 | |
479 | 478 | |
480 | 479 | |
481 | | - |
482 | | - |
483 | | - |
484 | | - |
485 | | - |
486 | | - |
487 | | - |
488 | | - |
489 | | - |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
494 | | - |
495 | | - |
496 | | - |
497 | 480 | |
498 | 481 | |
499 | 482 | |
|
Collapse file
-39Lines changed: 0 additions & 39 deletions
This file was deleted.
Collapse file
+11-21Lines changed: 11 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | 33 | |
41 | 34 | |
42 | 35 | |
43 | 36 | |
44 | 37 | |
| 38 | + |
45 | 39 | |
46 | 40 | |
47 | 41 | |
| ||
912 | 906 | |
913 | 907 | |
914 | 908 | |
915 | | - |
| 909 | + |
916 | 910 | |
917 | 911 | |
918 | 912 | |
| ||
929 | 923 | |
930 | 924 | |
931 | 925 | |
932 | | - |
933 | | - |
934 | | - |
935 | | - |
| 926 | + |
| 927 | + |
| 928 | + |
936 | 929 | |
937 | 930 | |
938 | 931 | |
939 | | - |
940 | | - |
941 | | - |
| 932 | + |
| 933 | + |
942 | 934 | |
943 | 935 | |
944 | 936 | |
| ||
950 | 942 | |
951 | 943 | |
952 | 944 | |
953 | | - |
| 945 | + |
954 | 946 | |
955 | | - |
| 947 | + |
956 | 948 | |
957 | 949 | |
958 | 950 | |
| ||
966 | 958 | |
967 | 959 | |
968 | 960 | |
969 | | - |
970 | | - |
| 961 | + |
971 | 962 | |
972 | 963 | |
973 | 964 | |
974 | | - |
975 | | - |
| 965 | + |
976 | 966 | |
977 | 967 | |
978 | 968 | |
|
Collapse file
-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
145 | 145 | |
146 | 146 | |
147 | 147 | |
148 | | - |
149 | 148 | |
150 | 149 | |
151 | 150 | |
|
Collapse file
-6Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4369 | 4369 | |
4370 | 4370 | |
4371 | 4371 | |
4372 | | - |
4373 | | - |
4374 | | - |
4375 | | - |
4376 | | - |
4377 | | - |
4378 | 4372 | |
4379 | 4373 | |
4380 | 4374 | |
|
Collapse file
+30Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
52 | 81 | |
53 | 82 | |
54 | 83 | |
| ||
188 | 217 | |
189 | 218 | |
190 | 219 | |
| 220 | + |
191 | 221 | |
192 | 222 | |
193 | 223 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+3-5Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
23 | 22 | |
24 | 23 | |
25 | 24 | |
26 | 25 | |
27 | 26 | |
28 | 27 | |
29 | | - |
| 28 | + |
30 | 29 | |
31 | 30 | |
32 | 31 | |
| ||
448 | 447 | |
449 | 448 | |
450 | 449 | |
451 | | - |
| 450 | + |
452 | 451 | |
453 | 452 | |
454 | 453 | |
| ||
935 | 934 | |
936 | 935 | |
937 | 936 | |
938 | | - |
939 | | - |
| 937 | + |
940 | 938 | |
941 | 939 | |
942 | 940 | |
|
0 commit comments