aedes 0.49.0 → 0.50.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.
- package/.github/workflows/ci.yml +2 -1
- package/README.md +6 -0
- package/aedes.d.ts +4 -0
- package/package.json +14 -14
- package/test/types/aedes.test-d.ts +0 -1
package/.github/workflows/ci.yml
CHANGED
package/README.md
CHANGED
|
@@ -281,6 +281,12 @@ Here is a list of some interesting projects that are using Aedes as MQTT Broker.
|
|
|
281
281
|
Want to contribute? Check our list of
|
|
282
282
|
[features/bugs](https://github.com/moscajs/aedes/projects/1)
|
|
283
283
|
|
|
284
|
+
## Security notice
|
|
285
|
+
|
|
286
|
+
Messages sent to the broker are considered _valid_ once they pass the [`authorizePublish`](https://github.com/moscajs/aedes/blob/main/docs/Aedes.md#handler-authorizepublish-client-packet-callback) callback.
|
|
287
|
+
In other terms, if permissions for the given client are revoked after the call completes, the message is still considered valid.
|
|
288
|
+
In case you are sending time-sensitive messages, make sure to use QoS 0 or connect with a clean session.
|
|
289
|
+
|
|
284
290
|
## Support
|
|
285
291
|
|
|
286
292
|
If there are bugs/leaks in production scenarios, we encourage people to send Pull Request and/or reach out maintainers for some paid support.
|
package/aedes.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aedes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "Stream-based MQTT broker",
|
|
5
5
|
"main": "aedes.js",
|
|
6
6
|
"types": "aedes.d.ts",
|
|
@@ -94,27 +94,27 @@
|
|
|
94
94
|
},
|
|
95
95
|
"homepage": "https://github.com/moscajs/aedes#readme",
|
|
96
96
|
"engines": {
|
|
97
|
-
"node": ">=
|
|
97
|
+
"node": ">=16"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@sinonjs/fake-timers": "^10.0
|
|
101
|
-
"@types/node": "^
|
|
102
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
103
|
-
"@typescript-eslint/parser": "^
|
|
100
|
+
"@sinonjs/fake-timers": "^10.3.0",
|
|
101
|
+
"@types/node": "^20.4.5",
|
|
102
|
+
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
103
|
+
"@typescript-eslint/parser": "^6.2.0",
|
|
104
104
|
"concat-stream": "^2.0.0",
|
|
105
105
|
"duplexify": "^4.1.2",
|
|
106
106
|
"license-checker": "^25.0.1",
|
|
107
|
-
"markdownlint-cli": "^0.
|
|
108
|
-
"mqtt": "^
|
|
107
|
+
"markdownlint-cli": "^0.35.0",
|
|
108
|
+
"mqtt": "^5.0.0",
|
|
109
109
|
"mqtt-connection": "^4.1.0",
|
|
110
110
|
"pre-commit": "^1.2.2",
|
|
111
111
|
"proxyquire": "^2.1.3",
|
|
112
|
-
"release-it": "^
|
|
112
|
+
"release-it": "^16.1.3",
|
|
113
113
|
"snazzy": "^9.0.0",
|
|
114
|
-
"standard": "^17.
|
|
115
|
-
"tap": "^16.3.
|
|
116
|
-
"tsd": "^0.
|
|
117
|
-
"typescript": "^
|
|
114
|
+
"standard": "^17.1.0",
|
|
115
|
+
"tap": "^16.3.7",
|
|
116
|
+
"tsd": "^0.28.1",
|
|
117
|
+
"typescript": "^5.1.6",
|
|
118
118
|
"websocket-stream": "^5.5.2"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"fastseries": "^2.0.0",
|
|
127
127
|
"hyperid": "^3.1.1",
|
|
128
128
|
"mqemitter": "^5.0.0",
|
|
129
|
-
"mqtt-packet": "^8.
|
|
129
|
+
"mqtt-packet": "^8.2.0",
|
|
130
130
|
"retimer": "^3.0.0",
|
|
131
131
|
"reusify": "^1.0.4",
|
|
132
132
|
"uuid": "^9.0.0"
|