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

stream: fix undefined in Readable object mode #13760

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

Fixes this.push(undefined).

Fixes: #13753

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

stream

/cc @nodejs/streams

Fixes `this.push(undefined)`.

Fixes: nodejs#13753
@addaleax addaleax added dont-land-on-v4.x stream Issues and PRs related to the stream subsystem. labels Jun 18, 2017
@nodejs-github-bot nodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label Jun 18, 2017
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI is green.

@addaleax
Copy link
Member Author

@tniessen
Copy link
Member

CI failure is unrelated, see #13527.

@addaleax
Copy link
Member Author

Landed in 9a655e9

@addaleax addaleax closed this Jun 21, 2017
@addaleax addaleax deleted the stream-fix-undefined branch June 21, 2017 20:29
addaleax added a commit that referenced this pull request Jun 21, 2017
Fixes `this.push(undefined)`.

Fixes: #13753
PR-URL: #13760
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@addaleax addaleax mentioned this pull request Jun 21, 2017
addaleax added a commit that referenced this pull request Jun 21, 2017
Fixes `this.push(undefined)`.

Fixes: #13753
PR-URL: #13760
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@addaleax addaleax mentioned this pull request Jun 21, 2017
addaleax added a commit that referenced this pull request Jun 24, 2017
Notable changes

* **Stream**
  Two regressions with the `stream` module have been fixed:
  * The `finish` event will now always be emitted after the `error` event
    if one is emitted:
    [[`0a9e96e86c`](0a9e96e86c)]
    [#13850](#13850)
  * In object mode, readable streams can now use `undefined` again.
    [[`5840138e70`](5840138e70)]
    [#13760](#13760)
rvagg added a commit that referenced this pull request Jun 29, 2017
Notable changes

* **Stream**
  Two regressions with the `stream` module have been fixed:
  * The `finish` event will now always be emitted after the `error` event
    if one is emitted:
    [[`0a9e96e86c`](0a9e96e86c)]
    [#13850](#13850)
  * In object mode, readable streams can now use `undefined` again.
    [[`5840138e70`](5840138e70)]
    [#13760](#13760)
rvagg added a commit that referenced this pull request Jun 29, 2017
Notable changes

* **Stream**
  Two regressions with the `stream` module have been fixed:
  * The `finish` event will now always be emitted after the `error` event
    if one is emitted:
    [[`0a9e96e86c`](0a9e96e86c)]
    [#13850](#13850)
  * In object mode, readable streams can now use `undefined` again.
    [[`5840138e70`](5840138e70)]
    [#13760](#13760)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stream Issues and PRs related to the stream subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants