From 2a13abaded815acecb4eb5030fd423337ad95add Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:04:56 +0000 Subject: [PATCH] fix(deps): update dependency cache-manager to v5 --- packages/h5p-examples/package-lock.json | 48 ++++++++++++++++--- packages/h5p-examples/package.json | 2 +- .../h5p-rest-example-server/package-lock.json | 48 ++++++++++++++++--- packages/h5p-rest-example-server/package.json | 2 +- packages/h5p-server/package-lock.json | 48 +++++++++++-------- packages/h5p-server/package.json | 2 +- 6 files changed, 116 insertions(+), 34 deletions(-) diff --git a/packages/h5p-examples/package-lock.json b/packages/h5p-examples/package-lock.json index 4eefd608cc..89ab6c3a99 100644 --- a/packages/h5p-examples/package-lock.json +++ b/packages/h5p-examples/package-lock.json @@ -17,7 +17,7 @@ "@lumieducation/h5p-server": "^9.3.2", "body-parser": "1.20.2", "bootstrap": "^5.2.3", - "cache-manager": "4.1.0", + "cache-manager": "5.7.4", "cache-manager-redis-store": "2.0.0", "debug": "^4.3.4", "dotenv": "^16.0.3", @@ -1054,6 +1054,17 @@ "yazl": "^2.5.1" } }, + "node_modules/@lumieducation/h5p-server/node_modules/cache-manager": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-4.1.0.tgz", + "integrity": "sha512-ZGM6dLxrP65bfOZmcviWMadUOCICqpLs92+P/S5tj8onz+k+tB7Gr+SAgOUHCQtfm2gYEQDHiKeul4+tYPOJ8A==", + "license": "MIT", + "dependencies": { + "async": "3.2.3", + "lodash.clonedeep": "^4.5.0", + "lru-cache": "^7.10.1" + } + }, "node_modules/@mongodb-js/saslprep": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.7.tgz", @@ -2254,14 +2265,18 @@ } }, "node_modules/cache-manager": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-4.1.0.tgz", - "integrity": "sha512-ZGM6dLxrP65bfOZmcviWMadUOCICqpLs92+P/S5tj8onz+k+tB7Gr+SAgOUHCQtfm2gYEQDHiKeul4+tYPOJ8A==", + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.7.4.tgz", + "integrity": "sha512-7B29xK1D8hOVdrP0SAy2DGJ/QZxy2TqxS8s2drlLGYI/xOTSJmXfatks7aKKNHvXN6SnKnPtYCi0T82lslB3Fw==", "license": "MIT", "dependencies": { - "async": "3.2.3", + "eventemitter3": "^5.0.1", "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "lru-cache": "^10.2.2", + "promise-coalesce": "^1.1.2" + }, + "engines": { + "node": ">= 18" } }, "node_modules/cache-manager-redis-store": { @@ -2276,6 +2291,12 @@ "node": ">= 8.3" } }, + "node_modules/cache-manager/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2796,6 +2817,12 @@ "through": "~2.3.1" } }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "license": "MIT" + }, "node_modules/events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", @@ -4300,6 +4327,15 @@ "node": ">=0.4.0" } }, + "node_modules/promise-coalesce": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/promise-coalesce/-/promise-coalesce-1.1.2.tgz", + "integrity": "sha512-zLaJ9b8hnC564fnJH6NFSOGZYYdzrAJn2JUUIwzoQb32fG2QAakpDNM+CZo1km6keXkRXRM+hml1BFAPVnPkxg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=16" + } + }, "node_modules/promisepipe": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/promisepipe/-/promisepipe-3.0.0.tgz", diff --git a/packages/h5p-examples/package.json b/packages/h5p-examples/package.json index 54dfdbdb5b..bcc21a5d91 100644 --- a/packages/h5p-examples/package.json +++ b/packages/h5p-examples/package.json @@ -27,7 +27,7 @@ "@lumieducation/h5p-server": "^9.3.2", "body-parser": "1.20.2", "bootstrap": "^5.2.3", - "cache-manager": "4.1.0", + "cache-manager": "5.7.4", "cache-manager-redis-store": "2.0.0", "debug": "^4.3.4", "dotenv": "^16.0.3", diff --git a/packages/h5p-rest-example-server/package-lock.json b/packages/h5p-rest-example-server/package-lock.json index 90f5199591..cf5699be53 100644 --- a/packages/h5p-rest-example-server/package-lock.json +++ b/packages/h5p-rest-example-server/package-lock.json @@ -14,7 +14,7 @@ "@lumieducation/h5p-server": "^9.3.2", "@lumieducation/h5p-shared-state-server": "^9.3.2", "body-parser": "1.20.2", - "cache-manager": "4.1.0", + "cache-manager": "5.7.4", "cache-manager-redis-store": "2.0.0", "cors": "2.8.5", "csurf": "1.11.0", @@ -999,6 +999,17 @@ "yazl": "^2.5.1" } }, + "node_modules/@lumieducation/h5p-server/node_modules/cache-manager": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-4.1.0.tgz", + "integrity": "sha512-ZGM6dLxrP65bfOZmcviWMadUOCICqpLs92+P/S5tj8onz+k+tB7Gr+SAgOUHCQtfm2gYEQDHiKeul4+tYPOJ8A==", + "license": "MIT", + "dependencies": { + "async": "3.2.3", + "lodash.clonedeep": "^4.5.0", + "lru-cache": "^7.10.1" + } + }, "node_modules/@lumieducation/h5p-shared-state-server": { "version": "9.3.2", "resolved": "https://registry.npmjs.org/@lumieducation/h5p-shared-state-server/-/h5p-shared-state-server-9.3.2.tgz", @@ -2168,14 +2179,18 @@ } }, "node_modules/cache-manager": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-4.1.0.tgz", - "integrity": "sha512-ZGM6dLxrP65bfOZmcviWMadUOCICqpLs92+P/S5tj8onz+k+tB7Gr+SAgOUHCQtfm2gYEQDHiKeul4+tYPOJ8A==", + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.7.4.tgz", + "integrity": "sha512-7B29xK1D8hOVdrP0SAy2DGJ/QZxy2TqxS8s2drlLGYI/xOTSJmXfatks7aKKNHvXN6SnKnPtYCi0T82lslB3Fw==", "license": "MIT", "dependencies": { - "async": "3.2.3", + "eventemitter3": "^5.0.1", "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "lru-cache": "^10.2.2", + "promise-coalesce": "^1.1.2" + }, + "engines": { + "node": ">= 18" } }, "node_modules/cache-manager-redis-store": { @@ -2190,6 +2205,12 @@ "node": ">= 8.3" } }, + "node_modules/cache-manager/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2647,6 +2668,12 @@ "node": ">= 0.6" } }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "license": "MIT" + }, "node_modules/events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", @@ -3731,6 +3758,15 @@ "node": ">= 0.8.0" } }, + "node_modules/promise-coalesce": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/promise-coalesce/-/promise-coalesce-1.1.2.tgz", + "integrity": "sha512-zLaJ9b8hnC564fnJH6NFSOGZYYdzrAJn2JUUIwzoQb32fG2QAakpDNM+CZo1km6keXkRXRM+hml1BFAPVnPkxg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=16" + } + }, "node_modules/promisepipe": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/promisepipe/-/promisepipe-3.0.0.tgz", diff --git a/packages/h5p-rest-example-server/package.json b/packages/h5p-rest-example-server/package.json index 9249322e70..4be9f6a653 100644 --- a/packages/h5p-rest-example-server/package.json +++ b/packages/h5p-rest-example-server/package.json @@ -21,7 +21,7 @@ "@lumieducation/h5p-server": "^9.3.2", "@lumieducation/h5p-shared-state-server": "^9.3.2", "body-parser": "1.20.2", - "cache-manager": "4.1.0", + "cache-manager": "5.7.4", "cache-manager-redis-store": "2.0.0", "cors": "2.8.5", "csurf": "1.11.0", diff --git a/packages/h5p-server/package-lock.json b/packages/h5p-server/package-lock.json index caf38e10bb..c2fd281aaa 100644 --- a/packages/h5p-server/package-lock.json +++ b/packages/h5p-server/package-lock.json @@ -13,7 +13,7 @@ "ajv-keywords": "^5.1.0", "async-lock": "^1.4.0", "axios": "^1.4.0", - "cache-manager": "^4.0.0", + "cache-manager": "^5.0.0", "debug": "^4.3.4", "flat": "^5.0.2", "fs-extra": "^11.1.1", @@ -440,12 +440,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/async": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", - "license": "MIT" - }, "node_modules/async-lock": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.1.tgz", @@ -506,14 +500,18 @@ } }, "node_modules/cache-manager": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-4.1.0.tgz", - "integrity": "sha512-ZGM6dLxrP65bfOZmcviWMadUOCICqpLs92+P/S5tj8onz+k+tB7Gr+SAgOUHCQtfm2gYEQDHiKeul4+tYPOJ8A==", + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.7.4.tgz", + "integrity": "sha512-7B29xK1D8hOVdrP0SAy2DGJ/QZxy2TqxS8s2drlLGYI/xOTSJmXfatks7aKKNHvXN6SnKnPtYCi0T82lslB3Fw==", "license": "MIT", "dependencies": { - "async": "3.2.3", + "eventemitter3": "^5.0.1", "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "lru-cache": "^10.2.2", + "promise-coalesce": "^1.1.2" + }, + "engines": { + "node": ">= 18" } }, "node_modules/call-bind": { @@ -833,6 +831,12 @@ "node": ">=0.10.0" } }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "license": "MIT" + }, "node_modules/events-intercept": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/events-intercept/-/events-intercept-2.0.0.tgz", @@ -1299,13 +1303,10 @@ "license": "MIT" }, "node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "license": "ISC", - "engines": { - "node": ">=12" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" }, "node_modules/merge": { "version": "2.1.1", @@ -1509,6 +1510,15 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/promise-coalesce": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/promise-coalesce/-/promise-coalesce-1.1.2.tgz", + "integrity": "sha512-zLaJ9b8hnC564fnJH6NFSOGZYYdzrAJn2JUUIwzoQb32fG2QAakpDNM+CZo1km6keXkRXRM+hml1BFAPVnPkxg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=16" + } + }, "node_modules/promise-parallel-throttle": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.5.0.tgz", diff --git a/packages/h5p-server/package.json b/packages/h5p-server/package.json index f9948e3991..2d0f23c82a 100644 --- a/packages/h5p-server/package.json +++ b/packages/h5p-server/package.json @@ -49,7 +49,7 @@ "ajv-keywords": "^5.1.0", "async-lock": "^1.4.0", "axios": "^1.4.0", - "cache-manager": "^4.0.0", + "cache-manager": "^5.0.0", "debug": "^4.3.4", "flat": "^5.0.2", "fs-extra": "^11.1.1",