-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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: consolidate common code from readable push and unshift helper… #50402
base: main
Are you sure you want to change the base?
Conversation
Review requested:
|
8612f4a
to
a3cb8ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I am working on fix |
Fixed |
Hey, I'm the author of the original PR I'm pretty sure this will break this change the behavior as you move code from the middle of the function to the start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this changes behavior. Not only deduplicating code.
b5e9176
to
1ece82b
Compare
From my understanding of data flow inside Readable stream, the changes would be safe. I was wrong. All breaking changes are already reverted. |
… functions
#50173 brings too many code duplication. Trying to reduce it a bit.