mol_text_distance 0.0.648 → 0.0.649

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 CHANGED
@@ -1302,6 +1302,10 @@ var $;
1302
1302
  const print = (val) => {
1303
1303
  if (!val)
1304
1304
  return val;
1305
+ if (typeof val === 'bigint')
1306
+ return String(val) + 'n';
1307
+ if (typeof val === 'symbol')
1308
+ return `Symbol(${val.description})`;
1305
1309
  if (typeof val !== 'object')
1306
1310
  return val;
1307
1311
  if ('outerHTML' in val)
@@ -1469,7 +1473,7 @@ var $;
1469
1473
  destructor() { }
1470
1474
  static destructor() { }
1471
1475
  toString() {
1472
- return this[Symbol.toStringTag] || this.constructor.name + '()';
1476
+ return this[Symbol.toStringTag] || this.constructor.name + '<>';
1473
1477
  }
1474
1478
  static toJSON() {
1475
1479
  return this[Symbol.toStringTag] || this.$.$mol_func_name(this);