Skip to content

best way to save what you love

api: uninstall node-cache package

jjac3716ae4aa8
diff --git a/api/README.md b/api/README.md
index d740fb21..a2aad207 100644
--- a/api/README.md
+++ b/api/README.md
@@ -99,7 +99,6 @@ cobalt also depends on:
- [hls-parser](https://www.npmjs.com/package/hls-parser) to parse `m3u8` playlists for certain services.
- [ipaddr.js](https://www.npmjs.com/package/ipaddr.js) to parse ip addresses (for rate limiting).
- [nanoid](https://www.npmjs.com/package/nanoid) to generate unique (temporary) identifiers for each requested stream.
-- [node-cache](https://www.npmjs.com/package/node-cache) to cache stream info in server ram for a limited amount of time.
- [psl](https://www.npmjs.com/package/psl) as the domain name parser.
- [set-cookie-parser](https://www.npmjs.com/package/set-cookie-parser) to parse cookies that cobalt receives from certain services.
- [undici](https://www.npmjs.com/package/undici) for making http requests.
diff --git a/api/package.json b/api/package.json
index 79a3fea3..c6f52769 100644
--- a/api/package.json
+++ b/api/package.json
@@ -37,7 +37,6 @@
"hls-parser": "^0.10.7",
"ipaddr.js": "2.2.0",
"nanoid": "^5.0.9",
- "node-cache": "^5.1.2",
"set-cookie-parser": "2.6.0",
"undici": "^5.19.1",
"url-pattern": "1.0.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4224fba3..035356e9 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -49,9 +49,6 @@ importers:
nanoid:
specifier: ^5.0.9
version: 5.0.9
- node-cache:
- specifier: ^5.1.2
- version: 5.1.2
set-cookie-parser:
specifier: 2.6.0
version: 2.6.0
@@ -995,10 +992,6 @@ packages:
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
engines: {node: '>= 8.10.0'}
- resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==}
- engines: {node: '>=0.8'}
-
resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==}
engines: {node: '>=0.10.0'}
@@ -1793,10 +1786,6 @@ packages:
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==}
- engines: {node: '>= 8.0.0'}
-
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
engines: {node: '>=0.10.0'}
@@ -3116,8 +3105,6 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
-
optional: true
@@ -3892,10 +3879,6 @@ snapshots:
- dependencies:
- clone: 2.1.2
-