GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — streams: refactor LazyTransform to internal/ by brendanashworth · Pull Request #2566 · nodejs/node

Conversation

@brendanashworth

@brendanashworth brendanashworth commented Aug 26, 2015

Copy link
Copy Markdown
Contributor

This commit refactors LazyTransform from the crypto implementation
(lib/crypto.js) into an internal module (not publicy accessible) in
internal/streams/LazyTransform.js. This promotes a more modular core
design and removes code bloat in crypto, as LazyTransform didn't
specifically have anything to do with cryptography, but rather a fast
way to support two APIs on a stream.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@brendanashworth
streams: refactor LazyTransform to internal/
c78c5c4
This commit refactors LazyTransform from the crypto implementation
(lib/crypto.js) into an internal module (not publicy accessible) in
internal/streams/LazyTransform.js. This promotes a more modular core
design and removes code bloat in crypto, as LazyTransform didn't
specifically have anything to do with cryptography, but rather a fast
way to support two APIs on a stream.
@brendanashworth brendanashworth added crypto Issues and PRs related to the crypto subsystem. stream Issues and PRs related to Node.js streams. labels Aug 26, 2015
@rvagg
rvagg force-pushed the master branch from 11c25c2 to ba02bd0 Compare September 6, 2015 11:55
@brendanashworth

brendanashworth commented Sep 11, 2015

Copy link
Copy Markdown
Contributor Author

r=@nodejs/crypto ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@indutny

indutny commented Sep 11, 2015

Copy link
Copy Markdown
Member

I think it would be the first module to use camel case file name. Should it really have it? Otherwise, LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendanashworth

brendanashworth commented Sep 12, 2015

Copy link
Copy Markdown
Contributor Author

I don't have a preference, I can change it to lazy-transform.js or lazy_transform.js if you'd prefer it that way. I'm just used to uppercased for constructor files.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@indutny

indutny commented Sep 12, 2015

Copy link
Copy Markdown
Member

I think lazy_transform should be the best.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendanashworth
!fixup rename LazyTransform to lazy_transform
629c858
@brendanashworth

brendanashworth commented Sep 12, 2015

Copy link
Copy Markdown
Contributor Author

Updated with a rename. Here is a CI: https://ci.nodejs.org/view/iojs/job/node-test-pull-request/284/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@indutny

indutny commented Sep 12, 2015

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

Hmm, not sure if CI is happy. New run: https://ci.nodejs.org/job/node-test-pull-request/297/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

@brendanashworth CI seems good.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brendanashworth added a commit that referenced this pull request Sep 15, 2015
@brendanashworth
streams: refactor LazyTransform to internal/
c70c778
This commit refactors LazyTransform from the crypto implementation
(lib/crypto.js) into an internal module (not publicy accessible) in
internal/streams/lazy_transform.js. This promotes a more modular core
design and removes code bloat in crypto, as LazyTransform didn't
specifically have anything to do with cryptography, but rather a fast
way to support two APIs on a stream.

PR-URL: #2566
Reviewed-By: Fedor Indutny <[email protected]>
@brendanashworth

brendanashworth commented Sep 15, 2015

Copy link
Copy Markdown
Contributor Author

Thank you, landed in c70c778.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendanashworth brendanashworth closed this Sep 15, 2015
brendanashworth added a commit that referenced this pull request Sep 15, 2015
@brendanashworth @rvagg
streams: refactor LazyTransform to internal/
ed08783
This commit refactors LazyTransform from the crypto implementation
(lib/crypto.js) into an internal module (not publicy accessible) in
internal/streams/lazy_transform.js. This promotes a more modular core
design and removes code bloat in crypto, as LazyTransform didn't
specifically have anything to do with cryptography, but rather a fast
way to support two APIs on a stream.

PR-URL: #2566
Reviewed-By: Fedor Indutny <[email protected]>
@rvagg rvagg mentioned this pull request Sep 15, 2015
Release proposal: v3.3.1 #2698
Merged
brendanashworth added a commit that referenced this pull request Sep 15, 2015
@brendanashworth @Fishrock123
streams: refactor LazyTransform to internal/
eaa8e60
This commit refactors LazyTransform from the crypto implementation
(lib/crypto.js) into an internal module (not publicy accessible) in
internal/streams/lazy_transform.js. This promotes a more modular core
design and removes code bloat in crypto, as LazyTransform didn't
specifically have anything to do with cryptography, but rather a fast
way to support two APIs on a stream.

PR-URL: #2566
Reviewed-By: Fedor Indutny <[email protected]>
@Fishrock123 Fishrock123 mentioned this pull request Sep 15, 2015
Release proposal: v4.1.0 #2844
Closed
3 of 7 tasks
@rvagg rvagg mentioned this pull request Sep 22, 2015
Release proposal: v4.1.1 #2995
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

crypto Issues and PRs related to the crypto subsystem. stream Issues and PRs related to Node.js streams.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@brendanashworth @indutny @Fishrock123
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.