-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade to Node 10 #75
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
Conversation
lib/understream.coffee
Outdated
| debug "_read #{size} #{JSON.stringify @arr[@index]}" | ||
| @push @arr[@index] # Note: push(undefined) signals the end of the stream, so this just works^tm | ||
| data = @arr[@index] | ||
| if data is undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option would be to push null if @index > @arr.length - 1 and that would allow reading undefined values from the stream. I'm not sure if we'd actually want that though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm not sure either 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should.. adding that change
|
It looks like there's a pull request open for v1 #40 0.10 to 0.11 seems like the right version bump to me. |
prime-time
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
🔟 🎉
Not sure if this should be a major version bump, as it's currently not even 1.0.0