mqtt 4.3.0 → 4.3.1
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 +68 -62
- package/package.json +122 -124
package/CHANGELOG.md
CHANGED
|
@@ -1,63 +1,69 @@
|
|
|
1
|
-
# Release History
|
|
2
|
-
|
|
3
|
-
## 4.3.
|
|
4
|
-
|
|
5
|
-
### PR
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
fix
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
fix(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## 4.2.
|
|
44
|
-
|
|
45
|
-
### PR
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
#
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
Improve
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 4.3.1
|
|
4
|
+
|
|
5
|
+
### PR
|
|
6
|
+
|
|
7
|
+
fix(dependencies): remove babel-eslint and snazzy (#1383)
|
|
8
|
+
|
|
9
|
+
## 4.3.0
|
|
10
|
+
|
|
11
|
+
### PR
|
|
12
|
+
|
|
13
|
+
refined topic alias support (#1301)
|
|
14
|
+
|
|
15
|
+
fix security vulnerability in ws stream (#1307)
|
|
16
|
+
|
|
17
|
+
skip TLS SNI if host is IP address (#1311)
|
|
18
|
+
|
|
19
|
+
update readme about vNext discussions (#1328)
|
|
20
|
+
|
|
21
|
+
update readme sample (#1331)
|
|
22
|
+
|
|
23
|
+
add support for ALPN TLS extension (#1332)
|
|
24
|
+
|
|
25
|
+
align onConnectCallback with specs expecting connack packet (#1333)
|
|
26
|
+
|
|
27
|
+
fix resubscribe messageId allocate twice (#1337)
|
|
28
|
+
|
|
29
|
+
rework examples to be a bit more specific (#1352)
|
|
30
|
+
|
|
31
|
+
readme typo fixed (#1353)
|
|
32
|
+
|
|
33
|
+
fix(typescript): use correct version of @types/ws (#1358)
|
|
34
|
+
|
|
35
|
+
fix(type): fix push properties types (#1359)
|
|
36
|
+
|
|
37
|
+
fix: audit dev dependencies (#1374)
|
|
38
|
+
|
|
39
|
+
fix(type): add properties type for IClientSubscribeOptions (#1378)
|
|
40
|
+
|
|
41
|
+
feat(client): auth handler for enhanced auth (#1380)
|
|
42
|
+
|
|
43
|
+
## 4.2.8
|
|
44
|
+
|
|
45
|
+
### PR
|
|
46
|
+
|
|
47
|
+
Fix ws vulnerability and typescript bug (#1292)
|
|
48
|
+
|
|
49
|
+
## 4.2.7
|
|
50
|
+
|
|
51
|
+
### PR
|
|
52
|
+
|
|
53
|
+
#1287 - Fix production vulnerabilities (#1289)
|
|
54
|
+
|
|
55
|
+
#1215 - Add missing 'duplexify' dependency (#1266)
|
|
56
|
+
|
|
57
|
+
Improve type definition for 'wsOptions' (#1256)
|
|
58
|
+
|
|
59
|
+
Improve Typescript Declaratiosn for userProperties (#1249)
|
|
60
|
+
|
|
61
|
+
#1235 - Call the end on the WebSocket stream when WebSocket close event is emitted. (#1239)
|
|
62
|
+
|
|
63
|
+
#1201 - Uncaught TypeError: net.createConnection is not a function. (#1236)
|
|
64
|
+
|
|
65
|
+
Improve Documentation for Browserify (#1224)
|
|
66
|
+
|
|
67
|
+
## v4.2.6 and Below
|
|
68
|
+
|
|
63
69
|
The release history has beend documented in the GitHub releases and tags historically.
|
package/package.json
CHANGED
|
@@ -1,124 +1,122 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mqtt",
|
|
3
|
-
"description": "A library for the MQTT protocol",
|
|
4
|
-
"version": "4.3.
|
|
5
|
-
"contributors": [
|
|
6
|
-
"Adam Rudd <adamvrr@gmail.com>",
|
|
7
|
-
"Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
|
|
8
|
-
"Siarhei Buntsevich <scarry0506@gmail.com> (https://github.com/scarry1992)",
|
|
9
|
-
"Yoseph Maguire <yomaguir@microsoft.com> (https://github.com/YoDaMa)"
|
|
10
|
-
],
|
|
11
|
-
"keywords": [
|
|
12
|
-
"mqtt",
|
|
13
|
-
"publish/subscribe",
|
|
14
|
-
"publish",
|
|
15
|
-
"subscribe"
|
|
16
|
-
],
|
|
17
|
-
"license": "MIT",
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git://github.com/mqttjs/MQTT.js.git"
|
|
21
|
-
},
|
|
22
|
-
"main": "mqtt.js",
|
|
23
|
-
"types": "types/index.d.ts",
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "node_modules/.bin/nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha --exit",
|
|
26
|
-
"pretest": "standard | snazzy",
|
|
27
|
-
"tslint": "tslint types/**/*.d.ts",
|
|
28
|
-
"typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
|
|
29
|
-
"typescript-compile-execute": "node test/typescript/*.js",
|
|
30
|
-
"typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute",
|
|
31
|
-
"browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js --standalone mqtt > dist/mqtt.js && uglifyjs dist/mqtt.js --compress --mangle --output dist/mqtt.min.js",
|
|
32
|
-
"prepare": "npm run browser-build",
|
|
33
|
-
"browser-test": "airtap --server test/browser/server.js --local --open test/browser/test.js",
|
|
34
|
-
"sauce-test": "airtap --server test/browser/server.js -- test/browser/test.js",
|
|
35
|
-
"ci": "npm run tslint && npm run typescript-compile-test && npm run test && codecov"
|
|
36
|
-
},
|
|
37
|
-
"pre-commit": [
|
|
38
|
-
"pretest",
|
|
39
|
-
"tslint"
|
|
40
|
-
],
|
|
41
|
-
"bin": {
|
|
42
|
-
"mqtt_pub": "./bin/pub.js",
|
|
43
|
-
"mqtt_sub": "./bin/sub.js",
|
|
44
|
-
"mqtt": "./bin/mqtt.js"
|
|
45
|
-
},
|
|
46
|
-
"files": [
|
|
47
|
-
"dist/",
|
|
48
|
-
"CONTRIBUTING.md",
|
|
49
|
-
"doc",
|
|
50
|
-
"lib",
|
|
51
|
-
"bin",
|
|
52
|
-
"types",
|
|
53
|
-
"mqtt.js"
|
|
54
|
-
],
|
|
55
|
-
"engines": {
|
|
56
|
-
"node": ">=10.0.0"
|
|
57
|
-
},
|
|
58
|
-
"browser": {
|
|
59
|
-
"./mqtt.js": "./lib/connect/index.js",
|
|
60
|
-
"fs": false,
|
|
61
|
-
"tls": false,
|
|
62
|
-
"net": false
|
|
63
|
-
},
|
|
64
|
-
"dependencies": {
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"@types/
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"tslint": "^
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "mqtt",
|
|
3
|
+
"description": "A library for the MQTT protocol",
|
|
4
|
+
"version": "4.3.1",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"Adam Rudd <adamvrr@gmail.com>",
|
|
7
|
+
"Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
|
|
8
|
+
"Siarhei Buntsevich <scarry0506@gmail.com> (https://github.com/scarry1992)",
|
|
9
|
+
"Yoseph Maguire <yomaguir@microsoft.com> (https://github.com/YoDaMa)"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"mqtt",
|
|
13
|
+
"publish/subscribe",
|
|
14
|
+
"publish",
|
|
15
|
+
"subscribe"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git://github.com/mqttjs/MQTT.js.git"
|
|
21
|
+
},
|
|
22
|
+
"main": "mqtt.js",
|
|
23
|
+
"types": "types/index.d.ts",
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "node_modules/.bin/nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha --exit",
|
|
26
|
+
"pretest": "standard | snazzy",
|
|
27
|
+
"tslint": "tslint types/**/*.d.ts",
|
|
28
|
+
"typescript-compile-test": "tsc -p test/typescript/tsconfig.json",
|
|
29
|
+
"typescript-compile-execute": "node test/typescript/*.js",
|
|
30
|
+
"typescript-test": "npm run typescript-compile-test && npm run typescript-compile-execute",
|
|
31
|
+
"browser-build": "rimraf dist/ && mkdirp dist/ && browserify mqtt.js --standalone mqtt > dist/mqtt.js && uglifyjs dist/mqtt.js --compress --mangle --output dist/mqtt.min.js",
|
|
32
|
+
"prepare": "npm run browser-build",
|
|
33
|
+
"browser-test": "airtap --server test/browser/server.js --local --open test/browser/test.js",
|
|
34
|
+
"sauce-test": "airtap --server test/browser/server.js -- test/browser/test.js",
|
|
35
|
+
"ci": "npm run tslint && npm run typescript-compile-test && npm run test && codecov"
|
|
36
|
+
},
|
|
37
|
+
"pre-commit": [
|
|
38
|
+
"pretest",
|
|
39
|
+
"tslint"
|
|
40
|
+
],
|
|
41
|
+
"bin": {
|
|
42
|
+
"mqtt_pub": "./bin/pub.js",
|
|
43
|
+
"mqtt_sub": "./bin/sub.js",
|
|
44
|
+
"mqtt": "./bin/mqtt.js"
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist/",
|
|
48
|
+
"CONTRIBUTING.md",
|
|
49
|
+
"doc",
|
|
50
|
+
"lib",
|
|
51
|
+
"bin",
|
|
52
|
+
"types",
|
|
53
|
+
"mqtt.js"
|
|
54
|
+
],
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=10.0.0"
|
|
57
|
+
},
|
|
58
|
+
"browser": {
|
|
59
|
+
"./mqtt.js": "./lib/connect/index.js",
|
|
60
|
+
"fs": false,
|
|
61
|
+
"tls": false,
|
|
62
|
+
"net": false
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"collections": "^5.1.12",
|
|
66
|
+
"commist": "^1.0.0",
|
|
67
|
+
"concat-stream": "^2.0.0",
|
|
68
|
+
"debug": "^4.1.1",
|
|
69
|
+
"duplexify": "^4.1.1",
|
|
70
|
+
"help-me": "^3.0.0",
|
|
71
|
+
"inherits": "^2.0.3",
|
|
72
|
+
"minimist": "^1.2.5",
|
|
73
|
+
"mqtt-packet": "^6.8.0",
|
|
74
|
+
"number-allocator": "^1.0.7",
|
|
75
|
+
"pump": "^3.0.0",
|
|
76
|
+
"readable-stream": "^3.6.0",
|
|
77
|
+
"reinterval": "^1.1.0",
|
|
78
|
+
"rfdc": "^1.3.0",
|
|
79
|
+
"split2": "^3.1.0",
|
|
80
|
+
"ws": "^7.5.5",
|
|
81
|
+
"xtend": "^4.0.2"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"@types/node": "^10.0.0",
|
|
85
|
+
"@types/ws": "^7.4.7",
|
|
86
|
+
"aedes": "^0.42.5",
|
|
87
|
+
"airtap": "^4.0.4",
|
|
88
|
+
"browserify": "^16.5.0",
|
|
89
|
+
"chai": "^4.2.0",
|
|
90
|
+
"codecov": "^3.0.4",
|
|
91
|
+
"end-of-stream": "^1.4.1",
|
|
92
|
+
"global": "^4.3.2",
|
|
93
|
+
"mkdirp": "^0.5.1",
|
|
94
|
+
"mocha": "^9.1.3",
|
|
95
|
+
"mqtt-connection": "^4.0.0",
|
|
96
|
+
"nyc": "^15.0.1",
|
|
97
|
+
"pre-commit": "^1.2.2",
|
|
98
|
+
"rimraf": "^3.0.2",
|
|
99
|
+
"should": "^13.2.1",
|
|
100
|
+
"sinon": "^9.0.0",
|
|
101
|
+
"snazzy": "^9.0.0",
|
|
102
|
+
"standard": "^16.0.4",
|
|
103
|
+
"tslint": "^5.11.0",
|
|
104
|
+
"tslint-config-standard": "^8.0.1",
|
|
105
|
+
"typescript": "^3.2.2",
|
|
106
|
+
"uglify-es": "^3.3.9"
|
|
107
|
+
},
|
|
108
|
+
"standard": {
|
|
109
|
+
"env": [
|
|
110
|
+
"mocha"
|
|
111
|
+
],
|
|
112
|
+
"globals": [
|
|
113
|
+
"expect",
|
|
114
|
+
"test",
|
|
115
|
+
"describe",
|
|
116
|
+
"it",
|
|
117
|
+
"beforeEach",
|
|
118
|
+
"beforeAll",
|
|
119
|
+
"afterAll"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|