-
Notifications
You must be signed in to change notification settings - Fork 227
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
fix: removes Readable.fromWeb
and Readable.toWeb
methods
#506
Conversation
Signed-off-by: Rishabh Bhandari <rishabhbhandari6@gmail.com>
Can you move those to the replacements.mjs file? |
Do you mean moving the code changes I made, or the doing something like this https://github.com/nodejs/readable-stream/blob/main/build/build.mjs#L94 ? |
Using the regular expressions instead. |
Signed-off-by: Rishabh Bhandari <rishabhbhandari6@gmail.com>
bd62ad2
to
651395a
Compare
@mcollina I've moved the changes to |
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.
What I was trying to say is to use the system that's already in place and not add new code, just replacements via regexps.
Signed-off-by: Rishabh Bhandari <rishabhbhandari6@gmail.com>
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
@mcollina is the |
@benjamingr @mcollina the |
@mcollina @benjamingr, an update on this pr? Has been idle for a long time. |
Sorry about it, it was buried down my github notifications. |
fixes: #482
The
Readable.fromWeb
andReadable.toWeb
methods were no longer being used from here (instead being imported fromrequire(stream')
method).This pr removes both methods during the build when the module is extracted from Node.js.