nodejs / readable-stream

Node-core streams for userland
https://nodejs.org/api/stream.html
Other
1.03k stars 225 forks source link

^4.4.0 => TypeError: lazyWebStreams(...).newReadableStreamFromStreamReadable is not a function #521

Open gowy222 opened 1 year ago

gowy222 commented 1 year ago

node = v16.16.0 "readable-stream": "^4.4.0",

Readable.toWeb =>

return lazyWebStreams().newReadableStreamFromStreamReadable(streamReadable, options) ^

TypeError: lazyWebStreams(...).newReadableStreamFromStreamReadable is not a function

arschmitz commented 1 year ago

the code for this is just clearly wrong / missing

https://github.com/nodejs/readable-stream/blob/ba27fd82f56e0a97ef8ba343af34a5902e3f328b/lib/internal/streams/readable.js#L1220-L1227