fix: remove node-fetch
This commit is contained in:
parent
e1c5e09872
commit
96d64e57bb
@ -14,7 +14,6 @@
|
|||||||
"@types/treeify": "^1.0.3",
|
"@types/treeify": "^1.0.3",
|
||||||
"ink": "^5.0.1",
|
"ink": "^5.0.1",
|
||||||
"ink-text-input": "^6.0.0",
|
"ink-text-input": "^6.0.0",
|
||||||
"node-fetch": "^3.3.2",
|
|
||||||
"ora": "^8.0.1",
|
"ora": "^8.0.1",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"treeify": "^1.1.0",
|
"treeify": "^1.1.0",
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import fetch, { type Response } from "node-fetch";
|
|
||||||
|
|
||||||
export async function safeFetch(
|
export async function safeFetch(
|
||||||
url: string,
|
url: string,
|
||||||
): Promise<
|
): Promise<
|
||||||
|
52
yarn.lock
52
yarn.lock
@ -1800,7 +1800,6 @@ __metadata:
|
|||||||
chai: "npm:^4"
|
chai: "npm:^4"
|
||||||
ink: "npm:^5.0.1"
|
ink: "npm:^5.0.1"
|
||||||
ink-text-input: "npm:^6.0.0"
|
ink-text-input: "npm:^6.0.0"
|
||||||
node-fetch: "npm:^3.3.2"
|
|
||||||
oclif: "npm:^4"
|
oclif: "npm:^4"
|
||||||
ora: "npm:^8.0.1"
|
ora: "npm:^8.0.1"
|
||||||
react: "npm:^18.3.1"
|
react: "npm:^18.3.1"
|
||||||
@ -3467,13 +3466,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"data-uri-to-buffer@npm:^4.0.0":
|
|
||||||
version: 4.0.1
|
|
||||||
resolution: "data-uri-to-buffer@npm:4.0.1"
|
|
||||||
checksum: 10c0/20a6b93107597530d71d4cb285acee17f66bcdfc03fd81040921a81252f19db27588d87fc8fc69e1950c55cfb0bf8ae40d0e5e21d907230813eb5d5a7f9eb45b
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.5":
|
"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.4, debug@npm:^4.3.5":
|
||||||
version: 4.3.5
|
version: 4.3.5
|
||||||
resolution: "debug@npm:4.3.5"
|
resolution: "debug@npm:4.3.5"
|
||||||
@ -3821,16 +3813,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"fetch-blob@npm:^3.1.2, fetch-blob@npm:^3.1.4":
|
|
||||||
version: 3.2.0
|
|
||||||
resolution: "fetch-blob@npm:3.2.0"
|
|
||||||
dependencies:
|
|
||||||
node-domexception: "npm:^1.0.0"
|
|
||||||
web-streams-polyfill: "npm:^3.0.3"
|
|
||||||
checksum: 10c0/60054bf47bfa10fb0ba6cb7742acec2f37c1f56344f79a70bb8b1c48d77675927c720ff3191fa546410a0442c998d27ab05e9144c32d530d8a52fbe68f843b69
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"filelist@npm:^1.0.4":
|
"filelist@npm:^1.0.4":
|
||||||
version: 1.0.4
|
version: 1.0.4
|
||||||
resolution: "filelist@npm:1.0.4"
|
resolution: "filelist@npm:1.0.4"
|
||||||
@ -3875,15 +3857,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"formdata-polyfill@npm:^4.0.10":
|
|
||||||
version: 4.0.10
|
|
||||||
resolution: "formdata-polyfill@npm:4.0.10"
|
|
||||||
dependencies:
|
|
||||||
fetch-blob: "npm:^3.1.2"
|
|
||||||
checksum: 10c0/5392ec484f9ce0d5e0d52fb5a78e7486637d516179b0eb84d81389d7eccf9ca2f663079da56f761355c0a65792810e3b345dc24db9a8bbbcf24ef3c8c88570c6
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"fraction.js@npm:^4.3.7":
|
"fraction.js@npm:^4.3.7":
|
||||||
version: 4.3.7
|
version: 4.3.7
|
||||||
resolution: "fraction.js@npm:4.3.7"
|
resolution: "fraction.js@npm:4.3.7"
|
||||||
@ -5282,24 +5255,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"node-domexception@npm:^1.0.0":
|
|
||||||
version: 1.0.0
|
|
||||||
resolution: "node-domexception@npm:1.0.0"
|
|
||||||
checksum: 10c0/5e5d63cda29856402df9472335af4bb13875e1927ad3be861dc5ebde38917aecbf9ae337923777af52a48c426b70148815e890a5d72760f1b4d758cc671b1a2b
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"node-fetch@npm:^3.3.2":
|
|
||||||
version: 3.3.2
|
|
||||||
resolution: "node-fetch@npm:3.3.2"
|
|
||||||
dependencies:
|
|
||||||
data-uri-to-buffer: "npm:^4.0.0"
|
|
||||||
fetch-blob: "npm:^3.1.4"
|
|
||||||
formdata-polyfill: "npm:^4.0.10"
|
|
||||||
checksum: 10c0/f3d5e56190562221398c9f5750198b34cf6113aa304e34ee97c94fd300ec578b25b2c2906edba922050fce983338fde0d5d34fcb0fc3336ade5bd0e429ad7538
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"node-gyp@npm:^10.0.0, node-gyp@npm:^10.1.0, node-gyp@npm:latest":
|
"node-gyp@npm:^10.0.0, node-gyp@npm:^10.1.0, node-gyp@npm:latest":
|
||||||
version: 10.1.0
|
version: 10.1.0
|
||||||
resolution: "node-gyp@npm:10.1.0"
|
resolution: "node-gyp@npm:10.1.0"
|
||||||
@ -7117,13 +7072,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"web-streams-polyfill@npm:^3.0.3":
|
|
||||||
version: 3.3.3
|
|
||||||
resolution: "web-streams-polyfill@npm:3.3.3"
|
|
||||||
checksum: 10c0/64e855c47f6c8330b5436147db1c75cb7e7474d924166800e8e2aab5eb6c76aac4981a84261dd2982b3e754490900b99791c80ae1407a9fa0dcff74f82ea3a7f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"which@npm:^2.0.1":
|
"which@npm:^2.0.1":
|
||||||
version: 2.0.2
|
version: 2.0.2
|
||||||
resolution: "which@npm:2.0.2"
|
resolution: "which@npm:2.0.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user