From d903c4e1752cd1f7efabbe64b83a275c81849cd7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:28:31 +0000 Subject: [PATCH] fix(deps): update dependency cache-manager to v5 --- packages/h5p-examples/package-lock.json | 52 ++++++++++++++++--- packages/h5p-examples/package.json | 2 +- .../h5p-rest-example-server/package-lock.json | 52 ++++++++++++++++--- packages/h5p-rest-example-server/package.json | 2 +- packages/h5p-server/package-lock.json | 46 ++++++++++------ packages/h5p-server/package.json | 2 +- 6 files changed, 126 insertions(+), 30 deletions(-) diff --git a/packages/h5p-examples/package-lock.json b/packages/h5p-examples/package-lock.json index 46976b8ffd..9d305482a9 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.6.1", "cache-manager-redis-store": "2.0.0", "debug": "^4.3.4", "dotenv": "^16.0.3", @@ -973,6 +973,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.5", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.5.tgz", @@ -2096,13 +2107,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.6.1", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.6.1.tgz", + "integrity": "sha512-9uTQmLPaTKpvO38RXOm54jfPyrcXR+51NzNdba+Jaydnz8v5l/YEA6l/MsSSeAvF6s43+K4wojIGJC9i6cLfJg==", + "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": { @@ -2116,6 +2132,15 @@ "node": ">= 8.3" } }, + "node_modules/cache-manager/node_modules/lru-cache": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2588,6 +2613,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", @@ -3946,6 +3977,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 ed68e1c582..0bee2619f1 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.6.1", "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 d0117e56ea..12eb2dd699 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.6.1", "cache-manager-redis-store": "2.0.0", "cors": "2.8.5", "csurf": "1.11.0", @@ -929,6 +929,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", @@ -2012,13 +2023,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.6.1", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.6.1.tgz", + "integrity": "sha512-9uTQmLPaTKpvO38RXOm54jfPyrcXR+51NzNdba+Jaydnz8v5l/YEA6l/MsSSeAvF6s43+K4wojIGJC9i6cLfJg==", + "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": { @@ -2032,6 +2048,15 @@ "node": ">= 8.3" } }, + "node_modules/cache-manager/node_modules/lru-cache": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -2449,6 +2474,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", @@ -3429,6 +3460,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 d13397218b..f81db0d3c1 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.6.1", "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 23dc78b852..d9f0dd64fe 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", @@ -474,11 +474,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==" - }, "node_modules/async-lock": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.4.1.tgz", @@ -533,13 +528,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.6.1", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-5.6.1.tgz", + "integrity": "sha512-9uTQmLPaTKpvO38RXOm54jfPyrcXR+51NzNdba+Jaydnz8v5l/YEA6l/MsSSeAvF6s43+K4wojIGJC9i6cLfJg==", + "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": { @@ -835,6 +835,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", @@ -1257,11 +1263,12 @@ "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" }, "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==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", + "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "license": "ISC", "engines": { - "node": ">=12" + "node": "14 || >=16.14" } }, "node_modules/merge": { @@ -1446,6 +1453,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.4.1", "resolved": "https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.4.1.tgz", diff --git a/packages/h5p-server/package.json b/packages/h5p-server/package.json index d305bf0aa2..0b798ebc67 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",