Skip to content

Commit

Permalink
chore: bump mqtt@5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 1, 2023
1 parent 5392cc1 commit 6e97534
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
4 changes: 2 additions & 2 deletions lib/MqttClient.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

import mqtt, { Client } from 'mqtt'
import mqtt, { MqttClient as Client } from 'mqtt'
import { allSettled, parseJSON, sanitizeTopic } from './utils'
import { module } from './logger'
import { version as appVersion } from '../package.json'
Expand Down Expand Up @@ -347,7 +347,7 @@ class MqttClient extends TypedEventEmitter<MqttClientEventCallbacks> {
rejectUnauthorized: !config.allowSelfsigned,
will: {
topic: this.getClientTopic(MqttClient.STATUS_TOPIC),
payload: JSON.stringify({ value: false }),
payload: JSON.stringify({ value: false }) as any,
qos: this.config.qos,
retain: this.config.retain,
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
"jsonwebtoken": "^9.0.0",
"merge": "^2.1.1",
"morgan": "~1.10.0",
"mqtt": "^5.0.0",
"mqtt-jsonl-store": "^0.1.2",
"mqtt": "^5.0.1",
"mqtt-jsonl-store": "^0.2.0",
"multer": "^1.4.5-lts.1",
"native-url": "^0.3.4",
"pinia": "^2.0.33",
Expand Down
35 changes: 12 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ __metadata:
version: 6
cacheKey: 8

"@alcalzone/jsonl-db@npm:^2.5.3":
version: 2.5.3
resolution: "@alcalzone/jsonl-db@npm:2.5.3"
dependencies:
"@alcalzone/proper-lockfile": ^4.1.3-0
alcalzone-shared: ^4.0.3
fs-extra: ^10.1.0
checksum: 7e9d798f2a720772e7273a506274e513de95d80ac3eee458ce02b170deba1ba68bfe09ba2b969f566abe883e20c9a7ec0483e0d96b08768fc3f2e800290dab4c
languageName: node
linkType: hard

"@alcalzone/jsonl-db@npm:^3.1.0":
version: 3.1.0
resolution: "@alcalzone/jsonl-db@npm:3.1.0"
Expand Down Expand Up @@ -3868,7 +3857,7 @@ __metadata:
languageName: node
linkType: hard

"alcalzone-shared@npm:^4.0.3, alcalzone-shared@npm:^4.0.8":
"alcalzone-shared@npm:^4.0.8":
version: 4.0.8
resolution: "alcalzone-shared@npm:4.0.8"
dependencies:
Expand Down Expand Up @@ -10953,12 +10942,12 @@ __metadata:
languageName: node
linkType: hard

"mqtt-jsonl-store@npm:^0.1.2":
version: 0.1.2
resolution: "mqtt-jsonl-store@npm:0.1.2"
"mqtt-jsonl-store@npm:^0.2.0":
version: 0.2.0
resolution: "mqtt-jsonl-store@npm:0.2.0"
dependencies:
"@alcalzone/jsonl-db": ^2.5.3
checksum: 9f1ed50b1b9c38fce43d555a282d4dae7faaa2a5660b807e4c699071fa85ad87a309733e47b0d6e97796751582d4975f2cb7bfd96c72e2c2616954201274d557
"@alcalzone/jsonl-db": ^3.1.0
checksum: 0ce766ff95aef3b46f238bd6f91ba828e0da04b29e78aa7ba4c5544a358e751837984bb3ccbd7f7aad99712478d89115d364cc77c1cba187966d1bec00863fc4
languageName: node
linkType: hard

Expand All @@ -10973,9 +10962,9 @@ __metadata:
languageName: node
linkType: hard

"mqtt@npm:^5.0.0":
version: 5.0.0
resolution: "mqtt@npm:5.0.0"
"mqtt@npm:^5.0.1":
version: 5.0.1
resolution: "mqtt@npm:5.0.1"
dependencies:
commist: ^3.2.0
concat-stream: ^2.0.0
Expand All @@ -10995,7 +10984,7 @@ __metadata:
mqtt: build/bin/mqtt.js
mqtt_pub: build/bin/pub.js
mqtt_sub: build/bin/sub.js
checksum: cad5180a95be301138ce43608880efeecf7bfa28ac32f06be791990e04756939432217b9535fe9b40d5ecc00b6c0c626d63e4d8c2e86df150933b085a8faeec2
checksum: 29125039ca5c7261f1ad932d71e27c0df21d15e64ca85239c8be35625f512588acdb261f83556ba1d1c96e51b2928b3dc1760b2df1d5b5af59e227463afd8351
languageName: node
linkType: hard

Expand Down Expand Up @@ -16312,8 +16301,8 @@ __metadata:
mini-css-extract-plugin: ^2.7.5
mocha: ^10.2.0
morgan: ~1.10.0
mqtt: ^5.0.0
mqtt-jsonl-store: ^0.1.2
mqtt: ^5.0.1
mqtt-jsonl-store: ^0.2.0
multer: ^1.4.5-lts.1
native-url: ^0.3.4
node-notifier: ^10.0.1
Expand Down

0 comments on commit 6e97534

Please sign in to comment.