mol_text_distance 0.0.656 → 0.0.658
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 +5 -7
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1284,7 +1284,7 @@ var $;
|
|
|
1284
1284
|
continue;
|
|
1285
1285
|
if (!$mol_compare_deep(args[i], args[j]))
|
|
1286
1286
|
continue;
|
|
1287
|
-
$mol_fail(new Error(`args[${i}] = args[${j}] = ${args[i]}`));
|
|
1287
|
+
$mol_fail(new Error(`args[${i}] = args[${j}] = ${print(args[i])}`));
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
@@ -1466,18 +1466,16 @@ var $;
|
|
|
1466
1466
|
return this.toString();
|
|
1467
1467
|
}
|
|
1468
1468
|
static toString() {
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1469
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
1470
|
+
}
|
|
1471
|
+
static toJSON() {
|
|
1472
|
+
return this.toString();
|
|
1472
1473
|
}
|
|
1473
1474
|
destructor() { }
|
|
1474
1475
|
static destructor() { }
|
|
1475
1476
|
toString() {
|
|
1476
1477
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
1477
1478
|
}
|
|
1478
|
-
static toJSON() {
|
|
1479
|
-
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
1480
|
-
}
|
|
1481
1479
|
toJSON() {
|
|
1482
1480
|
return this.toString();
|
|
1483
1481
|
}
|