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

[v11.x] zlib: split JS code as prep for non-zlib-backed streams #25228

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

Backport #24939 – only differences are the usage of util.inherits() vs direct prototype setting.


Split the Zlib class into ZlibBase and Zlib classes,
to facilitate introduction of similar streams with minor
implementation differences.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
to facilitate introduction of similar streams with minor
implementation differences.

PR-URL: nodejs#24939
Reviewed-By: Ben Noordhuis <[email protected]>
@nodejs-github-bot nodejs-github-bot added v11.x zlib Issues and PRs related to the zlib subsystem. labels Dec 26, 2018
@addaleax
Copy link
Member Author

@addaleax
Copy link
Member Author

addaleax commented Dec 30, 2018

targos pushed a commit that referenced this pull request Jan 1, 2019
Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
to facilitate introduction of similar streams with minor
implementation differences.

Backport-PR-URL: #25228
PR-URL: #24939
Reviewed-By: Ben Noordhuis <[email protected]>
@targos
Copy link
Member

targos commented Jan 1, 2019

Landed in e534dcd. Thanks!

@targos targos closed this Jan 1, 2019
@addaleax addaleax deleted the backport-24939 branch May 13, 2019 18:44
addaleax added a commit that referenced this pull request May 13, 2019
Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
to facilitate introduction of similar streams with minor
implementation differences.

Backport-PR-URL: #25228
PR-URL: #24939
Reviewed-By: Ben Noordhuis <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 16, 2019
Split the `Zlib` class into `ZlibBase` and `Zlib` classes,
to facilitate introduction of similar streams with minor
implementation differences.

Backport-PR-URL: #25228
PR-URL: #24939
Reviewed-By: Ben Noordhuis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zlib Issues and PRs related to the zlib subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants