Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Remove isomorphic-fetch dependency

Compare
Choose a tag to compare
@i-like-robots i-like-robots released this 29 Jun 12:17
02f16b1

This refactors the package not to use the isomorphic-fetch package as this pollutes the global scope. This change avoids there being multiple versions of fetch being used in an application.

A global fetch instance will still be used if available (such as in apps which use n-express), otherwise it will fall back to its own node-fetch implementation. This is the same behaviour as implemented by the n-fetch package.

#104