From 10dbce12524f0e87adf0b5b8681d97fab62b787f Mon Sep 17 00:00:00 2001 From: Mathias Date: Sun, 6 Aug 2023 15:24:27 +0200 Subject: [PATCH 1/2] Update peer dependency for mqtt to 5.0.2 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6b1826b72..6eac7fb46 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "lockfile-lint": "^4.10.6", "log4js": "^6.9.1", "moleculer-repl": "^0.7.3", - "mqtt": "^4.3.7", + "mqtt": "^5.0.2", "msgpack5": "^6.0.2", "nats": "^2.7.1", "node-nats-streaming": "^0.3.2", @@ -145,7 +145,7 @@ "jaeger-client": "^3.0.0", "kafka-node": "^5.0.0", "log4js": "^6.0.0", - "mqtt": "^4.0.0", + "mqtt": "^5.0.2", "msgpack5": "^5.0.0 || ^6.0.0", "nats": "^1.0.0 || ^2.0.0", "node-nats-streaming": "^0.0.51 || ^0.2.0 || ^0.3.0", From 7006e9c47321422a86ca3663e16249db366f6bea Mon Sep 17 00:00:00 2001 From: Mathias Date: Tue, 8 Aug 2023 14:13:56 +0000 Subject: [PATCH 2/2] - allow usage of mqtt 4 and 5 in peer dependencies - use 4.3.7 in dev dependencies to stay compatible with older Node versions --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6eac7fb46..e425b89b6 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "lockfile-lint": "^4.10.6", "log4js": "^6.9.1", "moleculer-repl": "^0.7.3", - "mqtt": "^5.0.2", + "mqtt": "^4.3.7", "msgpack5": "^6.0.2", "nats": "^2.7.1", "node-nats-streaming": "^0.3.2", @@ -145,7 +145,7 @@ "jaeger-client": "^3.0.0", "kafka-node": "^5.0.0", "log4js": "^6.0.0", - "mqtt": "^5.0.2", + "mqtt": "^4.0.0 || ^5.0.0", "msgpack5": "^5.0.0 || ^6.0.0", "nats": "^1.0.0 || ^2.0.0", "node-nats-streaming": "^0.0.51 || ^0.2.0 || ^0.3.0",