matterbridge-zigbee2mqtt 3.0.6 → 3.0.7-dev-20260219-4f80e02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -26,6 +26,24 @@ If you like this project and find it useful, please consider giving it a star on
26
26
 
27
27
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
28
28
 
29
+ ## [3.0.7] - 2026-02-18
30
+
31
+ ### Added
32
+
33
+ - [docker]: Add an example of docker_compose.yml. You need to provide your own certificates.
34
+ - [mosquitto]: Add an example of mosquitto configuration for ws:// wss:// mqtt:// mqtts:// mqtt+unix://. You need to provide your own certificates.
35
+
36
+ ### Changed
37
+
38
+ - [package]: Update dependencies.
39
+ - [package]: Bump package to `automator` v.3.0.8.
40
+ - [package]: Bump `node-persist-manager` to v.2.0.1.
41
+ - [package]: Bump `eslint` to v.10.0.0.
42
+ - [package]: Bump `typescript-eslint` to v.8.56.0.
43
+ - [eslint]: Use minimatch in ignores.
44
+
45
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
46
+
29
47
  ## [3.0.6] - 2026-02-07
30
48
 
31
49
  ### Changed
@@ -395,7 +395,7 @@ export class Zigbee2MQTT extends EventEmitter {
395
395
  messageHandler(topic, payload) {
396
396
  if (topic.startsWith(this.mqttTopic + '/bridge/state')) {
397
397
  const payloadString = payload.toString();
398
- let data = {};
398
+ let data;
399
399
  if (payloadString.startsWith('{') && payloadString.endsWith('}')) {
400
400
  data = this.tryJsonParse(payload.toString());
401
401
  }
@@ -564,7 +564,7 @@ export class Zigbee2MQTT extends EventEmitter {
564
564
  return;
565
565
  }
566
566
  const payloadString = payload.toString();
567
- let data = {};
567
+ let data;
568
568
  if (payloadString.startsWith('{') && payloadString.endsWith('}')) {
569
569
  data = this.tryJsonParse(payload.toString());
570
570
  }
@@ -597,7 +597,7 @@ export class Zigbee2MQTT extends EventEmitter {
597
597
  return;
598
598
  }
599
599
  const payloadString = payload.toString();
600
- let data = {};
600
+ let data;
601
601
  if (payloadString.startsWith('{') && payloadString.endsWith('}')) {
602
602
  data = this.tryJsonParse(payload.toString());
603
603
  }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-dev-20260219-4f80e02",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-zigbee2mqtt",
9
- "version": "3.0.6",
9
+ "version": "3.0.7-dev-20260219-4f80e02",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "moment": "2.30.1",
13
13
  "mqtt": "5.15.0",
14
14
  "node-ansi-logger": "3.2.0",
15
- "node-persist-manager": "2.0.0"
15
+ "node-persist-manager": "2.0.1"
16
16
  },
17
17
  "engines": {
18
18
  "node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
@@ -32,9 +32,9 @@
32
32
  }
33
33
  },
34
34
  "node_modules/@types/node": {
35
- "version": "25.2.1",
36
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.1.tgz",
37
- "integrity": "sha512-CPrnr8voK8vC6eEtyRzvMpgp3VyVRhgclonE7qYi6P9sXwYb59ucfrnmFBTaP0yUi8Gk4yZg/LlTJULGxvTNsg==",
35
+ "version": "25.2.3",
36
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.3.tgz",
37
+ "integrity": "sha512-m0jEgYlYz+mDJZ2+F4v8D1AyQb+QzsNqRuI7xg1VQX/KlKS0qT9r1Mo16yo5F/MtifXFgaofIFsdFMox2SxIbQ==",
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
40
  "undici-types": "~7.16.0"
@@ -365,45 +365,36 @@
365
365
  "url": "https://www.buymeacoffee.com/luligugithub"
366
366
  }
367
367
  },
