Skip to content

string_decoder: Migrate to use internal/errors - #14682

Closed
starkwang wants to merge 1 commit into
nodejs:masterfrom
starkwang:string-decoder-internal-errors
Closed

string_decoder: Migrate to use internal/errors#14682
starkwang wants to merge 1 commit into
nodejs:masterfrom
starkwang:string-decoder-internal-errors

Conversation

@starkwang

@starkwangstarkwang commented Aug 8, 2017

Copy link
Copy Markdown
Contributor

Ref: #11273

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)

string_decoder

@nodejs-github-botnodejs-github-bot added the string_decoder Issues and PRs related to the string_decoder subsystem. label Aug 8, 2017
@refackrefack self-assigned this Aug 8, 2017
@refackrefack added errors Issues and PRs related to JavaScript errors originated in Node.js core. semver-major PRs that contain breaking changes and should be released in the next major version. labels Aug 8, 2017
@refack

Copy link
Copy Markdown
Contributor

Comment threadlib/string_decoder.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As this is semver-major anyway it could probably be changed to a TypeError

@starkwang
starkwangforce-pushed the string-decoder-internal-errors branch from ed34f34 to 660dc96CompareAugust 8, 2017 06:21
@refack

Copy link
Copy Markdown
Contributor

ping @nodejs/ctc, needs approval

@mcollina

Copy link
Copy Markdown
Member

We ship this in readable-stream as part of http://npm.im/string_decoder. We need the same solution that we will need for the streams.

Can we hold off until that is ready? I would prefer not having to revert too many commits before releasing 9 if that is not ready.

cc @jasnell

@refackrefack added blocked PRs that are blocked by other issues or PRs. stream Issues and PRs related to the stream subsystem. labels Aug 8, 2017
@refack

Copy link
Copy Markdown
Contributor

blocked until we have a modular solution for readable-stream

@mcollinamcollina removed the blocked PRs that are blocked by other issues or PRs. label Sep 12, 2017
@mcollina

Copy link
Copy Markdown
Member

At the latest streams wg we decided to unblock this. We would like this (and the equals for Writable, Duplex and Transform) to ship in Node 9.

Ref: nodejs/readable-stream#309 (comment)

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM if CI green.

@BridgeAR

Copy link
Copy Markdown
Member

Landed in eb4940e

BridgeAR pushed a commit that referenced this pull request Sep 13, 2017
PR-URL: #14682
Refs: #11273
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
addaleax pushed a commit to addaleax/ayo that referenced this pull request Sep 17, 2017
PR-URL: nodejs/node#14682
Refs: nodejs/node#11273
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Qard pushed a commit to Qard/ayo that referenced this pull request Sep 21, 2017
PR-URL: nodejs/node#14682
Refs: nodejs/node#11273
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@refackrefack removed their assignment Oct 20, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

errorsIssues and PRs related to JavaScript errors originated in Node.js core.semver-majorPRs that contain breaking changes and should be released in the next major version.streamIssues and PRs related to the stream subsystem.string_decoderIssues and PRs related to the string_decoder subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@starkwang@refack@mcollina@BridgeAR@jasnell@targos@nodejs-github-bot