v6.0.0
Breaking Change
We have removed node-fetch
as a dependency in v.6.0.0
because Node v17 includes Fetch by default.
What this means is:
- If you're using Node v17 and above, you can continue using
zlFetch
normally. There will be no breaking change for you. - If you're using Node v16 and below, you need to include
node-fetch
before you callzlFetch
. You only need to include it once in your project sincenode-fetch
creates a globalfetch
object.
import 'node-fetch'
import zlFetch from 'zl-fetch'