auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
630 stars 309 forks source link

Drop node-fetch and only use native fetch #908

Closed frederikprijck closed 1 year ago

frederikprijck commented 1 year ago

Changes

Builds on top of #906 to drop node-fetch altogether given we will only support node18+, which supports native fetch.

Additionally, given nock does not support native fetch, we still use node-fetch when running our tests that rely on nock.

References

https://github.com/nock/nock/issues/2397

Checklist