mqtt 4.2.4 → 4.2.8
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 +23 -0
- package/CONTRIBUTING.md +27 -27
- package/LICENSE.md +15 -15
- package/README.md +792 -784
- package/bin/mqtt.js +27 -27
- package/bin/pub.js +146 -146
- package/bin/sub.js +123 -123
- package/dist/mqtt.js +7466 -8450
- package/dist/mqtt.min.js +1 -1
- package/doc/help.txt +8 -8
- package/doc/publish.txt +26 -26
- package/doc/subscribe.txt +26 -26
- package/lib/client.js +1581 -1581
- package/lib/connect/ali.js +128 -128
- package/lib/connect/index.js +164 -177
- package/lib/connect/tcp.js +21 -21
- package/lib/connect/tls.js +45 -45
- package/lib/connect/ws.js +256 -255
- package/lib/connect/wx.js +134 -134
- package/lib/store.js +128 -128
- package/lib/validations.js +52 -52
- package/mqtt.js +17 -17
- package/package.json +109 -108
- package/types/index.d.ts +28 -27
- package/types/lib/client-options.d.ts +191 -191
- package/types/lib/client.d.ts +240 -232
- package/types/lib/connect/index.d.ts +10 -10
- package/types/lib/store-options.d.ts +6 -6
- package/types/lib/store.d.ts +46 -46
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 4.2.7
|
|
4
|
+
|
|
5
|
+
### PR
|
|
6
|
+
|
|
7
|
+
#1287 - Fix production vulnerabilities (#1289)
|
|
8
|
+
|
|
9
|
+
#1215 - Add missing 'duplexify' dependency (#1266)
|
|
10
|
+
|
|
11
|
+
Improve type definition for 'wsOptions' (#1256)
|
|
12
|
+
|
|
13
|
+
Improve Typescript Declaratiosn for userProperties (#1249)
|
|
14
|
+
|
|
15
|
+
#1235 - Call the end on the WebSocket stream when WebSocket close event is emitted. (#1239)
|
|
16
|
+
|
|
17
|
+
#1201 - Uncaught TypeError: net.createConnection is not a function. (#1236)
|
|
18
|
+
|
|
19
|
+
Improve Documentation for Browserify (#1224)
|
|
20
|
+
|
|
21
|
+
# v4.2.6 and Below
|
|
22
|
+
|
|
23
|
+
The release history has beend documented in the GitHub releases and tags historically.
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# MQTT.js is an OPEN Open Source Project
|
|
2
|
-
|
|
3
|
-
-----------------------------------------
|
|
4
|
-
|
|
5
|
-
## What?
|
|
6
|
-
|
|
7
|
-
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
|
|
8
|
-
|
|
9
|
-
## Rules
|
|
10
|
-
|
|
11
|
-
There are a few basic ground-rules for contributors:
|
|
12
|
-
|
|
13
|
-
1. **No `--force` pushes** or modifying the Git history in any way.
|
|
14
|
-
1. **Non-master branches** ought to be used for ongoing work.
|
|
15
|
-
1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
|
|
16
|
-
1. Internal pull-requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
|
|
17
|
-
1. Contributors should attempt to adhere to the prevailing code-style.
|
|
18
|
-
|
|
19
|
-
## Releases
|
|
20
|
-
|
|
21
|
-
Declaring formal releases remains the prerogative of the project maintainer.
|
|
22
|
-
|
|
23
|
-
## Changes to this arrangement
|
|
24
|
-
|
|
25
|
-
This is an experiment and feedback is welcome! This document may also be subject to pull-requests or changes by contributors where you believe you have something valuable to add or change.
|
|
26
|
-
|
|
27
|
-
-----------------------------------------
|
|
1
|
+
# MQTT.js is an OPEN Open Source Project
|
|
2
|
+
|
|
3
|
+
-----------------------------------------
|
|
4
|
+
|
|
5
|
+
## What?
|
|
6
|
+
|
|
7
|
+
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
|
|
8
|
+
|
|
9
|
+
## Rules
|
|
10
|
+
|
|
11
|
+
There are a few basic ground-rules for contributors:
|
|
12
|
+
|
|
13
|
+
1. **No `--force` pushes** or modifying the Git history in any way.
|
|
14
|
+
1. **Non-master branches** ought to be used for ongoing work.
|
|
15
|
+
1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
|
|
16
|
+
1. Internal pull-requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
|
|
17
|
+
1. Contributors should attempt to adhere to the prevailing code-style.
|
|
18
|
+
|
|
19
|
+
## Releases
|
|
20
|
+
|
|
21
|
+
Declaring formal releases remains the prerogative of the project maintainer.
|
|
22
|
+
|
|
23
|
+
## Changes to this arrangement
|
|
24
|
+
|
|
25
|
+
This is an experiment and feedback is welcome! This document may also be subject to pull-requests or changes by contributors where you believe you have something valuable to add or change.
|
|
26
|
+
|
|
27
|
+
-----------------------------------------
|
package/LICENSE.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
=====================
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2015-2016 MQTT.js contributors
|
|
5
|
-
---------------------------------------
|
|
6
|
-
|
|
7
|
-
*MQTT.js contributors listed at <https://github.com/mqttjs/MQTT.js#contributors>*
|
|
8
|
-
|
|
9
|
-
Copyright 2011-2014 by Adam Rudd
|
|
10
|
-
|
|
11
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
=====================
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2015-2016 MQTT.js contributors
|
|
5
|
+
---------------------------------------
|
|
6
|
+
|
|
7
|
+
*MQTT.js contributors listed at <https://github.com/mqttjs/MQTT.js#contributors>*
|
|
8
|
+
|
|
9
|
+
Copyright 2011-2014 by Adam Rudd
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|