@based/fetch
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,4 +0,3 @@ | ||
import nodeFetch from 'node-fetch' | ||
import type fetch from 'node-fetch' | ||
const fetch: typeof nodeFetch | ||
export default fetch |
{ | ||
"name": "@based/fetch", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "CF worker compatible cross-fetch", | ||
@@ -12,2 +12,9 @@ "author": "Tony Kovanen", | ||
"browser": "browser.js", | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"browser.js", | ||
"README.md", | ||
"package.json" | ||
], | ||
"scripts": { | ||
@@ -20,4 +27,4 @@ "clean": "rimraf {.turbo,dist,node_modules}" | ||
"devDependencies": { | ||
"rimraf": "^3.0.2" | ||
"@saulx/prettier-config": "^1.0.0" | ||
} | ||
} |
@@ -1,4 +0,3 @@ | ||
fetch | ||
=========== | ||
# fetch | ||
`cross-fetch` that also works in CF workers. |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1623
6
9
4