mqtt 5.15.2 → 5.16.0

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.
Files changed (36) hide show
  1. package/README.md +73 -0
  2. package/build/lib/KeepaliveManager.js +1 -1
  3. package/build/lib/KeepaliveManager.js.map +1 -1
  4. package/build/lib/client.d.ts +16 -1
  5. package/build/lib/client.js +129 -23
  6. package/build/lib/client.js.map +1 -1
  7. package/build/lib/handlers/ack.d.ts +1 -0
  8. package/build/lib/handlers/ack.js +13 -1
  9. package/build/lib/handlers/ack.js.map +1 -1
  10. package/build/lib/handlers/auth.d.ts +6 -2
  11. package/build/lib/handlers/auth.js +31 -9
  12. package/build/lib/handlers/auth.js.map +1 -1
  13. package/build/lib/handlers/connack.d.ts +4 -2
  14. package/build/lib/handlers/connack.js +24 -14
  15. package/build/lib/handlers/connack.js.map +1 -1
  16. package/build/lib/handlers/index.js +40 -16
  17. package/build/lib/handlers/index.js.map +1 -1
  18. package/build/lib/handlers/publish.js +35 -11
  19. package/build/lib/handlers/publish.js.map +1 -1
  20. package/build/lib/handlers/pubrel.js +1 -0
  21. package/build/lib/handlers/pubrel.js.map +1 -1
  22. package/build/lib/number-allocator.d.ts +12 -0
  23. package/build/lib/number-allocator.js +61 -0
  24. package/build/lib/number-allocator.js.map +1 -0
  25. package/build/lib/shared.d.ts +5 -1
  26. package/build/lib/shared.js.map +1 -1
  27. package/build/lib/topic-alias-send.js +1 -1
  28. package/build/lib/topic-alias-send.js.map +1 -1
  29. package/build/lib/unique-message-id-provider.js +1 -1
  30. package/build/lib/unique-message-id-provider.js.map +1 -1
  31. package/build/mqtt.d.ts +1 -0
  32. package/build/tsconfig.build.tsbuildinfo +1 -1
  33. package/dist/mqtt.esm.js +8 -8
  34. package/dist/mqtt.js +445 -2996
  35. package/dist/mqtt.min.js +8 -8
  36. package/package.json +5 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mqtt",
3
3
  "description": "A library for the MQTT protocol",
4
- "version": "5.15.2",
4
+ "version": "5.16.0",
5
5
  "contributors": [
6
6
  "Adam Rudd <adamvrr@gmail.com>",
7
7
  "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
@@ -98,7 +98,6 @@
98
98
  "lru-cache": "^10.4.3",
99
99
  "minimist": "^1.2.8",
100
100
  "mqtt-packet": "^9.0.2",
101
- "number-allocator": "^1.0.14",
102
101
  "readable-stream": "^4.7.0",
103
102
  "rfdc": "^1.4.1",
104
103
  "socks": "^2.8.6",
@@ -122,7 +121,7 @@
122
121
  "@eslint/eslintrc": "^3.3.1",
123
122
  "@eslint/js": "^9.32.0",
124
123
  "@esm-bundle/chai": "^4.3.4",
125
- "@release-it/conventional-changelog": "^10.0.1",
124
+ "@release-it/conventional-changelog": "^12.0.2",
126
125
  "@tsconfig/node20": "^20.1.6",
127
126
  "@types/chai": "^5.2.2",
128
127
  "@types/node": "^20.17.16",
@@ -135,7 +134,8 @@
135
134
  "aedes-cli": "^0.8.0",
136
135
  "chai": "^5.2.1",
137
136
  "chokidar": "^4.0.3",
138
- "conventional-changelog-cli": "^5.0.0",
137
+ "conventional-changelog": "^8.1.3",
138
+ "conventional-changelog-angular": "^9.4.0",
139
139
  "end-of-stream": "^1.4.5",
140
140
  "esbuild": "^0.25.8",
141
141
  "esbuild-plugin-polyfill-node": "^0.3.0",
@@ -153,7 +153,7 @@
153
153
  "nyc": "^17.1.0",
154
154
  "pre-commit": "^1.2.2",
155
155
  "prettier": "^3.6.2",
156
- "release-it": "^19.0.4",
156
+ "release-it": "^21.0.3",
157
157
  "rimraf": "^6.0.1",
158
158
  "should": "^13.2.3",
159
159
  "sinon": "^17.0.2",