0.21.0 (2026-10-22)
⚠ BREAKING CHANGES
- stream: the browser build follows Node where it used to differ.
compose()with no stage throws ERR_MISSING_ARGS; a single stage becomes
Duplex.from(stage)rather than being returned as is.compose()returns the entry's Duplex (ComposedDuplex<In, Out>), not ITransform.Readable.from(blob),Duplex.fromWeb(readableStream)andDuplex.toWeb(readable)
are rejected, as Node rejects them.Readable.from(webStream)reads it as an async iterable (object mode by default).- The classes'
fromWeb/toWebkeep Node's behaviour, defects included; use the
module's functions for the fixed behaviour. setDefaultHighWaterMarkvalidates its value as Node does.readableStreamToAsyncIterableyields every value, null and undefined included.
Features
- stream: One Node-style stream API with the same behaviour on Node.js, Bun and browsers (8f3756f)