368
- "node_modules/node-persist": {
369
- "version": "4.0.4",
370
- "resolved": "https://registry.npmjs.org/node-persist/-/node-persist-4.0.4.tgz",
371
- "integrity": "sha512-8sPAz/7tw1mCCc8xBG4f0wi+flHkSSgQeX998iQ75Pu27evA6UUWCjSE7xnrYTg2q33oU5leJ061EKPDv6BocQ==",
372
- "license": "MIT",
373
- "dependencies": {
374
- "p-limit": "^3.1.0"
375
- },
376
- "engines": {
377
- "node": ">=10.12.0"
378
- }
379
- },
380
368
  "node_modules/node-persist-manager": {
381
- "version": "2.0.0",
382
- "resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-2.0.0.tgz",
383
- "integrity": "sha512-jpgOqCCn4ZEnIr4WcvqkyyGmmLJarV6aUyBlDQdG1G84X9UUmOmI1W2OZtc9K0z375CYWhjtGEXaY7GXNiEOfA==",
384
- "license": "MIT",
369
+ "version": "2.0.1",
370
+ "resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-2.0.1.tgz",
371
+ "integrity": "sha512-uCnZd8YZSaaYkxhFdOtzC4Q0uix+z5Cfnq5RbL43OKKFvU/6Ms/kZtXWF4CrlhIX9CBKAPUtV7pIUQy85nYc8g==",
372
+ "hasShrinkwrap": true,
373
+ "license": "Apache-2.0",
385
374
  "dependencies": {
386
375
  "node-persist": "4.0.4"
387
376
  },
388
377
  "engines": {
389
- "node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
378
+ "node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
390
379
  },
391
380
  "funding": {
392
381
  "type": "buymeacoffee",
393
382
  "url": "https://www.buymeacoffee.com/luligugithub"
394
383
  }
395
384
  },
396
- "node_modules/number-allocator": {
397
- "version": "1.0.14",
398
- "resolved": "https://registry.npmjs.org/number-allocator/-/number-allocator-1.0.14.tgz",
399
- "integrity": "sha512-OrL44UTVAvkKdOdRQZIJpLkAdjXGTRda052sN4sO77bKEzYYqWKMBjQvrJFzqygI99gL6Z4u2xctPW1tB8ErvA==",
385
+ "node_modules/node-persist-manager/node_modules/node-persist": {
386
+ "version": "4.0.4",
387
+ "resolved": "https://registry.npmjs.org/node-persist/-/node-persist-4.0.4.tgz",
388
+ "integrity": "sha512-8sPAz/7tw1mCCc8xBG4f0wi+flHkSSgQeX998iQ75Pu27evA6UUWCjSE7xnrYTg2q33oU5leJ061EKPDv6BocQ==",
400
389
  "license": "MIT",
401
390
  "dependencies": {
402
- "debug": "^4.3.1",
403
- "js-sdsl": "4.3.0"
391
+ "p-limit": "^3.1.0"
392
+ },
393
+ "engines": {
394
+ "node": ">=10.12.0"
404
395
  }
405
396
  },
406
- "node_modules/p-limit": {
397
+ "node_modules/node-persist-manager/node_modules/p-limit": {
407
398
  "version": "3.1.0",
408
399
  "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
409
400
  "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
@@ -418,6 +409,28 @@
418
409
  "url": "https://github.com/sponsors/sindresorhus"
419
410
  }
420
411
  },
412
+ "node_modules/node-persist-manager/node_modules/yocto-queue": {
413
+ "version": "0.1.0",
414
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
415
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
416
+ "license": "MIT",
417
+ "engines": {
418
+ "node": ">=10"
419
+ },
420
+ "funding": {
421
+ "url": "https://github.com/sponsors/sindresorhus"
422
+ }
423
+ },
424
+ "node_modules/number-allocator": {
425
+ "version": "1.0.14",
426
+ "resolved": "https://registry.npmjs.org/number-allocator/-/number-allocator-1.0.14.tgz",
427
+ "integrity": "sha512-OrL44UTVAvkKdOdRQZIJpLkAdjXGTRda052sN4sO77bKEzYYqWKMBjQvrJFzqygI99gL6Z4u2xctPW1tB8ErvA==",
428
+ "license": "MIT",
429
+ "dependencies": {
430
+ "debug": "^4.3.1",
431
+ "js-sdsl": "4.3.0"
432
+ }
433
+ },
421
434
  "node_modules/process": {
422
435
  "version": "0.11.10",
423
436
  "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
@@ -608,18 +621,6 @@
608
621
  "optional": true
609
622
  }
610
623
  }
611
- },
612
- "node_modules/yocto-queue": {
613
- "version": "0.1.0",
614
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
615
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
616
- "license": "MIT",
617
- "engines": {
618
- "node": ">=10"
619
- },
620
- "funding": {
621
- "url": "https://github.com/sponsors/sindresorhus"
622
- }
623
624
  }
624
625
  }
625
626
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-dev-20260219-4f80e02",
4
4
  "description": "Matterbridge zigbee2mqtt plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -68,6 +68,10 @@
68
68
  "moment": "2.30.1",
69
69
  "mqtt": "5.15.0",
70
70
  "node-ansi-logger": "3.2.0",
71
- "node-persist-manager": "2.0.0"
71
+ "node-persist-manager": "2.0.1"
72
+ },
73
+ "overrides": {
74
+ "eslint": "10.0.0",
75
+ "@eslint/js": "10.0.1"
72
76
  }
73
77
  }