From 51692ae0cd5f5b2796db6de3e41265090e144d24 Mon Sep 17 00:00:00 2001 From: akumar Date: Fri, 28 Jun 2024 10:49:46 +0200 Subject: [PATCH] fix: up deps and removed set apiKey command listener --- cfg/config.json | 7 - docs/modules/ROOT/pages/index.adoc | 1 - package-lock.json | 415 ++++++++++++++--------------- package.json | 34 +-- src/worker.ts | 8 +- 5 files changed, 219 insertions(+), 246 deletions(-) diff --git a/cfg/config.json b/cfg/config.json index c452249..d1314bc 100644 --- a/cfg/config.json +++ b/cfg/config.json @@ -147,12 +147,6 @@ "configUpdateResponse": { "messageObject": "io.restorecommerce.commandinterface.CommandResponse" }, - "setApiKeyCommand": { - "messageObject": "io.restorecommerce.commandinterface.CommandRequest" - }, - "setApiKeyResponse": { - "messageObject": "io.restorecommerce.commandinterface.CommandResponse" - }, "flushCacheCommand": { "messageObject": "io.restorecommerce.commandinterface.CommandRequest" }, @@ -168,7 +162,6 @@ "restoreCommand", "resetCommand", "configUpdateCommand", - "setApiKeyCommand", "flushCacheCommand" ] }, diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 2993f16..24c7b72 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -235,7 +235,6 @@ List of events emitted by this microservice for below topics: | | healthCheckResponse | system health check response. | | versionResponse | system version response. | |`flushCacheResponse` | flush ACS Cache response -| |`setApiKeyResponse` | set API Key response |=============================================================================== Jobs can be created, updated or deleted by issuing Kafka messages to topic `io.restorecommerce.jobs`. diff --git a/package-lock.json b/package-lock.json index e06f2ef..802f525 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,16 @@ "version": "1.2.7", "license": "MIT", "dependencies": { - "@bull-board/api": "^5.20.2", - "@bull-board/express": "^5.20.2", - "@bull-board/koa": "^5.20.2", - "@restorecommerce/acs-client": "^1.6.9", - "@restorecommerce/chassis-srv": "^1.6.1", - "@restorecommerce/kafka-client": "^1.2.8", + "@bull-board/api": "^5.20.5", + "@bull-board/express": "^5.20.5", + "@bull-board/koa": "^5.20.5", + "@restorecommerce/acs-client": "^2.0.0", + "@restorecommerce/chassis-srv": "^1.6.2", + "@restorecommerce/kafka-client": "^1.2.10", "@restorecommerce/logger": "^1.3.1", - "@restorecommerce/rc-grpc-clients": "^5.1.30", - "@restorecommerce/scs-jobs": "^0.1.32", - "@restorecommerce/service-config": "^1.0.13", + "@restorecommerce/rc-grpc-clients": "^5.1.32", + "@restorecommerce/scs-jobs": "^0.1.34", + "@restorecommerce/service-config": "^1.0.15", "bullmq": "^5.8.2", "cache-manager": "^5.6.1", "cache-manager-redis": "^0.6.0", @@ -34,13 +34,13 @@ "@commitlint/config-conventional": "^19.2.2", "@grpc/proto-loader": "^0.7.13", "@restorecommerce/dev": "^0.0.12", - "@restorecommerce/grpc-client": "^2.2.2", + "@restorecommerce/grpc-client": "^2.2.4", "@semantic-release-plus/docker": "^3.1.3", "@types/lodash-es": "^4.17.12", - "@types/mocha": "^10.0.6", - "@types/node": "^20.14.5", - "@typescript-eslint/eslint-plugin": "^7.13.1", - "@typescript-eslint/parser": "^7.13.1", + "@types/mocha": "^10.0.7", + "@types/node": "^20.14.9", + "@typescript-eslint/eslint-plugin": "^7.14.1", + "@typescript-eslint/parser": "^7.14.1", "c8": "^10.1.2", "copyfiles": "^2.4.1", "coveralls": "^3.1.1", @@ -49,13 +49,13 @@ "eslint": "^8.56.0", "eslint-plugin-prefer-arrow-functions": "^3.3.2", "husky": "^9.0.11", - "mocha": "^10.4.0", - "nodemon": "^3.1.3", + "mocha": "^10.5.2", + "nodemon": "^3.1.4", "npm-run-all": "^4.1.5", "rimraf": "^5.0.7", "should": "^13.2.3", "ts-node": "^10.9.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" }, "engines": { "node": ">= 20.8.0" @@ -271,34 +271,34 @@ "dev": true }, "node_modules/@bull-board/api": { - "version": "5.20.2", - "resolved": "https://registry.npmjs.org/@bull-board/api/-/api-5.20.2.tgz", - "integrity": "sha512-5sTujiB3d8mKFQxBucMaa7di+Vi9N6r+OdDH0rSKCdNKR6E8fXfpohEza/Ddy9DFlqSCavRHbD0nz6O4sTieSA==", + "version": "5.20.5", + "resolved": "https://registry.npmjs.org/@bull-board/api/-/api-5.20.5.tgz", + "integrity": "sha512-YI95JK5A4/K4KB5VWbQn/CYNB+AO5cZ/BnZ77LxAhsaJ3ssHBN3Au0n3Z4wD7O+78+W3ON9uqGjKnHV6rXBGcQ==", "dependencies": { "redis-info": "^3.0.8" }, "peerDependencies": { - "@bull-board/ui": "5.20.2" + "@bull-board/ui": "5.20.5" } }, "node_modules/@bull-board/express": { - "version": "5.20.2", - "resolved": "https://registry.npmjs.org/@bull-board/express/-/express-5.20.2.tgz", - "integrity": "sha512-wldBvrVjomu3xGl5Wzo+UShIzFrJqc4eEF1YH6GI1K4PfSLc9e0l5UjoG5nfp6zS7rWtdzEsjLg56d5ectI8ag==", + "version": "5.20.5", + "resolved": "https://registry.npmjs.org/@bull-board/express/-/express-5.20.5.tgz", + "integrity": "sha512-ncgSAVFZk3gpFrN87dIPjRKs72FQqC+Jos4529u0Xu+603aX0f7EKgdfBAtZbFhrzhyEt6anrbNxmYX7+K4oXg==", "dependencies": { - "@bull-board/api": "5.20.2", - "@bull-board/ui": "5.20.2", + "@bull-board/api": "5.20.5", + "@bull-board/ui": "5.20.5", "ejs": "^3.1.10", "express": "^4.19.2" } }, "node_modules/@bull-board/koa": { - "version": "5.20.2", - "resolved": "https://registry.npmjs.org/@bull-board/koa/-/koa-5.20.2.tgz", - "integrity": "sha512-2E1y7gJx1n0i7Lsa7xx0s0+jCUxbkZcD+n4XBOMlQCSQk7RkV0Psyw9KKoAepx2NzxOFxekqjY5smE1uI7RAhQ==", + "version": "5.20.5", + "resolved": "https://registry.npmjs.org/@bull-board/koa/-/koa-5.20.5.tgz", + "integrity": "sha512-m/YzjdeOIxFiEJ1l7eY9XBoBWrMBCfInMQs/2aE5W0yIEg5wyfEGtGT9UVyam09onnlaoR+ILXDjbN0L4sGYBw==", "dependencies": { - "@bull-board/api": "5.20.2", - "@bull-board/ui": "5.20.2", + "@bull-board/api": "5.20.5", + "@bull-board/ui": "5.20.5", "ejs": "^3.1.10", "koa": "^2.13.1", "koa-mount": "^4.0.0", @@ -308,11 +308,11 @@ } }, "node_modules/@bull-board/ui": { - "version": "5.20.2", - "resolved": "https://registry.npmjs.org/@bull-board/ui/-/ui-5.20.2.tgz", - "integrity": "sha512-zd8XaBZHhODQpm+IU8zcl+92lA58YXdbSDGCzd7M4zVHB36Cq8BUk9JhPYxA1dVe62+8COBmDd6rSYEsfJ+g5g==", + "version": "5.20.5", + "resolved": "https://registry.npmjs.org/@bull-board/ui/-/ui-5.20.5.tgz", + "integrity": "sha512-RV9VlW4qVL1A0Dewpsor4z7ZL9D56OW9LcRYjvXrIU5FSzvTvYKofmrUYoVrNQDs6jGMwJic+dMiW9K8GUU15A==", "dependencies": { - "@bull-board/api": "5.20.2" + "@bull-board/api": "5.20.5" } }, "node_modules/@colors/colors": { @@ -2442,15 +2442,15 @@ } }, "node_modules/@restorecommerce/acs-client": { - "version": "1.6.9", - "resolved": "https://registry.npmjs.org/@restorecommerce/acs-client/-/acs-client-1.6.9.tgz", - "integrity": "sha512-xfCrP9709NHk7zr4ULBn5/ndBm3+4e0Pd6JKjPpnlPrM80SmQL5/CnTuRu1xsQUQXaJZkA2NZMEhhKjH0f4U1g==", - "dependencies": { - "@restorecommerce/grpc-client": "^2.2.2", - "@restorecommerce/kafka-client": "^1.2.8", - "@restorecommerce/logger": "^1.2.11", - "@restorecommerce/rc-grpc-clients": "^5.1.30", - "@restorecommerce/service-config": "^1.0.13", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@restorecommerce/acs-client/-/acs-client-2.0.0.tgz", + "integrity": "sha512-y4McvRbVkyCa1Y4y+yCh8HKHrGz3XIGm/D4wvX61y7X0F5NAKC26CzlHy7u6qjCwplBVrp10ogtKpIW5ogaOgQ==", + "dependencies": { + "@restorecommerce/grpc-client": "^2.2.4", + "@restorecommerce/kafka-client": "^1.2.10", + "@restorecommerce/logger": "^1.3.1", + "@restorecommerce/rc-grpc-clients": "^5.1.32", + "@restorecommerce/service-config": "^1.0.15", "deepdash": "^5.3.9", "lodash": "^4.17.21", "nconf": "^0.12.1", @@ -2460,17 +2460,17 @@ } }, "node_modules/@restorecommerce/chassis-srv": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@restorecommerce/chassis-srv/-/chassis-srv-1.6.1.tgz", - "integrity": "sha512-rJmPHxydGCMRdNYosWRcnlfwqAhmN51EPUBL1izz0QJH5JbGAPmBZdIjidwcnMeFx8U0k66dceE5QVys6YxGNQ==", - "dependencies": { - "@grpc/grpc-js": "^1.10.6", - "@restorecommerce/grpc-client": "^2.2.1", - "@restorecommerce/kafka-client": "^1.2.1", - "@restorecommerce/logger": "^1.2.10", - "@restorecommerce/protos": "^6.8.2", - "@restorecommerce/rc-grpc-clients": "^5.1.23", - "@restorecommerce/service-config": "^1.0.12", + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/@restorecommerce/chassis-srv/-/chassis-srv-1.6.2.tgz", + "integrity": "sha512-eAcqN7JDyr58WsxN1pHQWoc41dFH5On+v9JIXQqnnYErs1cRKmlGg+jEHRBxmTpryNhtIjJRDeEcRjoA3hEIVA==", + "dependencies": { + "@grpc/grpc-js": "^1.10.10", + "@restorecommerce/grpc-client": "^2.2.4", + "@restorecommerce/kafka-client": "^1.2.10", + "@restorecommerce/logger": "^1.3.1", + "@restorecommerce/protos": "^6.8.7", + "@restorecommerce/rc-grpc-clients": "^5.1.32", + "@restorecommerce/service-config": "^1.0.15", "arangojs": "8.7.0", "async": "^3.2.5", "async-retry": "^1.3.3", @@ -2482,10 +2482,10 @@ "lodash": "^4.17.21", "long": "^5.2.3", "nedb": "^1.8.0", - "nice-grpc": "^2.1.8", - "nice-grpc-server-reflection": "^2.0.10", - "protobufjs": "^7.2.6", - "redis": "^4.6.13" + "nice-grpc": "^2.1.9", + "nice-grpc-server-reflection": "^2.0.11", + "protobufjs": "^7.3.2", + "redis": "^4.6.14" }, "engines": { "node": ">= 20.0.0" @@ -2539,47 +2539,35 @@ } }, "node_modules/@restorecommerce/grpc-client": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@restorecommerce/grpc-client/-/grpc-client-2.2.2.tgz", - "integrity": "sha512-kdUVxFB35PQiDV0lLQQcmWaf25t0YWuPsM9xUqiZwCP9yZ/UpAW6WtdVkoGvQv9s4xO60yo4VsRBAJfQ0y/W0A==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@restorecommerce/grpc-client/-/grpc-client-2.2.4.tgz", + "integrity": "sha512-zQujP2q8UjOkcziMoi/yvtnb5yWFHlsONCZ5Fbo0JJP6xYzmL5fU4KF1yqVxPhF7ecSvwIkElbCU04E+OLIC+w==", "dependencies": { - "@grpc/grpc-js": "^1.10.8", + "@grpc/grpc-js": "^1.10.10", "@grpc/proto-loader": "^0.7.13", - "@restorecommerce/logger": "^1.2.11", + "@restorecommerce/logger": "^1.3.1", "cls-rtracer": "^2.6.3", "lodash": "^4.17.21", "nice-grpc": "^2.1.9", "nice-grpc-client-middleware-deadline": "^2.0.12", "nice-grpc-client-middleware-retry": "^3.1.8", - "protobufjs": "^7.3.0", + "protobufjs": "^7.3.2", "retry": "^0.13.1", "rxjs": "^7.8.1", - "uuid": "^9.0.1", + "uuid": "^10.0.0", "winston": "^3.13.0" }, "engines": { "node": ">= 20.0.0" } }, - "node_modules/@restorecommerce/grpc-client/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@restorecommerce/kafka-client": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.8.tgz", - "integrity": "sha512-VPcTeL4Sit6DgCJWn4Qh1BQkVKy3Q6MOJbkVtnNAwM7TdfiOm4OJT6bM4NgcbdGQGMQ+jVALs/LYMabmQJOwCw==", + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.10.tgz", + "integrity": "sha512-PC58Yr7Hx5AVNo3rfRZ7nWrT/2xWN155t9I3WjgqZK3/IBByvLjl5rMhGBlbElRb0fsCU+Y0ujhrYdQtIiX+mA==", "dependencies": { - "@restorecommerce/logger": "^1.2.11", - "@restorecommerce/rc-grpc-clients": "^5.1.30", + "@restorecommerce/logger": "^1.3.1", + "@restorecommerce/rc-grpc-clients": "^5.1.32", "async": "^3.2.5", "cls-rtracer": "^2.6.3", "events": "^3.3.0", @@ -2610,17 +2598,17 @@ } }, "node_modules/@restorecommerce/protos": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/@restorecommerce/protos/-/protos-6.8.2.tgz", - "integrity": "sha512-id/ojKw2yRH++fmUabhpBc1jc/RUO2WIfMcvX88AX8u5GSzKElqjsXGKnl9GMs/duiBnATEYrWkeMztZk+5GmQ==" + "version": "6.8.7", + "resolved": "https://registry.npmjs.org/@restorecommerce/protos/-/protos-6.8.7.tgz", + "integrity": "sha512-J/GspWIGoosderB5IRpWrVRZV/rhYl4eiS5lQsNi4VkR2F3vf5uZx63jlyU+0GdD9hwsLZ9p6YhB0vY4ZcwajQ==" }, "node_modules/@restorecommerce/rc-grpc-clients": { - "version": "5.1.30", - "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.30.tgz", - "integrity": "sha512-HZ3ezt2rTTox1VhtQLy8YXAqWRApQ5wNMJ77kK1XUQ7byz6ltU1P78iGZyFJozT0DS8zjrq8S+LRfpSyjiyWtg==", + "version": "5.1.32", + "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.32.tgz", + "integrity": "sha512-Q2wl28Jy20wjO3xSwholPdwtoL5OFfWOzAkO3Ff60gQHk+HFrjPirbQQASw5BKIp2RaNFyTLjmeLElm4kgaR7Q==", "dependencies": { "@grpc/grpc-js": "^1.9.11", - "@restorecommerce/grpc-client": "^2.2.2", + "@restorecommerce/grpc-client": "^2.2.4", "@types/google-protobuf": "^3.15.10", "google-protobuf": "^3.21.2", "nice-grpc": "^2.1.7", @@ -2634,14 +2622,14 @@ } }, "node_modules/@restorecommerce/scs-jobs": { - "version": "0.1.32", - "resolved": "https://registry.npmjs.org/@restorecommerce/scs-jobs/-/scs-jobs-0.1.32.tgz", - "integrity": "sha512-og46pF9mxCYPQ09pyJnlgr7WvToFOKm3Pt0ki95SSOszDBAWEza2QACSBoy2ExlAJFH1kLpGu1bUEvYvM6ZDZg==", - "dependencies": { - "@restorecommerce/grpc-client": "^2.2.2", - "@restorecommerce/kafka-client": "^1.2.8", - "@restorecommerce/logger": "^1.2.11", - "@restorecommerce/rc-grpc-clients": "^5.1.30", + "version": "0.1.34", + "resolved": "https://registry.npmjs.org/@restorecommerce/scs-jobs/-/scs-jobs-0.1.34.tgz", + "integrity": "sha512-thLEnNb1VEeQ7E2yNFtOd70jQBW5odIbD1dYG4npnz9+w3p5hyOmCbbXMEcYJ6iqUZ4alUgIReYzLL3tLsQfeQ==", + "dependencies": { + "@restorecommerce/grpc-client": "^2.2.4", + "@restorecommerce/kafka-client": "^1.2.10", + "@restorecommerce/logger": "^1.3.1", + "@restorecommerce/rc-grpc-clients": "^5.1.32", "bullmq": "^5.7.15", "lodash": "^4.17.21", "redis": "^4.6.8", @@ -2652,11 +2640,11 @@ } }, "node_modules/@restorecommerce/service-config": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/@restorecommerce/service-config/-/service-config-1.0.13.tgz", - "integrity": "sha512-nX2GcgzM3xKthyjyzkxi6eix6FA+d4prNwEr7DYFTn3ZCCe7aMiFKEBcZW066xViiIOvwaq8LgBpmatEgzlckQ==", + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@restorecommerce/service-config/-/service-config-1.0.15.tgz", + "integrity": "sha512-x88QOvkw7q3zCcDaakWy/uYJOlmd6Q2NI94TlGhnJosqAuunCayvLvUC9wBBMFKd1jyQYKhCg646UQHmzZQHSA==", "dependencies": { - "@restorecommerce/logger": "^1.2.11", + "@restorecommerce/logger": "^1.3.1", "nconf": "^0.12.1" }, "engines": { @@ -3380,9 +3368,9 @@ "peer": true }, "node_modules/@types/mocha": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.6.tgz", - "integrity": "sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==", "dev": true }, "node_modules/@types/ms": { @@ -3392,9 +3380,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", - "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dependencies": { "undici-types": "~5.26.4" } @@ -3433,16 +3421,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz", - "integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.14.1.tgz", + "integrity": "sha512-aAJd6bIf2vvQRjUG3ZkNXkmBpN+J7Wd0mfQiiVCJMu9Z5GcZZdcc0j8XwN/BM97Fl7e3SkTXODSk4VehUv7CGw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.13.1", - "@typescript-eslint/type-utils": "7.13.1", - "@typescript-eslint/utils": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/type-utils": "7.14.1", + "@typescript-eslint/utils": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3466,13 +3454,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", - "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3483,9 +3471,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", - "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", "dev": true, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3496,13 +3484,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", - "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3524,15 +3512,15 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz", - "integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.14.1.tgz", + "integrity": "sha512-CMmVVELns3nak3cpJhZosDkm63n+DwBlDX8g0k4QUa9BMnF+lH2lr3d130M1Zt1xxmB3LLk3NV7KQCq86ZBBhQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.13.1", - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/typescript-estree": "7.13.1" + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3546,12 +3534,12 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", - "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/types": "7.14.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3572,9 +3560,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -3599,15 +3587,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz", - "integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.14.1.tgz", + "integrity": "sha512-8lKUOebNLcR0D7RvlcloOacTOWzOqemWEWkKSVpMZVF/XVcwjPR+3MD08QzbW9TCGJ+DwIc6zUSGZ9vd8cO1IA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "7.13.1", - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/typescript-estree": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "debug": "^4.3.4" }, "engines": { @@ -3627,13 +3615,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", - "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3644,9 +3632,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", - "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", "dev": true, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3657,13 +3645,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", - "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3685,12 +3673,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", - "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/types": "7.14.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3711,9 +3699,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -3756,13 +3744,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz", - "integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.14.1.tgz", + "integrity": "sha512-/MzmgNd3nnbDbOi3LfasXWWe292+iuo+umJ0bCCMCPc1jLO/z2BQmWUUUXvXLbrQey/JgzdF/OV+I5bzEGwJkQ==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "7.13.1", - "@typescript-eslint/utils": "7.13.1", + "@typescript-eslint/typescript-estree": "7.14.1", + "@typescript-eslint/utils": "7.14.1", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3783,13 +3771,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz", - "integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.14.1.tgz", + "integrity": "sha512-gPrFSsoYcsffYXTOZ+hT7fyJr95rdVe4kGVX1ps/dJ+DfmlnjFN/GcMxXcVkeHDKqsq6uAcVaQaIi3cFffmAbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1" + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3800,9 +3788,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz", - "integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.14.1.tgz", + "integrity": "sha512-mL7zNEOQybo5R3AavY+Am7KLv8BorIv7HCYS5rKoNZKQD9tsfGUpO4KdAn3sSUvTiS4PQkr2+K0KJbxj8H9NDg==", "dev": true, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3813,13 +3801,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz", - "integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.14.1.tgz", + "integrity": "sha512-k5d0VuxViE2ulIO6FbxxSZaxqDVUyMbXcidC8rHvii0I56XZPv8cq+EhMns+d/EVIL41sMXqRbK3D10Oza1bbA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/visitor-keys": "7.13.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/visitor-keys": "7.14.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3841,15 +3829,15 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz", - "integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.14.1.tgz", + "integrity": "sha512-CMmVVELns3nak3cpJhZosDkm63n+DwBlDX8g0k4QUa9BMnF+lH2lr3d130M1Zt1xxmB3LLk3NV7KQCq86ZBBhQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.13.1", - "@typescript-eslint/types": "7.13.1", - "@typescript-eslint/typescript-estree": "7.13.1" + "@typescript-eslint/scope-manager": "7.14.1", + "@typescript-eslint/types": "7.14.1", + "@typescript-eslint/typescript-estree": "7.14.1" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -3863,12 +3851,12 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "7.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz", - "integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.14.1.tgz", + "integrity": "sha512-Crb+F75U1JAEtBeQGxSKwI60hZmmzaqA3z9sYsVm8X7W5cwLEm5bRe0/uXS6+MR/y8CVpKSR/ontIAIEPFcEkA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.13.1", + "@typescript-eslint/types": "7.14.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3889,9 +3877,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -10107,14 +10095,14 @@ } }, "node_modules/mocha": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.4.0.tgz", - "integrity": "sha512-eqhGB8JKapEYcC4ytX/xrzKforgEc3j1pGlAXVy3eRwrtAy5/nIfT1SvgGzfN0XZZxeLq0aQWkOUAmqIJiv+bA==", + "version": "10.5.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.5.2.tgz", + "integrity": "sha512-9btlN3JKCefPf+vKd/kcKz2SXxi12z6JswkGfaAF0saQvnsqLJk504ZmbxhSoENge08E9dsymozKgFMTl5PQsA==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", + "chokidar": "^3.5.3", "debug": "4.3.4", "diff": "5.0.0", "escape-string-regexp": "4.0.0", @@ -10588,14 +10576,13 @@ } }, "node_modules/nice-grpc-server-reflection": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/nice-grpc-server-reflection/-/nice-grpc-server-reflection-2.0.10.tgz", - "integrity": "sha512-VCOwGViuYJg7XND9gFVxfWWQ9CYnR0KzDIzDmVEytyWYEMkAstMRbRmOyfU3WlV2wC8dk5aCid0BFtgSvxucVw==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/nice-grpc-server-reflection/-/nice-grpc-server-reflection-2.0.11.tgz", + "integrity": "sha512-r/lo9NjaBOzRyBnK2mc++VXid1gLHiL9q9H1r4GyGxaMihmYMPLIUm6ws77mqJy0SGfwk/IRfqP7gKTq2DpF9g==", "dependencies": { - "@grpc/grpc-js": "~1.9.14", "@types/google-protobuf": "^3.7.4", "google-protobuf": "^3.15.6", - "nice-grpc": "^2.1.8" + "nice-grpc": "^2.1.9" } }, "node_modules/nice-try": { @@ -10698,9 +10685,9 @@ "license": "MIT" }, "node_modules/nodemon": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.3.tgz", - "integrity": "sha512-m4Vqs+APdKzDFpuaL9F9EVOF85+h070FnkHVEoU4+rmT6Vw0bmNl7s61VEkY/cJkL7RCv1p4urnUDUMrS5rk2w==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.4.tgz", + "integrity": "sha512-wjPBbFhtpJwmIeY2yP7QF+UKzPfltVGtfce1g/bB15/8vCGZj8uxD62b/b9M9/WVgme0NZudpownKN+c0plXlQ==", "dev": true, "dependencies": { "chokidar": "^3.5.2", @@ -21232,9 +21219,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 57bd46c..d9991e0 100644 --- a/package.json +++ b/package.json @@ -18,16 +18,16 @@ ], "type": "module", "dependencies": { - "@bull-board/api": "^5.20.2", - "@bull-board/express": "^5.20.2", - "@bull-board/koa": "^5.20.2", - "@restorecommerce/acs-client": "^1.6.9", - "@restorecommerce/chassis-srv": "^1.6.1", - "@restorecommerce/kafka-client": "^1.2.8", + "@bull-board/api": "^5.20.5", + "@bull-board/express": "^5.20.5", + "@bull-board/koa": "^5.20.5", + "@restorecommerce/acs-client": "^2.0.0", + "@restorecommerce/chassis-srv": "^1.6.2", + "@restorecommerce/kafka-client": "^1.2.10", "@restorecommerce/logger": "^1.3.1", - "@restorecommerce/rc-grpc-clients": "^5.1.30", - "@restorecommerce/scs-jobs": "^0.1.32", - "@restorecommerce/service-config": "^1.0.13", + "@restorecommerce/rc-grpc-clients": "^5.1.32", + "@restorecommerce/scs-jobs": "^0.1.34", + "@restorecommerce/service-config": "^1.0.15", "bullmq": "^5.8.2", "cache-manager": "^5.6.1", "cache-manager-redis": "^0.6.0", @@ -43,13 +43,13 @@ "@commitlint/config-conventional": "^19.2.2", "@grpc/proto-loader": "^0.7.13", "@restorecommerce/dev": "^0.0.12", - "@restorecommerce/grpc-client": "^2.2.2", + "@restorecommerce/grpc-client": "^2.2.4", "@semantic-release-plus/docker": "^3.1.3", "@types/lodash-es": "^4.17.12", - "@types/mocha": "^10.0.6", - "@types/node": "^20.14.5", - "@typescript-eslint/eslint-plugin": "^7.13.1", - "@typescript-eslint/parser": "^7.13.1", + "@types/mocha": "^10.0.7", + "@types/node": "^20.14.9", + "@typescript-eslint/eslint-plugin": "^7.14.1", + "@typescript-eslint/parser": "^7.14.1", "c8": "^10.1.2", "copyfiles": "^2.4.1", "coveralls": "^3.1.1", @@ -58,13 +58,13 @@ "eslint": "^8.56.0", "eslint-plugin-prefer-arrow-functions": "^3.3.2", "husky": "^9.0.11", - "mocha": "^10.4.0", - "nodemon": "^3.1.3", + "mocha": "^10.5.2", + "nodemon": "^3.1.4", "npm-run-all": "^4.1.5", "rimraf": "^5.0.7", "should": "^13.2.3", "ts-node": "^10.9.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" }, "overrides": { "@grpc/grpc-js": "^1.10.6" diff --git a/src/worker.ts b/src/worker.ts index 1e57d80..32cddef 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -28,7 +28,7 @@ const JOBS_CREATE_EVENT = 'createJobs'; const JOBS_MODIFY_EVENT = 'modifyJobs'; const JOBS_DELETE_EVENT = 'deleteJobs'; const COMMANDS_EVENTS = ['healthCheckCommand', 'versionCommand', 'restoreCommand', - 'resetCommand', 'configUpdateCommand', 'setApiKeyCommand', 'flushCacheCommand']; + 'resetCommand', 'configUpdateCommand', 'flushCacheCommand']; registerProtoMeta( schedulingMeta, @@ -56,12 +56,6 @@ class JobsCommandInterface extends chassis.CommandInterface { return {}; } - async setApiKey(payload: any): Promise { - const commandResponse = await super.setApiKey(payload); - updateConfig(this.config); - return commandResponse; - } - async configUpdate(payload: any): Promise { const commandResponse = await super.configUpdate(payload); updateConfig(this.config);