@based/fetch
Advanced tools
Comparing version 2.0.0 to 2.0.1
import nFetch from 'node-fetch' | ||
let fetchP = nFetch | ||
if ('fetch' in global) { | ||
if (!!global.WebSocketPair || 'fetch' in global) { | ||
fetchP = fetch | ||
} | ||
export default fetchP |
{ | ||
"name": "@based/fetch", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "CF worker compatible cross-fetch", | ||
@@ -5,0 +5,0 @@ "author": "Tony Kovanen", |
4808