Commit bc66356
src: use consistent names for JSStream
Its confusing to call a js class with a handle a "Wrap", usually it's
the C++ handle that is called a Wrap (tcp_wrap, tls_wrap, ...). Its
derived from Socket, and makes a JS stream look like a Socket, so call
it that. Also, remove use of lib/_stream_wrap.js so it can be deprecated
some time.
PR-URL: #25153
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>1 parent f6b2ea8 commit bc66356Copy full SHA for bc66356
File tree
Expand file treeCollapse file tree
12 files changed
+28
-22
lines changedOpen diff view settings
Filter options
- lib
- internal
- http2
- test/parallel
Expand file treeCollapse file tree
12 files changed
+28
-22
lines changedOpen diff view settings
Collapse file
lib/_stream_wrap.js
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
Collapse file
+5-3Lines changed: 5 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 | |
| ||
308 | 308 | |
309 | 309 | |
310 | 310 | |
311 | | - |
312 | 311 | |
313 | 312 | |
314 | 313 | |
315 | 314 | |
316 | | - |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
317 | 319 | |
318 | 320 | |
319 | 321 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
| ||
935 | 935 | |
936 | 936 | |
937 | 937 | |
938 | | - |
| 938 | + |
939 | 939 | |
940 | 940 | |
941 | 941 | |
|
Collapse file
lib/internal/wrap_js_stream.js lib/internal/js_stream_socket.jslib/internal/wrap_js_stream.js renamed to lib/internal/js_stream_socket.js
Copy file name to clipboardExpand all lines: lib/internal/js_stream_socket.js+8-7Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | 41 | |
42 | | - |
| 42 | + |
43 | 43 | |
44 | 44 | |
45 | 45 | |
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
91 | | - |
| 91 | + |
| 92 | + |
92 | 93 | |
93 | | - |
| 94 | + |
94 | 95 | |
95 | 96 | |
96 | 97 | |
| ||
223 | 224 | |
224 | 225 | |
225 | 226 | |
226 | | - |
| 227 | + |
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
124 | 124 | |
125 | 125 | |
126 | 126 | |
| 127 | + |
127 | 128 | |
128 | 129 | |
129 | 130 | |
| ||
186 | 187 | |
187 | 188 | |
188 | 189 | |
189 | | - |
190 | 190 | |
191 | 191 | |
192 | 192 | |
|
Collapse file
test/parallel/test-stream-wrap-drain.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-wrap-drain.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
Collapse file
test/parallel/test-stream-wrap-encoding.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-wrap-encoding.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | | - |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
|
Collapse file
test/parallel/test-stream-wrap.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-wrap.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
test/parallel/test-wrap-js-stream-destroy.js
Copy file name to clipboardExpand all lines: test/parallel/test-wrap-js-stream-destroy.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | | - |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
|
Collapse file
test/parallel/test-wrap-js-stream-duplex.js
Copy file name to clipboardExpand all lines: test/parallel/test-wrap-js-stream-duplex.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
1 | 2 | |
2 | 3 | |
3 | 4 | |
4 | | - |
| 5 | + |
5 | 6 | |
6 | 7 | |
7 | 8 | |
|
0 commit comments