-
-
Notifications
You must be signed in to change notification settings - Fork 979
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: add buffer #632
fix: add buffer #632
Conversation
This PR should not have been merged IMO. There are several issues:
|
So this works exactly the same way as before plus supports bundlers without injection. |
@feross any chance i can convince you to reimplement this ? |
I agree. As we prepare for Deno to take the stage, removing anything Node specific is a wise choice. |
@hugomrdias Can you link the PRs from those other projects so we can take a look? |
Level/level-js#191 |
Can't we have |
The changes in the PR basically do that, but the node/browser dance is inside the buffer package. |
Hey folks! Is there any update on this? |
@feross I disagree with the revert of this PR.
We never used the NPM module before in Node.js and this PR does not change that. The intent here is not to start using the NPM version either. There's no change in Node.js here.
I agree, and this PR doesn't stop using native The only change here is with the browser. Currently browserify will see |
@t-mullen Yep, you're right. I just reverted my revert and shipped this in 9.9.0. |
fix: add buffer
This PR adds buffer as a dependency to avoid relying on bundlers automatic node globals injection.