From 6a37bb630e512f861f6aaaad5f9cd554fa7e7d32 Mon Sep 17 00:00:00 2001 From: KagChi Date: Thu, 22 Feb 2024 15:19:18 +0700 Subject: [PATCH] chore: install ioredis --- pnpm-lock.yaml | 79 +++++++++++++++++++++++++++++ services/kanao-cache/package.json | 1 + services/kanao-gateway/package.json | 1 + 3 files changed, 81 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31da1717..f363e5ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -223,6 +223,9 @@ importers: specifier: ^2.6.2 version: 2.6.2 optionalDependencies: + ioredis: + specifier: ^5.3.2 + version: 5.3.2 pino-loki: specifier: ^2.2.1 version: 2.2.1 @@ -333,6 +336,9 @@ importers: specifier: ^6.0.3 version: 6.0.3 optionalDependencies: + ioredis: + specifier: ^5.3.2 + version: 5.3.2 pino-loki: specifier: ^2.2.1 version: 2.2.1 @@ -1267,6 +1273,12 @@ packages: resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true + /@ioredis/commands@1.2.0: + resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} + requiresBuild: true + dev: false + optional: true + /@isaacs/cliui@8.0.2: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -2481,6 +2493,13 @@ packages: engines: {node: '>=0.8'} dev: false + /cluster-key-slot@1.1.2: + resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: false + optional: true + /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -2695,6 +2714,13 @@ packages: has-property-descriptors: 1.0.1 object-keys: 1.1.1 + /denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + requiresBuild: true + dev: false + optional: true + /detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} @@ -4167,6 +4193,25 @@ packages: hasown: 2.0.0 side-channel: 1.0.5 + /ioredis@5.3.2: + resolution: {integrity: sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==} + engines: {node: '>=12.22.0'} + requiresBuild: true + dependencies: + '@ioredis/commands': 1.2.0 + cluster-key-slot: 1.1.2 + 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 + transitivePeerDependencies: + - supports-color + dev: false + optional: true + /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} @@ -4491,6 +4536,18 @@ packages: dependencies: p-locate: 5.0.0 + /lodash.defaults@4.2.0: + resolution: {integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==} + requiresBuild: true + dev: false + optional: true + + /lodash.isarguments@3.1.0: + resolution: {integrity: sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==} + requiresBuild: true + dev: false + optional: true + /lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true @@ -5378,6 +5435,22 @@ packages: strip-indent: 3.0.0 dev: false + /redis-errors@1.2.0: + resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==} + engines: {node: '>=4'} + requiresBuild: true + dev: false + optional: true + + /redis-parser@3.0.0: + resolution: {integrity: sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==} + engines: {node: '>=4'} + requiresBuild: true + dependencies: + redis-errors: 1.2.0 + dev: false + optional: true + /regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} dev: false @@ -5756,6 +5829,12 @@ packages: nan: 2.18.0 dev: false + /standard-as-callback@2.1.0: + resolution: {integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==} + requiresBuild: true + dev: false + optional: true + /stream-transform@2.1.3: resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} dependencies: diff --git a/services/kanao-cache/package.json b/services/kanao-cache/package.json index bb485647..db209445 100644 --- a/services/kanao-cache/package.json +++ b/services/kanao-cache/package.json @@ -16,6 +16,7 @@ "author": "KagChi", "license": "GPL-3.0", "optionalDependencies": { + "ioredis": "^5.3.2", "pino-loki": "^2.2.1" }, "dependencies": { diff --git a/services/kanao-gateway/package.json b/services/kanao-gateway/package.json index 05f511b8..41c6db41 100644 --- a/services/kanao-gateway/package.json +++ b/services/kanao-gateway/package.json @@ -54,6 +54,7 @@ "typescript": "^5.3.3" }, "optionalDependencies": { + "ioredis": "^5.3.2", "pino-loki": "^2.2.1", "zlib-sync": "^0.1.9" }