mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
readable-stream 3.x is a copy of Node 10's streams. Like 2.x and 4.x it now compiles as node:stream: readable.js as stream.Readable carrying the stream classes, Stream, finished and pipeline, and lib/_stream_*.js as the matching builtin classes. Unlike them, this is not the package's own READABLE_STREAM=disable mode, which throws on Node 24 (it Object.assigns every stream export onto stream.Readable, which inherits the getter-only `promises` accessor). The limitations and dependencies pages and the compatibility notes say so. The corpus program readable-stream-3 runs the vendored 3.6.2 under Node and keeps to behavior its streams share with the builtin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>