aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2022-01-07 22:35:59 +0100
committerGitHub <noreply@github.com>2022-01-07 22:35:59 +0100
commit81024fb393af7a2ec6b96c7ae40f415b01718a40 (patch)
treeab57487ca7488f845c80ae06a1d41220398b0210 /package.json
parent89d8d1986b62d5686160f28359383ccd0c67f77d (diff)
downloadViper-81024fb393af7a2ec6b96c7ae40f415b01718a40.tar.gz
Viper-81024fb393af7a2ec6b96c7ae40f415b01718a40.zip
fix: Rate limit (#27)
* [chore] adding electron-fetch dependency * [feat] adding requests module skeleton * [feat] not doing any http request to get latest ns version if data is fresh * [fix] data is considered fresh if less than 5 minutes old * [feat] adding requests.getLatestNsVersionLink implementation * [refactor] fully using requests module (with associated cache) * [docs] adding documentation to requests module * [refactor] adding a key to get nsLatestRelease cache results * [chore] removing request deprecated dependency * [feat] using follow-redirects instead of electron-fetch * [chore] removing electron-fetch dependency * fixed formatting Single quotes to double, proper textwidth for comments, and proper comment style, the usual... Nothing special here... * fixed wrong location for requests.json We don't want to clutter people's config folder, hence we should use the cache folder instead... Co-authored-by: 0neGal <mail@0negal.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/package.json b/package.json
index de8dcee..f6f5b19 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,6 @@
"electron-updater": "^4.6.1",
"follow-redirects": "^1.14.6",
"marked-man": "^0.7.0",
- "request": "^2.88.2",
"unzipper": "^0.10.11"
},
"devDependencies": {