mqtt 4.3.5 → 4.3.6

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/CONTRIBUTING.md CHANGED
@@ -11,7 +11,7 @@ Individuals making significant and valuable contributions are given commit-acces
11
11
  There are a few basic ground-rules for contributors:
12
12
 
13
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.
14
+ 1. **Non-main branches** ought to be used for ongoing work.
15
15
  1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
16
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
17
  1. Contributors should attempt to adhere to the prevailing code-style.
package/LICENSE.md CHANGED
File without changes
package/README.md CHANGED
@@ -6,10 +6,6 @@
6
6
  MQTT.js is a client library for the [MQTT](http://mqtt.org/) protocol, written
7
7
  in JavaScript for node.js and the browser.
8
8
 
9
- | :warning: WARNING |
10
- |:---------------------------|
11
- | our default branch has been moved from *master* to *main* |
12
-
13
9
  | :boom: MQTT.js vNext |
14
10
  |:---------------------------|
15
11
  | Want to contribute to the next generation of **MQTT.js**? Join the discussion [here](https://github.com/mqttjs/MQTT.js/discussions/1324). |
package/dist/mqtt.js CHANGED
@@ -1889,9 +1889,9 @@ module.exports = MqttClient
1889
1889
 
1890
1890
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
1891
1891
  },{"./default-message-id-provider":7,"./store":8,"./topic-alias-recv":9,"./topic-alias-send":10,"./validations":11,"_process":50,"debug":18,"events":22,"inherits":24,"mqtt-packet":40,"readable-stream":69,"reinterval":70,"rfdc/default":71,"xtend":81}],2:[function(require,module,exports){
1892
- (function (Buffer){(function (){
1893
1892
  'use strict'
1894
1893
 
1894
+ const { Buffer } = require('buffer')
1895
1895
  const Transform = require('readable-stream').Transform
1896
1896
  const duplexify = require('duplexify')
1897
1897
 
@@ -2019,7 +2019,6 @@ function buildStream (client, opts) {
2019
2019
 
2020
2020
  module.exports = buildStream
2021
2021
 
2022
- }).call(this)}).call(this,require("buffer").Buffer)
2023
2022
  },{"buffer":17,"duplexify":20,"readable-stream":69}],3:[function(require,module,exports){
2024
2023
  'use strict'
2025
2024
  const net = require('net')
@@ -2093,9 +2092,10 @@ function buildBuilder (mqttClient, opts) {
2093
2092
  module.exports = buildBuilder
2094
2093
 
2095
2094
  },{"debug":18,"net":16,"tls":16}],5:[function(require,module,exports){
2096
- (function (process,Buffer){(function (){
2095
+ (function (process){(function (){
2097
2096
  'use strict'
2098
2097
 
2098
+ const { Buffer } = require('buffer')
2099
2099
  const WS = require('ws')
2100
2100
  const debug = require('debug')('mqttjs:ws')
2101
2101
  const duplexify = require('duplexify')
@@ -2351,11 +2351,11 @@ if (IS_BROWSER) {
2351
2351
  module.exports = streamBuilder
2352
2352
  }
2353
2353
 
2354
- }).call(this)}).call(this,require('_process'),require("buffer").Buffer)
2354
+ }).call(this)}).call(this,require('_process'))
2355
2355
  },{"_process":50,"buffer":17,"debug":18,"duplexify":20,"readable-stream":69,"ws":80}],6:[function(require,module,exports){
2356
- (function (Buffer){(function (){
2357
2356
  'use strict'
2358
2357
 
2358
+ const { Buffer } = require('buffer')
2359
2359
  const Transform = require('readable-stream').Transform
2360
2360
  const duplexify = require('duplexify')
2361
2361
 
@@ -2487,7 +2487,6 @@ function buildStream (client, opts) {
2487
2487
 
2488
2488
  module.exports = buildStream
2489
2489
 
2490
- }).call(this)}).call(this,require("buffer").Buffer)
2491
2490
  },{"buffer":17,"duplexify":20,"readable-stream":69}],7:[function(require,module,exports){
2492
2491
  'use strict'
2493
2492