From 0ff75bd06f49103a1aa0911b6a67468480714593 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:02:48 +0000 Subject: [PATCH] fix(deps): update dependency cache-manager to v6 --- packages/h5p-examples/package-lock.json | 85 +++++++++++-- packages/h5p-examples/package.json | 2 +- .../h5p-rest-example-server/package-lock.json | 85 +++++++++++-- packages/h5p-rest-example-server/package.json | 2 +- packages/h5p-server/package-lock.json | 115 +++++++++++++----- packages/h5p-server/package.json | 2 +- 6 files changed, 246 insertions(+), 45 deletions(-) diff --git a/packages/h5p-examples/package-lock.json b/packages/h5p-examples/package-lock.json index 4c39b856f..9cb6b3cba 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": "6.2.0", "cache-manager-redis-store": "2.0.0", "debug": "^4.3.4", "dotenv": "^16.0.3", @@ -822,6 +822,59 @@ "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==", "license": "MIT" }, + "node_modules/@keyv/serialize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.1.tgz", + "integrity": "sha512-kKXeynfORDGPUEEl2PvTExM2zs+IldC6ZD8jPcfvI351MDNtfMlw9V9s4XZXuJNDK2qR5gbEKxRyoYx3quHUVQ==", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3" + } + }, + "node_modules/@keyv/serialize/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/@keyv/serialize/node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/@lumieducation/h5p-express": { "version": "9.3.2", "resolved": "https://registry.npmjs.org/@lumieducation/h5p-express/-/h5p-express-9.3.2.tgz", @@ -1057,6 +1110,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.8", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", @@ -2260,14 +2324,12 @@ } }, "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": "6.2.0", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-6.2.0.tgz", + "integrity": "sha512-ABh8Z0V8aXq7q0uVBySOi+ofV9EHdc+2U++Nqhv2GEmxHQ4qRamUkBlYZAP8dt+/KAuMnZ2Lpt8drzE/doUt0w==", "license": "MIT", "dependencies": { - "async": "3.2.3", - "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "keyv": "^5.2.1" } }, "node_modules/cache-manager-redis-store": { @@ -3687,6 +3749,15 @@ "underscore": "1.12.1" } }, + "node_modules/keyv": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.2.1.tgz", + "integrity": "sha512-tpIgCaY02VCW2Pz0zAn4guyct+IeH6Mb5wZdOvpe4oqXeQOJO0C3Wo8fTnf7P3ZD83Vr9kghbkNmzG3lTOhy/A==", + "license": "MIT", + "dependencies": { + "@keyv/serialize": "*" + } + }, "node_modules/lazy-ass": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", diff --git a/packages/h5p-examples/package.json b/packages/h5p-examples/package.json index aeb97d950..19a1b06f6 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": "6.2.0", "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 7f1f4f365..151e0759d 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": "6.2.0", "cache-manager-redis-store": "2.0.0", "cors": "2.8.5", "csurf": "1.11.0", @@ -828,6 +828,59 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@keyv/serialize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.1.tgz", + "integrity": "sha512-kKXeynfORDGPUEEl2PvTExM2zs+IldC6ZD8jPcfvI351MDNtfMlw9V9s4XZXuJNDK2qR5gbEKxRyoYx3quHUVQ==", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3" + } + }, + "node_modules/@keyv/serialize/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/@keyv/serialize/node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/@lumieducation/h5p-express": { "version": "9.3.2", "resolved": "https://registry.npmjs.org/@lumieducation/h5p-express/-/h5p-express-9.3.2.tgz", @@ -1002,6 +1055,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", @@ -2174,14 +2238,12 @@ } }, "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": "6.2.0", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-6.2.0.tgz", + "integrity": "sha512-ABh8Z0V8aXq7q0uVBySOi+ofV9EHdc+2U++Nqhv2GEmxHQ4qRamUkBlYZAP8dt+/KAuMnZ2Lpt8drzE/doUt0w==", "license": "MIT", "dependencies": { - "async": "3.2.3", - "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "keyv": "^5.2.1" } }, "node_modules/cache-manager-redis-store": { @@ -3374,6 +3436,15 @@ "node": ">=12.0.0" } }, + "node_modules/keyv": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.2.1.tgz", + "integrity": "sha512-tpIgCaY02VCW2Pz0zAn4guyct+IeH6Mb5wZdOvpe4oqXeQOJO0C3Wo8fTnf7P3ZD83Vr9kghbkNmzG3lTOhy/A==", + "license": "MIT", + "dependencies": { + "@keyv/serialize": "*" + } + }, "node_modules/levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", diff --git a/packages/h5p-rest-example-server/package.json b/packages/h5p-rest-example-server/package.json index e8a4a66d3..f33172183 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": "6.2.0", "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 ce68c9239..4883b2b3c 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": "^6.0.0", "debug": "^4.3.4", "flat": "^5.0.2", "fs-extra": "^11.1.1", @@ -212,6 +212,15 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/@keyv/serialize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.1.tgz", + "integrity": "sha512-kKXeynfORDGPUEEl2PvTExM2zs+IldC6ZD8jPcfvI351MDNtfMlw9V9s4XZXuJNDK2qR5gbEKxRyoYx3quHUVQ==", + "license": "MIT", + "dependencies": { + "buffer": "^6.0.3" + } + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -440,12 +449,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", @@ -483,6 +486,26 @@ "axios": ">= 0.17.0" } }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/braces": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", @@ -496,6 +519,30 @@ "node": ">=8" } }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -506,14 +553,12 @@ } }, "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": "6.2.0", + "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-6.2.0.tgz", + "integrity": "sha512-ABh8Z0V8aXq7q0uVBySOi+ofV9EHdc+2U++Nqhv2GEmxHQ4qRamUkBlYZAP8dt+/KAuMnZ2Lpt8drzE/doUt0w==", "license": "MIT", "dependencies": { - "async": "3.2.3", - "lodash.clonedeep": "^4.5.0", - "lru-cache": "^7.10.1" + "keyv": "^5.2.1" } }, "node_modules/call-bind": { @@ -1098,6 +1143,26 @@ "node": ">= 6" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/image-size": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.1.1.tgz", @@ -1279,6 +1344,15 @@ "underscore": "1.12.1" } }, + "node_modules/keyv": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.2.1.tgz", + "integrity": "sha512-tpIgCaY02VCW2Pz0zAn4guyct+IeH6Mb5wZdOvpe4oqXeQOJO0C3Wo8fTnf7P3ZD83Vr9kghbkNmzG3lTOhy/A==", + "license": "MIT", + "dependencies": { + "@keyv/serialize": "*" + } + }, "node_modules/levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -1292,21 +1366,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", - "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" - } - }, "node_modules/merge": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", diff --git a/packages/h5p-server/package.json b/packages/h5p-server/package.json index ad4e8ecb7..93d8d5a19 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": "^6.0.0", "debug": "^4.3.4", "flat": "^5.0.2", "fs-extra": "^11.1.1",