mol_wire_lib 1.0.823 → 1.0.824
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.d.ts +2 -1
- package/node.deps.json +1 -1
- package/node.js +3 -2
- package/node.js.map +1 -1
- package/node.mjs +3 -2
- package/node.test.js +3 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +2 -1
- package/web.deps.json +1 -1
- package/web.js +3 -2
- package/web.js.map +1 -1
- package/web.mjs +3 -2
package/node.mjs
CHANGED
|
@@ -437,7 +437,7 @@ var $;
|
|
|
437
437
|
try {
|
|
438
438
|
if (!having)
|
|
439
439
|
return false;
|
|
440
|
-
if (typeof having !== 'object')
|
|
440
|
+
if (typeof having !== 'object' && typeof having !== 'function')
|
|
441
441
|
return false;
|
|
442
442
|
if (having instanceof $mol_delegate)
|
|
443
443
|
return false;
|
|
@@ -563,11 +563,12 @@ var $;
|
|
|
563
563
|
return this.name;
|
|
564
564
|
}
|
|
565
565
|
destructor() { }
|
|
566
|
+
static destructor() { }
|
|
566
567
|
toString() {
|
|
567
568
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
568
569
|
}
|
|
569
570
|
static toJSON() {
|
|
570
|
-
return this.$.$mol_func_name(this);
|
|
571
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
571
572
|
}
|
|
572
573
|
toJSON() {
|
|
573
574
|
return this.toString();
|
package/node.test.js
CHANGED
|
@@ -429,7 +429,7 @@ var $;
|
|
|
429
429
|
try {
|
|
430
430
|
if (!having)
|
|
431
431
|
return false;
|
|
432
|
-
if (typeof having !== 'object')
|
|
432
|
+
if (typeof having !== 'object' && typeof having !== 'function')
|
|
433
433
|
return false;
|
|
434
434
|
if (having instanceof $mol_delegate)
|
|
435
435
|
return false;
|
|
@@ -555,11 +555,12 @@ var $;
|
|
|
555
555
|
return this.name;
|
|
556
556
|
}
|
|
557
557
|
destructor() { }
|
|
558
|
+
static destructor() { }
|
|
558
559
|
toString() {
|
|
559
560
|
return this[Symbol.toStringTag] || this.constructor.name + '()';
|
|
560
561
|
}
|
|
561
562
|
static toJSON() {
|
|
562
|
-
return this.$.$mol_func_name(this);
|
|
563
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
563
564
|
}
|
|
564
565
|
toJSON() {
|
|
565
566
|
return this.toString();
|