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/web.mjs CHANGED
@@ -196,7 +196,7 @@ var $;
196
196
  }
197
197
  if (typeof Elem !== 'string') {
198
198
  if ('prototype' in Elem) {
199
- const view = node && node[Elem] || new Elem;
199
+ const view = node && node[String(Elem)] || new Elem;
200
200
  Object.assign(view, props);
201
201
  view[Symbol.toStringTag] = guid;
202
202
  view.childNodes = childNodes;
@@ -204,7 +204,7 @@ var $;
204
204
  view.ownerDocument = $.$mol_jsx_document;
205
205
  view.className = (crumbs_self ? crumbs_self + ' ' : '') + (Elem['name'] || Elem);
206
206
  node = view.valueOf();
207
- node[Elem] = view;
207
+ node[String(Elem)] = view;
208
208
  return node;
209
209
  }
210
210
  else {
@@ -401,6 +401,7 @@ var $;
401
401
  (function ($) {
402
402
  class $mol_object2 {
403
403
  static $ = $;
404
+ [Symbol.toStringTag];
404
405
  [$mol_ambient_ref] = null;
405
406
  get $() {
406
407
  if (this[$mol_ambient_ref])
@@ -535,7 +536,7 @@ var $;
535
536
  var $;
536
537
  (function ($) {
537
538
  function $mol_const(value) {
538
- var getter = (() => value);
539
+ const getter = (() => value);
539
540
  getter['()'] = value;
540
541
  getter[Symbol.toStringTag] = value;
541
542
  return getter;
@@ -547,7 +548,7 @@ var $;
547
548
  "use strict";
548
549
  var $;
549
550
  (function ($) {
550
- $['devtoolsFormatters'] = $['devtoolsFormatters'] || [];
551
+ $['devtoolsFormatters'] ||= [];
551
552
  function $mol_dev_format_register(config) {
552
553
  $['devtoolsFormatters'].push(config);
553
554
  }
@@ -865,6 +866,7 @@ var $;
865
866
  }
866
867
  }
867
868
  }
869
+ [Symbol.toStringTag];
868
870
  cache = undefined;
869
871
  get args() {
870
872
  return this.data.slice(0, this.pub_from);
@@ -1101,9 +1103,9 @@ var $;
1101
1103
  if (left instanceof Date)
1102
1104
  return Object.is(left.valueOf(), right['valueOf']());
1103
1105
  if (left instanceof RegExp)
1104
- return left.source === right['source'] && left.flags === right['flags'];
1106
+ return left.source === right.source && left.flags === right.flags;
1105
1107
  if (left instanceof Error)
1106
- return left.message === right['message'] && left.stack === right['stack'];
1108
+ return left.message === right.message && left.stack === right.stack;
1107
1109
  let left_cache = $.$mol_compare_deep_cache.get(left);
1108
1110
  if (left_cache) {
1109
1111
  const right_cache = left_cache.get(right);