-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use Buffer.from instead of new Buffer #3
base: master
Are you sure you want to change the base?
Conversation
The buffer constructor has been deprecated since node 6.
ping ☝️ |
@hughsk ☝️ |
@Richienb maybe we should maintain our own |
@gr2m I just created https://github.com/node-fetch/btoa-lite. Any idea who owns the node-fetch npm org? |
I assume @bitinn |
// @bitinn |
jimmy warting should have publish right for node-fetch on npm,
but I don’t know why you need publishing right on node-fetch to publish this module though?
Plus you are the admin for the node-fetch org, right?
Plus plus we don’t use btoa-lite directly in node-fetch?
All in all, I am super confused, and 2 year late ;)
…Sent from my iPhone
On Apr 21, 2022, at 12:50, Richie Bendall ***@***.***> wrote:
@bitinn
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
@gr2m suggested to publish the module as |
I think we never had a npm org, we publish module individually (see node-fetch and fetch-blob). Jimmy owns publishing right for both of them now. For btoa-lite, you can certainly help to setup a npm org :) |
The buffer constructor has been deprecated since node 6, which fell out of maintenance a good while ago.
atob-lite was similarly updated a couple years ago: https://github.com/hughsk/atob-lite/blob/master/atob-node.js