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

feat: Use native fetch() instead of axios #179

Merged
merged 1 commit into from
Jul 21, 2024
Merged

feat: Use native fetch() instead of axios #179

merged 1 commit into from
Jul 21, 2024

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Jul 21, 2024

Fetch is available in Node.js 18 and later, and allows us to remove the only production dependency of this package with a minimal code change. Tests, however, need to be largely rewritten using Node.js's undici to mock global fetch.

Fetch is available in Node.js 18 and later, and allows us to remove the
only production dependency of this package with a minimal code
change. Tests, however, need to be largely rewritten using Node.js's
undici to mock global fetch.
@meyfa meyfa merged commit 8c38cbf into main Jul 21, 2024
6 of 7 checks passed
@meyfa meyfa deleted the feat/native-fetch branch July 21, 2024 08:29
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

Successfully merging this pull request may close these issues.

1 participant