mol_wire_lib 1.0.533 → 1.0.535

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
@@ -125,7 +125,7 @@ var $;
125
125
  "use strict";
126
126
  var $;
127
127
  (function ($) {
128
- $['devtoolsFormatters'] = $['devtoolsFormatters'] || [];
128
+ $['devtoolsFormatters'] ||= [];
129
129
  function $mol_dev_format_register(config) {
130
130
  $['devtoolsFormatters'].push(config);
131
131
  }
@@ -480,6 +480,7 @@ var $;
480
480
  (function ($) {
481
481
  class $mol_object2 {
482
482
  static $ = $;
483
+ [Symbol.toStringTag];
483
484
  [$mol_ambient_ref] = null;
484
485
  get $() {
485
486
  if (this[$mol_ambient_ref])
@@ -597,6 +598,7 @@ var $;
597
598
  }
598
599
  }
599
600
  }
601
+ [Symbol.toStringTag];
600
602
  cache = undefined;
601
603
  get args() {
602
604
  return this.data.slice(0, this.pub_from);
@@ -781,9 +783,9 @@ var $;
781
783
  if (left instanceof Date)
782
784
  return Object.is(left.valueOf(), right['valueOf']());
783
785
  if (left instanceof RegExp)
784
- return left.source === right['source'] && left.flags === right['flags'];
786
+ return left.source === right.source && left.flags === right.flags;
785
787
  if (left instanceof Error)
786
- return left.message === right['message'] && left.stack === right['stack'];
788
+ return left.message === right.message && left.stack === right.stack;
787
789
  let left_cache = $.$mol_compare_deep_cache.get(left);
788
790
  if (left_cache) {
789
791
  const right_cache = left_cache.get(right);
@@ -1421,7 +1423,7 @@ var $;
1421
1423
  var $;
1422
1424
  (function ($) {
1423
1425
  function $mol_const(value) {
1424
- var getter = (() => value);
1426
+ const getter = (() => value);
1425
1427
  getter['()'] = value;
1426
1428
  getter[Symbol.toStringTag] = value;
1427
1429
  return getter;
@@ -2678,7 +2680,7 @@ var $;
2678
2680
  }
2679
2681
  if (typeof Elem !== 'string') {
2680
2682
  if ('prototype' in Elem) {
2681
- const view = node && node[Elem] || new Elem;
2683
+ const view = node && node[String(Elem)] || new Elem;
2682
2684
  Object.assign(view, props);
2683
2685
  view[Symbol.toStringTag] = guid;
2684
2686
  view.childNodes = childNodes;
@@ -2686,7 +2688,7 @@ var $;
2686
2688
  view.ownerDocument = $.$mol_jsx_document;
2687
2689
  view.className = (crumbs_self ? crumbs_self + ' ' : '') + (Elem['name'] || Elem);
2688
2690
  node = view.valueOf();
2689
- node[Elem] = view;
2691
+ node[String(Elem)] = view;
2690
2692
  return node;
2691
2693
  }
2692
2694
  else {