Skip to content

Conversation

@meliaj
Copy link
Contributor

@meliaj meliaj commented Oct 14, 2019

Not sure if this should be a major version bump, as it's currently not even 1.0.0

@pickabot pickabot bot requested a review from prime-time October 14, 2019 16:58
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
Copy link
Contributor

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.

Copy link
Contributor Author

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 🤔

Copy link
Contributor Author

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

@prime-time
Copy link
Contributor

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.

Copy link
Contributor

@prime-time prime-time left a 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
🔟 🎉

@meliaj meliaj merged commit 3743552 into master Oct 14, 2019
@meliaj meliaj deleted the node-10 branch October 14, 2019 19:18
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.

3 participants