Commit 8cd8cd7
stream: do not chunk strings and Buffer in Readable.from
PR-URL: #30912
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 0266d7f commit 8cd8cd7Copy full SHA for 8cd8cd7
File tree
Expand file treeCollapse file tree
3 files changed
+28
-1
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
3 files changed
+28
-1
lines changedOpen diff view settings
Collapse file
+4Lines changed: 4 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1641 | 1641 | |
1642 | 1642 | |
1643 | 1643 | |
| 1644 | + |
| 1645 | + |
| 1646 | + |
| 1647 | + |
1644 | 1648 | |
1645 | 1649 | |
1646 | 1650 | |
|
Collapse file
lib/internal/streams/from.js
Copy file name to clipboardExpand all lines: lib/internal/streams/from.js+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
10 | 11 | |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
14 | 26 | |
15 | 27 | |
16 | 28 | |
|
Collapse file
test/parallel/test-readable-from.js
Copy file name to clipboardExpand all lines: test/parallel/test-readable-from.js+12-1Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | 65 | |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
66 | 76 | |
67 | 77 | |
68 | 78 | |
| ||
154 | 164 | |
155 | 165 | |
156 | 166 | |
| 167 | + |
157 | 168 | |
158 | 169 | |
159 | 170 | |
|
0 commit comments