mol_jsx_lib 0.0.403 → 0.0.404

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.mjs CHANGED
@@ -234,6 +234,7 @@ var $;
234
234
  (function ($) {
235
235
  class $mol_object2 {
236
236
  static $ = $;
237
+ [Symbol.toStringTag];
237
238
  [$mol_ambient_ref] = null;
238
239
  get $() {
239
240
  if (this[$mol_ambient_ref])
@@ -959,7 +960,7 @@ var $;
959
960
  }
960
961
  if (typeof Elem !== 'string') {
961
962
  if ('prototype' in Elem) {
962
- const view = node && node[Elem] || new Elem;
963
+ const view = node && node[String(Elem)] || new Elem;
963
964
  Object.assign(view, props);
964
965
  view[Symbol.toStringTag] = guid;
965
966
  view.childNodes = childNodes;
@@ -967,7 +968,7 @@ var $;
967
968
  view.ownerDocument = $.$mol_jsx_document;
968
969
  view.className = (crumbs_self ? crumbs_self + ' ' : '') + (Elem['name'] || Elem);
969
970
  node = view.valueOf();
970
- node[Elem] = view;
971
+ node[String(Elem)] = view;
971
972
  return node;
972
973
  }
973
974
  else {
@@ -1138,7 +1139,7 @@ var $;
1138
1139
  var $;
1139
1140
  (function ($) {
1140
1141
  function $mol_const(value) {
1141
- var getter = (() => value);
1142
+ const getter = (() => value);
1142
1143
  getter['()'] = value;
1143
1144
  getter[Symbol.toStringTag] = value;
1144
1145
  return getter;
@@ -1150,7 +1151,7 @@ var $;
1150
1151
  "use strict";
1151
1152
  var $;
1152
1153
  (function ($) {
1153
- $['devtoolsFormatters'] = $['devtoolsFormatters'] || [];
1154
+ $['devtoolsFormatters'] ||= [];
1154
1155
  function $mol_dev_format_register(config) {
1155
1156
  $['devtoolsFormatters'].push(config);
1156
1157
  }
@@ -1462,6 +1463,7 @@ var $;
1462
1463
  }
1463
1464
  }
1464
1465
  }
1466
+ [Symbol.toStringTag];
1465
1467
  cache = undefined;
1466
1468
  get args() {
1467
1469
  return this.data.slice(0, this.pub_from);
@@ -1698,9 +1700,9 @@ var $;
1698
1700
  if (left instanceof Date)
1699
1701
  return Object.is(left.valueOf(), right['valueOf']());
1700
1702
  if (left instanceof RegExp)
1701
- return left.source === right['source'] && left.flags === right['flags'];
1703
+ return left.source === right.source && left.flags === right.flags;
1702
1704
  if (left instanceof Error)
1703
- return left.message === right['message'] && left.stack === right['stack'];
1705
+ return left.message === right.message && left.stack === right.stack;
1704
1706
  let left_cache = $.$mol_compare_deep_cache.get(left);
1705
1707
  if (left_cache) {
1706
1708
  const right_cache = left_cache.get(right);