Commit ae17d18
dgram: hide underscored Socket properties
dgram sockets have a fair number of exposed private properties.
This commit hides them all behind a single symbol property.
PR-URL: #21923
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent b5b7438 commit ae17d18Copy full SHA for ae17d18
File tree
Expand file treeCollapse file tree
10 files changed
+141
-89
lines changedOpen diff view settings
Filter options
- lib
- internal
- test
- parallel
- sequential
Expand file treeCollapse file tree
10 files changed
+141
-89
lines changedOpen diff view settings
Collapse file
+94-66Lines changed: 94 additions & 66 deletions
Large diffs are not rendered by default.
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
| ||
181 | 182 | |
182 | 183 | |
183 | 184 | |
184 | | - |
| 185 | + |
185 | 186 | |
186 | 187 | |
187 | 188 | |
|
Collapse file
lib/internal/dgram.js
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
104 | 104 | |
105 | 105 | |
106 | 106 | |
| 107 | + |
107 | 108 | |
108 | 109 | |
109 | 110 | |
|
Collapse file
test/parallel/test-dgram-close-during-bind.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-close-during-bind.js+6-3Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
| 5 | + |
4 | 6 | |
5 | | - |
| 7 | + |
| 8 | + |
6 | 9 | |
7 | 10 | |
8 | | - |
| 11 | + |
9 | 12 | |
10 | | - |
| 13 | + |
11 | 14 | |
12 | 15 | |
13 | 16 | |
|
Collapse file
test/parallel/test-dgram-close.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-close.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
| 22 | + |
22 | 23 | |
23 | 24 | |
24 | 25 | |
25 | 26 | |
26 | 27 | |
27 | 28 | |
28 | 29 | |
| 30 | + |
29 | 31 | |
30 | 32 | |
31 | 33 | |
32 | 34 | |
33 | | - |
| 35 | + |
34 | 36 | |
35 | 37 | |
36 | 38 | |
|
Collapse file
test/parallel/test-dgram-recv-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-recv-error.js+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | 5 | |
| 6 | + |
5 | 7 | |
| 8 | + |
6 | 9 | |
7 | 10 | |
8 | 11 | |
| ||
13 | 16 | |
14 | 17 | |
15 | 18 | |
16 | | - |
| 19 | + |
Collapse file
test/parallel/test-dgram-send-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-error.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | 5 | |
| 6 | + |
5 | 7 | |
6 | 8 | |
7 | 9 | |
8 | 10 | |
9 | 11 | |
10 | 12 | |
11 | 13 | |
12 | | - |
| 14 | + |
13 | 15 | |
14 | 16 | |
15 | 17 | |
| ||
57 | 59 | |
58 | 60 | |
59 | 61 | |
60 | | - |
| 62 | + |
61 | 63 | |
62 | 64 | |
63 | 65 | |
|
Collapse file
test/parallel/test-handle-wrap-isrefed.js
Copy file name to clipboardExpand all lines: test/parallel/test-handle-wrap-isrefed.js+18-12Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
| ||
25 | 26 | |
26 | 27 | |
27 | 28 | |
| 29 | + |
28 | 30 | |
29 | 31 | |
30 | 32 | |
31 | 33 | |
32 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
33 | 37 | |
34 | | - |
| 38 | + |
35 | 39 | |
36 | 40 | |
37 | | - |
| 41 | + |
38 | 42 | |
39 | 43 | |
40 | | - |
| 44 | + |
41 | 45 | |
42 | | - |
43 | | - |
| 46 | + |
| 47 | + |
44 | 48 | |
45 | 49 | |
46 | 50 | |
47 | 51 | |
48 | 52 | |
49 | 53 | |
50 | 54 | |
51 | | - |
| 55 | + |
| 56 | + |
| 57 | + |
52 | 58 | |
53 | | - |
| 59 | + |
54 | 60 | |
55 | 61 | |
56 | | - |
| 62 | + |
57 | 63 | |
58 | 64 | |
59 | | - |
| 65 | + |
60 | 66 | |
61 | | - |
62 | | - |
| 67 | + |
| 68 | + |
63 | 69 | |
64 | 70 | |
65 | 71 | |
|
Collapse file
test/sequential/test-dgram-implicit-bind-failure.js
Copy file name to clipboardExpand all lines: test/sequential/test-dgram-implicit-bind-failure.js+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | 5 | |
5 | 6 | |
| 7 | + |
6 | 8 | |
7 | 9 | |
8 | 10 | |
| ||
25 | 27 | |
26 | 28 | |
27 | 29 | |
28 | | - |
29 | | - |
| 30 | + |
| 31 | + |
30 | 32 | |
31 | 33 | |
32 | 34 | |
| ||
35 | 37 | |
36 | 38 | |
37 | 39 | |
38 | | - |
| 40 | + |
39 | 41 | |
40 | 42 | |
41 | 43 | |
|
0 commit comments