From ac3716ae4aa8c0e5a509a581b85be6bfcc3bde13 Mon Sep 17 00:00:00 2001 From: jj Date: Fri, 27 Dec 2024 15:15:54 +0000 Subject: [PATCH] api: uninstall node-cache package not used for a while anymore --- api/README.md | 1 - api/package.json | 1 - pnpm-lock.yaml | 17 ----------------- 3 files changed, 19 deletions(-) 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'} - clone@2.1.2: - resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==} - engines: {node: '>=0.8'} - cluster-key-slot@1.1.2: 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'} - node-cache@5.1.2: - resolution: {integrity: sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==} - engines: {node: '>= 8.0.0'} - normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -3116,8 +3105,6 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - clone@2.1.2: {} - cluster-key-slot@1.1.2: optional: true @@ -3892,10 +3879,6 @@ snapshots: negotiator@0.6.3: {} - node-cache@5.1.2: - dependencies: - clone: 2.1.2 - normalize-path@3.0.0: {} npm-run-path@4.0.1: