diff --git a/packages/cache-e2e-tests/package.json b/packages/cache-e2e-tests/package.json index 5e345041..26dd2ed3 100644 --- a/packages/cache-e2e-tests/package.json +++ b/packages/cache-e2e-tests/package.json @@ -42,10 +42,10 @@ "@soluble/dsn-parser": "workspace:^", "@types/ioredis": "4.28.5", "@types/jest": "27.0.3", - "@types/redis": "2.8.32", + "@types/redis": "4.0.10", "ioredis": "4.28.2", "jest": "27.4.5", - "redis": "3.1.2", + "redis": "4.0.1", "testcontainers": "8.1.2", "ts-jest": "27.1.2", "typescript": "4.5.4" diff --git a/packages/cache-redis/package.json b/packages/cache-redis/package.json index d706fc92..66a2936b 100644 --- a/packages/cache-redis/package.json +++ b/packages/cache-redis/package.json @@ -63,19 +63,19 @@ "@soluble/dsn-parser": "workspace:^" }, "devDependencies": { - "@types/redis": "2.8.32", + "@types/redis": "4.0.10", "cross-env": "7.0.3", "jest": "27.4.5", "microbundle": "0.14.2", - "redis": "3.1.2", + "redis": "4.0.1", "rimraf": "3.0.2", "ts-jest": "27.1.2", "tslib": "2.3.1", "typescript": "4.5.4" }, "peerDependencies": { - "@types/redis": "^2.8.25", - "redis": "^3.0.0" + "@types/redis": "^2.8.25 || ^4.0.0", + "redis": "^3.0.0 || ^4.0.0" }, "peerDependenciesMeta": { "@types/redis": { diff --git a/yarn.lock b/yarn.lock index b186e739..69ba8b87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2096,6 +2096,45 @@ __metadata: languageName: node linkType: hard +"@node-redis/client@npm:^1.0.1": + version: 1.0.1 + resolution: "@node-redis/client@npm:1.0.1" + dependencies: + cluster-key-slot: 1.1.0 + generic-pool: 3.8.2 + redis-parser: 3.0.0 + yallist: 4.0.0 + checksum: 949c312191b66f7974b3c3842f4e61979b4c2bf45e68d51df39d7e422f5a3ae2e3b944264c1f4e9ead5bf320a37709d1245b3672bc67da669c1033c490d8c4db + languageName: node + linkType: hard + +"@node-redis/json@npm:^1.0.1": + version: 1.0.1 + resolution: "@node-redis/json@npm:1.0.1" + peerDependencies: + "@node-redis/client": ^1.0.0 + checksum: 5027a9ad1388897244fc19816e9aaeb0f62a08c6036d46767c9ea77265d2f5fe802d8099fef32187c1beeeef3ec14a8e3745baeff5b201e8474a15e06a72e966 + languageName: node + linkType: hard + +"@node-redis/search@npm:^1.0.1": + version: 1.0.1 + resolution: "@node-redis/search@npm:1.0.1" + peerDependencies: + "@node-redis/client": ^1.0.0 + checksum: dd0000107276e34d2ef0a6aac407d13bf9dec1938143754a556505512d415a2e532660b32c621efe3f47a9eb70f55dda3354e0ebf2e81520e8b0be12dd25a206 + languageName: node + linkType: hard + +"@node-redis/time-series@npm:^1.0.0": + version: 1.0.0 + resolution: "@node-redis/time-series@npm:1.0.0" + peerDependencies: + "@node-redis/client": ^1.0.0 + checksum: 9dc549666385a46b600933e803c6a318a3a11077e5db04fd4a1136e3de07f79247c60247d924671bce7a89a807dbb262cf922378632ab3c5dc528cfeb4c8079a + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -2319,10 +2358,10 @@ __metadata: "@soluble/dsn-parser": "workspace:^" "@types/ioredis": 4.28.5 "@types/jest": 27.0.3 - "@types/redis": 2.8.32 + "@types/redis": 4.0.10 ioredis: 4.28.2 jest: 27.4.5 - redis: 3.1.2 + redis: 4.0.1 testcontainers: 8.1.2 ts-jest: 27.1.2 typescript: 4.5.4 @@ -2376,18 +2415,18 @@ __metadata: dependencies: "@soluble/cache-interop": "workspace:^" "@soluble/dsn-parser": "workspace:^" - "@types/redis": 2.8.32 + "@types/redis": 4.0.10 cross-env: 7.0.3 jest: 27.4.5 microbundle: 0.14.2 - redis: 3.1.2 + redis: 4.0.1 rimraf: 3.0.2 ts-jest: 27.1.2 tslib: 2.3.1 typescript: 4.5.4 peerDependencies: - "@types/redis": ^2.8.25 - redis: ^3.0.0 + "@types/redis": ^2.8.25 || ^4.0.0 + redis: ^3.0.0 || ^4.0.0 peerDependenciesMeta: "@types/redis": optional: true @@ -2673,12 +2712,12 @@ __metadata: languageName: node linkType: hard -"@types/redis@npm:2.8.32": - version: 2.8.32 - resolution: "@types/redis@npm:2.8.32" +"@types/redis@npm:4.0.10": + version: 4.0.10 + resolution: "@types/redis@npm:4.0.10" dependencies: - "@types/node": "*" - checksum: 2b12103e05977941870c9a248f6ea51f4b7ad7e0f16a7403799c2ed1b3e63b60f693c39f9186be0ea02776934c4595ddcd2a5bde41e530aaad42d26449f6a669 + redis: "*" + checksum: dc3cb46ee05269c3097ac5ddef65ca52476fb0423ca6ee526b30d5f67574f1cc2d5cc3075486c42b4d7badb0ca9301882523234fa99d054970a478b9e329cf17 languageName: node linkType: hard @@ -3959,7 +3998,7 @@ __metadata: languageName: node linkType: hard -"cluster-key-slot@npm:^1.1.0": +"cluster-key-slot@npm:1.1.0, cluster-key-slot@npm:^1.1.0": version: 1.1.0 resolution: "cluster-key-slot@npm:1.1.0" checksum: fc953c75209b1ef9088081bab4e40a0b2586491c974ab93460569c014515ca5a2e31c043f185285e177007162fc353d07836d98f570c171dbe055775430e495b @@ -4651,7 +4690,7 @@ __metadata: languageName: node linkType: hard -"denque@npm:^1.1.0, denque@npm:^1.5.0": +"denque@npm:^1.1.0": version: 1.5.1 resolution: "denque@npm:1.5.1" checksum: 4375ad19d5cea99f90effa82a8cecdaa10f4eb261fbcd7e47cd753ff2737f037aac8f7f4e031cc77f3966314c491c86a0d3b20c128aeee57f791b4662c45108e @@ -5727,6 +5766,13 @@ __metadata: languageName: node linkType: hard +"generic-pool@npm:3.8.2": + version: 3.8.2 + resolution: "generic-pool@npm:3.8.2" + checksum: f549077d90265e5e4d32a2410205b357ec61cf73d17861f1013637984390e09fe7bf537129a2c6ed30ae57662a57c8d54194f80046408d3349836330f422dbde + languageName: node + linkType: hard + "gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" @@ -9812,7 +9858,7 @@ __metadata: languageName: node linkType: hard -"redis-commands@npm:1.7.0, redis-commands@npm:^1.7.0": +"redis-commands@npm:1.7.0": version: 1.7.0 resolution: "redis-commands@npm:1.7.0" checksum: d1ff7fbcb5e54768c77f731f1d49679d2a62c3899522c28addb4e2e5813aea8bcac3f22519d71d330224c3f2937f935dfc3d8dc65e90db0f5fe22dc2c1515aa7 @@ -9826,7 +9872,7 @@ __metadata: languageName: node linkType: hard -"redis-parser@npm:^3.0.0": +"redis-parser@npm:3.0.0, redis-parser@npm:^3.0.0": version: 3.0.0 resolution: "redis-parser@npm:3.0.0" dependencies: @@ -9835,15 +9881,15 @@ __metadata: languageName: node linkType: hard -"redis@npm:3.1.2": - version: 3.1.2 - resolution: "redis@npm:3.1.2" +"redis@npm:*, redis@npm:4.0.1": + version: 4.0.1 + resolution: "redis@npm:4.0.1" dependencies: - denque: ^1.5.0 - redis-commands: ^1.7.0 - redis-errors: ^1.2.0 - redis-parser: ^3.0.0 - checksum: baec42198626b22d2dfc063b6a6f30394daee994c21f380e58ecf91c3edee333c4e32907c30f082fe66d2177695f7b2567902eef399ecb22da3e199ea6363a30 + "@node-redis/client": ^1.0.1 + "@node-redis/json": ^1.0.1 + "@node-redis/search": ^1.0.1 + "@node-redis/time-series": ^1.0.0 + checksum: 0d5db4d8f6617185888d2efb65ba9d3718942d3bb7253f573ee040032daf12fb3e27393a0259402a06dd9e1ae151db107753500c435a2e5594cb2b8542a4dc0d languageName: node linkType: hard @@ -11895,6 +11941,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:4.0.0, yallist@npm:^4.0.0": + version: 4.0.0 + resolution: "yallist@npm:4.0.0" + checksum: 343617202af32df2a15a3be36a5a8c0c8545208f3d3dfbc6bb7c3e3b7e8c6f8e7485432e4f3b88da3031a6e20afa7c711eded32ddfb122896ac5d914e75848d5 + languageName: node + linkType: hard + "yallist@npm:^2.1.2": version: 2.1.2 resolution: "yallist@npm:2.1.2" @@ -11902,13 +11955,6 @@ __metadata: languageName: node linkType: hard -"yallist@npm:^4.0.0": - version: 4.0.0 - resolution: "yallist@npm:4.0.0" - checksum: 343617202af32df2a15a3be36a5a8c0c8545208f3d3dfbc6bb7c3e3b7e8c6f8e7485432e4f3b88da3031a6e20afa7c711eded32ddfb122896ac5d914e75848d5 - languageName: node - linkType: hard - "yaml@npm:^1.10.0, yaml@npm:^1.10.2": version: 1.10.2 resolution: "yaml@npm:1.10.2"