@@ -3219,7 +3219,8 @@ changes:
32193219 If no value is provided, the size will be ` 1 ` for all the chunks.
32203220 * ` chunk ` {any}
32213221 * Returns: {number}
3222- * ` type ` {string} Must be 'bytes' or undefined.
3222+ * ` type ` {string} Specifies the type of the created ` ReadableStream ` . Must be
3223+ ` 'bytes' ` or undefined.
32233224* Returns: {ReadableStream}
32243225
32253226### ` stream.Writable.fromWeb(writableStream[, options]) `
@@ -3398,9 +3399,13 @@ duplex.once('readable', () => console.log('readable', duplex.read()));
33983399<!-- YAML
33993400added: v17.0.0
34003401changes:
3402+ - version: REPLACEME
3403+ pr-url: https://github.com/nodejs/node/pull/61632
3404+ description: Added the 'readableType' option to specify the ReadableStream
3405+ type. The 'type' option is deprecated.
34013406 - version: v25.4.0
34023407 pr-url: https://github.com/nodejs/node/pull/58664
3403- description: Add 'type' option to specify 'bytes' .
3408+ description: Added the 'type' option to specify the ReadableStream type .
34043409 - version:
34053410 - v24.0.0
34063411 - v22.17.0
@@ -3410,7 +3415,9 @@ changes:
34103415
34113416* ` streamDuplex ` {stream.Duplex}
34123417* ` options ` {Object}
3413- * ` type ` {string} Must be 'bytes' or undefined.
3418+ * ` readableType ` {string} Specifies the type of the ` ReadableStream ` half of
3419+ the created readable-writable pair. Must be ` 'bytes' ` or undefined.
3420+ (` options.type ` is a deprecated alias for this option.)
34143421* Returns: {Object}
34153422 * ` readable ` {ReadableStream}
34163423 * ` writable ` {WritableStream}
0 commit comments