We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get-stream
import { Readable } from 'node:stream' import { setTimeout } from 'node:timers/promises' import getStream from 'get-stream' const stream = Readable.from([]) stream.read() await setTimeout(0) await getStream(stream) console.log('done')
With Node >=18.14.0 and >=19.5.0, done is not printed. With Node <18.4.0 and <19.5.0, done is printed.
done
In other words, get-stream never completes when the stream has already ended.
This seems to be a bug with Node.js: nodejs/node#46595
This is related to the following line in get-stream:
get-stream/index.js
Line 41 in 8f004f9
The text was updated successfully, but these errors were encountered:
Stream.pipeline()
stream.ToArray
chore(dependencies): Update dependencies
6ad1f09
- Setting get-stream to 6.0.1 to workaround bug in Node.js described in sindresorhus/get-stream#50
This was fixed by Node 19.8.0.
19.8.0
Sorry, something went wrong.
No branches or pull requests
With Node >=18.14.0 and >=19.5.0,
done
is not printed.With Node <18.4.0 and <19.5.0,
done
is printed.In other words,
get-stream
never completes when the stream has already ended.This seems to be a bug with Node.js: nodejs/node#46595
This is related to the following line in
get-stream
:get-stream/index.js
Line 41 in 8f004f9
The text was updated successfully, but these errors were encountered: