Skip to content
New issue

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

streams v3 compat & add readable-stream #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jaawerth
Copy link

Fixes #2

Updated the readArray method to append null to the end of the source array. This closes the source stream, allowing tests to pass in the streams v3 API (node 0.12+).

Proceeded to swap out the reliance on the core stream module for readable-stream - this will lock the steams API in use to a stable implementation so it will work across node versions (both forward and back - tested as far back as node 0.10.48) even if the streams API undergoes further changes.

@jaawerth jaawerth force-pushed the add-readable-stream branch from 9565dfe to 5d08f4e Compare March 16, 2018 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streams3
1 participant