Skip to content
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

Replace got for built-in fetch() API #29

Open
piranna opened this issue May 30, 2023 · 0 comments
Open

Replace got for built-in fetch() API #29

piranna opened this issue May 30, 2023 · 0 comments

Comments

@piranna
Copy link

piranna commented May 30, 2023

Node.js v17.5.0 includes native support for fetch() API. Since Node.js v16 gets EOL in three months, it's safe to fully remove got dependency and use directly the built-in fetch() API. This reduces bundle size and also makes it almost dependencies-free except for the node-rsa dependency, that probably could be removed also by using the built-in crypto library, making the package fully dependencies-free also for the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant