mqtt 4.3.1 → 4.3.2
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 +6 -0
- package/dist/mqtt.js +8 -4
- package/dist/mqtt.min.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/mqtt.js
CHANGED
|
@@ -9944,13 +9944,17 @@ module.exports = Array;
|
|
|
9944
9944
|
var array_splice = Array.prototype.splice;
|
|
9945
9945
|
var array_slice = Array.prototype.slice;
|
|
9946
9946
|
|
|
9947
|
-
Array.empty
|
|
9947
|
+
if (!Array.empty) {
|
|
9948
|
+
Array.empty = [];
|
|
9948
9949
|
|
|
9949
|
-
if (Object.freeze) {
|
|
9950
|
-
|
|
9950
|
+
if (Object.freeze) {
|
|
9951
|
+
Object.freeze(Array.empty);
|
|
9952
|
+
}
|
|
9951
9953
|
}
|
|
9952
9954
|
|
|
9953
|
-
Array.nativeFrom
|
|
9955
|
+
if(!Array.nativeFrom ) {
|
|
9956
|
+
Array.nativeFrom = Array.from;
|
|
9957
|
+
}
|
|
9954
9958
|
|
|
9955
9959
|
var isSymbolDefined = typeof Symbol !== "undefined";
|
|
9956
9960
|
Array.from = function (values, mapFn, thisArg) {
|