Commit 254b8cd 1 parent 1b8bba8 commit 254b8cd Copy full SHA for 254b8cd
File tree 4 files changed +42
-2
lines changed
4 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ release.
36
36
</tr >
37
37
<tr >
38
38
<td valign =" top " >
39
- <b ><a href =" doc/changelogs/CHANGELOG_V21.md#21.6.0 " >21.6.0</a ></b ><br />
39
+ <b ><a href =" doc/changelogs/CHANGELOG_V21.md#21.6.1 " >21.6.1</a ></b ><br />
40
+ <a href =" doc/changelogs/CHANGELOG_V21.md#21.6.0 " >21.6.0</a ><br />
40
41
<a href =" doc/changelogs/CHANGELOG_V21.md#21.5.0 " >21.5.0</a ><br />
41
42
<a href =" doc/changelogs/CHANGELOG_V21.md#21.4.0 " >21.4.0</a ><br />
42
43
<a href =" doc/changelogs/CHANGELOG_V21.md#21.3.0 " >21.3.0</a ><br />
Original file line number Diff line number Diff line change 8
8
</tr >
9
9
<tr >
10
10
<td >
11
+ <a href =" #21.6.1 " >21.6.1</a ><br />
11
12
<a href =" #21.6.0 " >21.6.0</a ><br />
12
13
<a href =" #21.5.0 " >21.5.0</a ><br />
13
14
<a href =" #21.4.0 " >21.4.0</a ><br />
42
43
* [ io.js] ( CHANGELOG_IOJS.md )
43
44
* [ Archive] ( CHANGELOG_ARCHIVE.md )
44
45
46
+ <a id =" 21.6.1 " ></a >
47
+
48
+ ## 2024-01-22, Version 21.6.1 (Current), @RafaelGSS
49
+
50
+ ### Notable Changes
51
+
52
+ ### Commits
53
+
54
+ * \[ [ ` 662ac95729 ` ] ( https://github.com/nodejs/node/commit/662ac95729 )] - _ ** Revert** _ "** stream** : fix cloned webstreams not being unref'd" (Matteo Collina) [ #51491 ] ( https://github.com/nodejs/node/pull/51491 )
55
+ * \[ [ ` 1b8bba8aee ` ] ( https://github.com/nodejs/node/commit/1b8bba8aee )] - ** test** : add regression test for 51586 (Matteo Collina) [ #51491 ] ( https://github.com/nodejs/node/pull/51491 )
56
+
45
57
<a id =" 21.6.0 " ></a >
46
58
47
59
## 2024-01-15, Version 21.6.0 (Current), @RafaelGSS
Original file line number Diff line number Diff line change 29
29
#define NODE_VERSION_IS_LTS 0
30
30
#define NODE_VERSION_LTS_CODENAME ""
31
31
32
- #define NODE_VERSION_IS_RELEASE 0
32
+ #define NODE_VERSION_IS_RELEASE 1
33
33
34
34
#ifndef NODE_STRINGIFY
35
35
#define NODE_STRINGIFY (n ) NODE_STRINGIFY_HELPER(n)
Original file line number Diff line number Diff line change
1
+ import { test } from 'node:test'
2
+ import assert from 'node:assert'
3
+
4
+ test ( 'repro' , async ( t ) => {
5
+ const buf = new Uint8Array ( 1 )
6
+ const readable = new ReadableStream ( {
7
+ start ( controller ) {
8
+ controller . enqueue ( buf )
9
+ controller . close ( )
10
+ }
11
+ } )
12
+
13
+ const [ out1 , out2 ] = readable . tee ( )
14
+ const cloned = structuredClone ( out2 , { transfer : [ out2 ] } )
15
+
16
+ for await ( const chunk of cloned ) {
17
+ assert . deepStrictEqual ( chunk , buf )
18
+ }
19
+
20
+ for await ( const chunk of out2 ) {
21
+ assert . deepStrictEqual ( chunk , buf )
22
+ }
23
+
24
+ for await ( const chunk of out1 ) {
25
+ assert . deepStrictEqual ( chunk , buf )
26
+ }
27
+ } )
You can’t perform that action at this time.
0 commit comments