mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 13:34:54 +03:00
refactor: drop unnecesary node-fetch library
This commit is contained in:
parent
040dc475e7
commit
e2feb5f056
@ -26,7 +26,6 @@
|
||||
"build:linux": "electron-vite build && electron-builder --linux"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/node-fetch": "^2.6.11",
|
||||
"@electron-toolkit/preload": "^3.0.0",
|
||||
"@electron-toolkit/utils": "^3.0.0",
|
||||
"@fontsource/fira-mono": "^5.0.13",
|
||||
@ -43,8 +42,8 @@
|
||||
"check-disk-space": "^3.4.0",
|
||||
"classnames": "^2.5.1",
|
||||
"color.js": "^1.2.0",
|
||||
"electron-dl-manager": "^3.0.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"electron-dl-manager": "^3.0.0",
|
||||
"flexsearch": "^0.7.43",
|
||||
"got-scraping": "^4.0.5",
|
||||
"i18next": "^23.11.2",
|
||||
@ -52,7 +51,6 @@
|
||||
"jsdom": "^24.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lottie-react": "^2.4.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"node-unrar-js": "^2.0.2",
|
||||
"parse-torrent": "^11.0.16",
|
||||
"ps-list": "^8.1.1",
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { userPreferencesRepository } from "@main/repository";
|
||||
import fetch from "node-fetch";
|
||||
import {
|
||||
RealDebridAddMagnet,
|
||||
RealDebridTorrentInfo,
|
||||
|
10
yarn.lock
10
yarn.lock
@ -1440,14 +1440,6 @@
|
||||
resolved "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz"
|
||||
integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==
|
||||
|
||||
"@types/node-fetch@^2.6.11":
|
||||
version "2.6.11"
|
||||
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24"
|
||||
integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
form-data "^4.0.0"
|
||||
|
||||
"@types/node@*", "@types/node@^20.12.7":
|
||||
version "20.12.7"
|
||||
resolved "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz"
|
||||
@ -4642,7 +4634,7 @@ node-domexception@^1.0.0:
|
||||
resolved "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz"
|
||||
integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==
|
||||
|
||||
node-fetch@^2.6.1, node-fetch@^2.6.7:
|
||||
node-fetch@^2.6.7:
|
||||
version "2.7.0"
|
||||
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d"
|
||||
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
|
||||
|
Loading…
Reference in New Issue
Block a user