diff --git a/packages/h5p-redis-lock/package-lock.json b/packages/h5p-redis-lock/package-lock.json index fac40b5a8..729445ada 100644 --- a/packages/h5p-redis-lock/package-lock.json +++ b/packages/h5p-redis-lock/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@lumieducation/h5p-server": "^9.3.2", "ioredis": "^5.3.2", - "simple-redis-mutex": "^1.3.1" + "simple-redis-mutex": "^2.0.0" }, "devDependencies": { "tmp-promise": "3.0.3" @@ -55,6 +55,71 @@ "yazl": "^2.5.1" } }, + "node_modules/@redis/bloom": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-1.2.0.tgz", + "integrity": "sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/client": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@redis/client/-/client-1.6.0.tgz", + "integrity": "sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==", + "license": "MIT", + "peer": true, + "dependencies": { + "cluster-key-slot": "1.1.2", + "generic-pool": "3.9.0", + "yallist": "4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@redis/graph": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@redis/graph/-/graph-1.1.1.tgz", + "integrity": "sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/json": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@redis/json/-/json-1.0.7.tgz", + "integrity": "sha512-6UyXfjVaTBTJtKNG4/9Z8PSpKE6XgSyEb8iwaqDcy+uKrd/DGYHTWkUdnQDyzm727V7p21WUMhsqz5oy65kPcQ==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/search": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@redis/search/-/search-1.2.0.tgz", + "integrity": "sha512-tYoDBbtqOVigEDMAcTGsRlMycIIjwMCgD8eR2t0NANeQmgK/lvxNAvYyb6bZDD4frHRhIHkJu2TBRvB0ERkOmw==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, + "node_modules/@redis/time-series": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-1.1.0.tgz", + "integrity": "sha512-c1Q99M5ljsIuc4YdaCwfUEXsofakb9c8+Zse2qxTadu8TalLXuAESzLvFAvNVbkmSlvlzIQOLpBCmWI9wTOt+g==", + "license": "MIT", + "peer": true, + "peerDependencies": { + "@redis/client": "^1.0.0" + } + }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -515,6 +580,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/generic-pool": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz", + "integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 4" + } + }, "node_modules/get-all-files": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-all-files/-/get-all-files-4.1.0.tgz", @@ -940,6 +1015,24 @@ "inherits": "~2.0.3" } }, + "node_modules/redis": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/redis/-/redis-4.7.0.tgz", + "integrity": "sha512-zvmkHEAdGMn+hMRXuMBtu4Vo5P6rHQjLoHftu+lBqq8ZTA3RCVC/WzD790bkKKiNFp7d5/9PcSD19fJyyRvOdQ==", + "license": "MIT", + "peer": true, + "workspaces": [ + "./packages/*" + ], + "dependencies": { + "@redis/bloom": "1.2.0", + "@redis/client": "1.6.0", + "@redis/graph": "1.1.1", + "@redis/json": "1.0.7", + "@redis/search": "1.2.0", + "@redis/time-series": "1.1.0" + } + }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", @@ -1020,15 +1113,15 @@ } }, "node_modules/simple-redis-mutex": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/simple-redis-mutex/-/simple-redis-mutex-1.4.0.tgz", - "integrity": "sha512-LkIR2EfExWYA9/uHrfpkNmVVgZiz2lcmmcDkQDBtsbWE7uj0gGa0l7OJHj8YZ2lG+lmgIa2xP3/uOSsFVvGYdA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-redis-mutex/-/simple-redis-mutex-2.0.0.tgz", + "integrity": "sha512-Eq63CBrcWjdxF4LpjIPcQ46ph33zt998aZQgg2AHjo6LOdwub4kZ0B4WiyL30bLINz641I+A/wRpcK0sceGlPw==", "license": "ISC", "engines": { "node": ">=8.2.1" }, "peerDependencies": { - "ioredis": ">=4.27.1" + "redis": ">=4.7.0" } }, "node_modules/source-map": { @@ -1138,6 +1231,13 @@ "node": ">=0.10.0" } }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "license": "ISC", + "peer": true + }, "node_modules/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", diff --git a/packages/h5p-redis-lock/package.json b/packages/h5p-redis-lock/package.json index c9666bd58..c252017a9 100644 --- a/packages/h5p-redis-lock/package.json +++ b/packages/h5p-redis-lock/package.json @@ -26,7 +26,7 @@ "dependencies": { "@lumieducation/h5p-server": "^9.3.2", "ioredis": "^5.3.2", - "simple-redis-mutex": "^1.3.1" + "simple-redis-mutex": "^2.0.0" }, "main": "./build/RedisLockProvider.js", "types": "./build/RedisLockProvider.d.ts",