diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1459104..87f08c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x] + node-version: [18.19.0] steps: - name: Git checkout uses: actions/checkout@v2 diff --git a/package-lock.json b/package-lock.json index ab02cc4..1f2fca7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -597,6 +597,11 @@ "node": ">=6.9.0" } }, + "node_modules/@ioredis/commands": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz", + "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==" + }, "node_modules/@lerna/add": { "version": "4.0.0", "dev": true, @@ -1963,14 +1968,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/ioredis": { - "version": "4.28.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/json-schema": { "version": "7.0.9", "dev": true, @@ -3829,6 +3826,7 @@ }, "node_modules/debug": { "version": "4.3.2", + "dev": true, "license": "MIT", "dependencies": { "ms": "2.1.2" @@ -6789,7 +6787,9 @@ }, "node_modules/ioredis": { "version": "4.28.0", + "dev": true, "license": "MIT", + "peer": true, "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -6831,7 +6831,9 @@ }, "node_modules/ioredis/node_modules/p-map": { "version": "2.1.0", + "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } @@ -7779,7 +7781,9 @@ }, "node_modules/lodash.flatten": { "version": "4.4.0", - "license": "MIT" + "dev": true, + "license": "MIT", + "peer": true }, "node_modules/lodash.get": { "version": "4.4.2", @@ -13289,11 +13293,10 @@ "license": "MIT", "dependencies": { "@hokify/node-ts-cache": "^6.0.0", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "lru-cache": "^6.0.0" }, "devDependencies": { - "@types/ioredis": "^4.28.1", "@types/lru-cache": "^5.1.1", "ioredis-mock": "^5.8.0" }, @@ -13301,6 +13304,53 @@ "node": ">=12.0.0" } }, + "storages/lru-redis/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "storages/lru-redis/node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "engines": { + "node": ">=0.10" + } + }, + "storages/lru-redis/node_modules/ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "dependencies": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, "storages/node-cache": { "name": "@hokify/node-ts-cache-node-cache-storage", "version": "2.0.0", @@ -13343,28 +13393,124 @@ "license": "MIT", "dependencies": { "@hokify/node-ts-cache": "^6.0.0", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "snappy": "^7.0.5" }, "devDependencies": { - "@types/ioredis": "^4.28.1", "ioredis-mock": "^5.8.0" }, "engines": { "node": ">=12.0.0" } }, + "storages/redisio/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "storages/redisio/node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "engines": { + "node": ">=0.10" + } + }, + "storages/redisio/node_modules/ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "dependencies": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } + }, "ts-cache": { "name": "@hokify/node-ts-cache", "version": "6.0.0", "license": "MIT", "devDependencies": { - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "ioredis-mock": "^5.8.0" }, "engines": { "node": ">=12.0.0" } + }, + "ts-cache/node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "ts-cache/node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "ts-cache/node_modules/ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "dev": true, + "dependencies": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/ioredis" + } } }, "dependencies": { @@ -13721,19 +13867,83 @@ "@hokify/node-ts-cache": { "version": "file:ts-cache", "requires": { - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "ioredis-mock": "^5.8.0" + }, + "dependencies": { + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "dev": true + }, + "ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "dev": true, + "requires": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + } } }, "@hokify/node-ts-cache-lru-redis-storage": { "version": "file:storages/lru-redis", "requires": { "@hokify/node-ts-cache": "^6.0.0", - "@types/ioredis": "^4.28.1", "@types/lru-cache": "^5.1.1", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "ioredis-mock": "^5.8.0", "lru-cache": "^6.0.0" + }, + "dependencies": { + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==" + }, + "ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "requires": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + } } }, "@hokify/node-ts-cache-lru-storage": { @@ -13770,10 +13980,40 @@ "version": "file:storages/redisio", "requires": { "@hokify/node-ts-cache": "^6.0.0", - "@types/ioredis": "^4.28.1", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "ioredis-mock": "^5.8.0", "snappy": "^7.0.5" + }, + "dependencies": { + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "requires": { + "ms": "2.1.2" + } + }, + "denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==" + }, + "ioredis": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.4.1.tgz", + "integrity": "sha512-2YZsvl7jopIa1gaePkeMtd9rAcSjOOjPtpcLlOeusyO+XH2SK5ZcT+UCrElPP+WVIInh2TzeI4XW9ENaSLVVHA==", + "requires": { + "@ioredis/commands": "^1.1.1", + "cluster-key-slot": "^1.1.0", + "debug": "^4.3.4", + "denque": "^2.1.0", + "lodash.defaults": "^4.2.0", + "lodash.isarguments": "^3.1.0", + "redis-errors": "^1.2.0", + "redis-parser": "^3.0.0", + "standard-as-callback": "^2.1.0" + } + } } }, "@humanwhocodes/config-array": { @@ -13795,6 +14035,11 @@ "version": "3.0.2", "dev": true }, + "@ioredis/commands": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz", + "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==" + }, "@lerna/add": { "version": "4.0.0", "dev": true, @@ -14801,13 +15046,6 @@ "version": "3.5.36", "dev": true }, - "@types/ioredis": { - "version": "4.28.1", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/json-schema": { "version": "7.0.9", "dev": true @@ -16009,6 +16247,7 @@ }, "debug": { "version": "4.3.2", + "dev": true, "requires": { "ms": "2.1.2" } @@ -18000,6 +18239,8 @@ }, "ioredis": { "version": "4.28.0", + "dev": true, + "peer": true, "requires": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -18015,7 +18256,9 @@ }, "dependencies": { "p-map": { - "version": "2.1.0" + "version": "2.1.0", + "dev": true, + "peer": true } } }, @@ -18642,7 +18885,9 @@ "version": "4.2.0" }, "lodash.flatten": { - "version": "4.4.0" + "version": "4.4.0", + "dev": true, + "peer": true }, "lodash.get": { "version": "4.4.2", diff --git a/storages/lru-redis/package.json b/storages/lru-redis/package.json index 787f455..80bc1c4 100644 --- a/storages/lru-redis/package.json +++ b/storages/lru-redis/package.json @@ -49,11 +49,10 @@ "homepage": "https://github.com/hokify/node-ts-cache/tree/master/storages/lru-redis#readme", "dependencies": { "@hokify/node-ts-cache": "^6.0.0", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "lru-cache": "^6.0.0" }, "devDependencies": { - "@types/ioredis": "^4.28.1", "@types/lru-cache": "^5.1.1", "ioredis-mock": "^5.8.0" }, diff --git a/storages/redisio/package.json b/storages/redisio/package.json index ec9fe4c..49cd89f 100644 --- a/storages/redisio/package.json +++ b/storages/redisio/package.json @@ -51,11 +51,10 @@ "homepage": "https://github.com/hokify/node-ts-cache/tree/master/storages/redisio#readme", "dependencies": { "@hokify/node-ts-cache": "^6.0.0", - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "snappy": "^7.0.5" }, "devDependencies": { - "@types/ioredis": "^4.28.1", "ioredis-mock": "^5.8.0" }, "gitHead": "c938eba762060f940a34bc192bec03bc76ea4017" diff --git a/ts-cache/package.json b/ts-cache/package.json index f180fdb..ec02e52 100644 --- a/ts-cache/package.json +++ b/ts-cache/package.json @@ -21,7 +21,7 @@ "dev": "tsc -p . -w" }, "devDependencies": { - "ioredis": "^4.28.0", + "ioredis": "^5.3.2", "ioredis-mock": "^5.8.0" }, "repository": {