solid-contrib / solid-auth-fetcher

A client library for authenticating with Solid
Other
2 stars 7 forks source link

Remove node-fetch #35

Closed jeff-zucker closed 8 months ago

jeff-zucker commented 8 months ago

Node-fetch is stale, causes problems in downstream libraries, and is now replaceable with the better and more recently updated cross-fetch. I wasn't able to build solid-auth-fetcher, but substituting cross-fetch for node-fetch directy in the obtainAuthHeaders.js eliminated the downstream errors (in solid-node-client and solid-shell).