From 031d2bed5939e67e2c75e1cd47209a2bffbb2627 Mon Sep 17 00:00:00 2001 From: Alexey Zorkaltsev Date: Thu, 3 Oct 2024 14:52:31 +0300 Subject: [PATCH] fix: add explicit dependency on protobufjs package it is necessary for successful work with pnpm package manager --- examples/topic-service/index.ts | 3 --- package-lock.json | 14 ++++++++------ package.json | 1 + 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/topic-service/index.ts b/examples/topic-service/index.ts index ffe058bd..9d4968f9 100644 --- a/examples/topic-service/index.ts +++ b/examples/topic-service/index.ts @@ -18,9 +18,6 @@ async function main() { }); if (!(await db.ready(3000))) throw new Error('Driver is not ready!'); try { - - db.topic; - await db.topic.createTopic({ path: 'demoTopic', consumers: [{ diff --git a/package-lock.json b/package-lock.json index 0352fe00..4bf01bac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "lodash": "^4.17.21", "long": "^4.0.0", "luxon": "^3.2.1", + "protobufjs": "^7.4.0", "reflect-metadata": "^0.1.13", "typed-emitter": "^2.1.0", "uuid": "^8.3.2", @@ -8650,10 +8651,11 @@ } }, "node_modules/protobufjs": { - "version": "7.2.6", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.6.tgz", - "integrity": "sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", + "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", "hasInstallScript": true, + "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -16809,9 +16811,9 @@ } }, "protobufjs": { - "version": "7.2.6", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.6.tgz", - "integrity": "sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", + "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", "requires": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", diff --git a/package.json b/package.json index 06aade80..cb4af6ee 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "lodash": "^4.17.21", "long": "^4.0.0", "luxon": "^3.2.1", + "protobufjs": "^7.4.0", "reflect-metadata": "^0.1.13", "typed-emitter": "^2.1.0", "uuid": "^8.3.2",