mol_compare_deep 0.0.1315 → 0.0.1316
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/node.test.js +21 -18
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -1723,6 +1723,21 @@ var $;
|
|
|
1723
1723
|
};
|
|
1724
1724
|
})($ || ($ = {}));
|
|
1725
1725
|
|
|
1726
|
+
;
|
|
1727
|
+
"use strict";
|
|
1728
|
+
var $;
|
|
1729
|
+
(function ($) {
|
|
1730
|
+
function $mol_guid(length = 8, exists = () => false) {
|
|
1731
|
+
for (;;) {
|
|
1732
|
+
let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
|
|
1733
|
+
if (exists(id))
|
|
1734
|
+
continue;
|
|
1735
|
+
return id;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
$.$mol_guid = $mol_guid;
|
|
1739
|
+
})($ || ($ = {}));
|
|
1740
|
+
|
|
1726
1741
|
;
|
|
1727
1742
|
"use strict";
|
|
1728
1743
|
var $;
|
|
@@ -1741,6 +1756,11 @@ var $;
|
|
|
1741
1756
|
var $;
|
|
1742
1757
|
(function ($) {
|
|
1743
1758
|
class $mol_wire_pub extends Object {
|
|
1759
|
+
constructor(id = `$mol_wire_pub:${$mol_guid()}`) {
|
|
1760
|
+
super();
|
|
1761
|
+
this[Symbol.toStringTag] = id;
|
|
1762
|
+
}
|
|
1763
|
+
[Symbol.toStringTag];
|
|
1744
1764
|
data = [];
|
|
1745
1765
|
static get [Symbol.species]() {
|
|
1746
1766
|
return Array;
|
|
@@ -2232,7 +2252,6 @@ var $;
|
|
|
2232
2252
|
}
|
|
2233
2253
|
}
|
|
2234
2254
|
}
|
|
2235
|
-
[Symbol.toStringTag];
|
|
2236
2255
|
cache = undefined;
|
|
2237
2256
|
get args() {
|
|
2238
2257
|
return this.data.slice(0, this.pub_from);
|
|
@@ -2251,13 +2270,12 @@ var $;
|
|
|
2251
2270
|
return this.task.name + '()';
|
|
2252
2271
|
}
|
|
2253
2272
|
constructor(id, task, host, args) {
|
|
2254
|
-
super();
|
|
2273
|
+
super(id);
|
|
2255
2274
|
this.task = task;
|
|
2256
2275
|
this.host = host;
|
|
2257
2276
|
if (args)
|
|
2258
2277
|
this.data.push(...args);
|
|
2259
2278
|
this.pub_from = this.sub_from = args?.length ?? 0;
|
|
2260
|
-
this[Symbol.toStringTag] = id;
|
|
2261
2279
|
}
|
|
2262
2280
|
plan() {
|
|
2263
2281
|
$mol_wire_fiber.planning.add(this);
|
|
@@ -3458,21 +3476,6 @@ var $;
|
|
|
3458
3476
|
});
|
|
3459
3477
|
})($ || ($ = {}));
|
|
3460
3478
|
|
|
3461
|
-
;
|
|
3462
|
-
"use strict";
|
|
3463
|
-
var $;
|
|
3464
|
-
(function ($) {
|
|
3465
|
-
function $mol_guid(length = 8, exists = () => false) {
|
|
3466
|
-
for (;;) {
|
|
3467
|
-
let id = Math.random().toString(36).substring(2, length + 2).toUpperCase();
|
|
3468
|
-
if (exists(id))
|
|
3469
|
-
continue;
|
|
3470
|
-
return id;
|
|
3471
|
-
}
|
|
3472
|
-
}
|
|
3473
|
-
$.$mol_guid = $mol_guid;
|
|
3474
|
-
})($ || ($ = {}));
|
|
3475
|
-
|
|
3476
3479
|
;
|
|
3477
3480
|
"use strict";
|
|
3478
3481
|
var $;
|