mol_jsx_lib 0.0.726 → 0.0.728

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
@@ -1191,9 +1191,6 @@ var $;
1191
1191
  function $mol_dev_format_auto(obj) {
1192
1192
  if (obj == null)
1193
1193
  return $.$mol_dev_format_shade(String(obj));
1194
- if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
1195
- return obj[$.$mol_dev_format_head]();
1196
- }
1197
1194
  return [
1198
1195
  'object',
1199
1196
  {
@@ -1541,7 +1538,10 @@ var $;
1541
1538
  [$mol_wire_cursor.fresh]: '🟢',
1542
1539
  [$mol_wire_cursor.final]: '🔵',
1543
1540
  }[this.cursor] ?? this.cursor.toString();
1544
- return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
1541
+ return $mol_dev_format_div({}, $mol_dev_format_auto({
1542
+ [$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
1543
+ [$mol_dev_format_body]: () => $mol_dev_format_native(this),
1544
+ }), $mol_dev_format_auto(this.cache));
1545
1545
  }
1546
1546
  get $() {
1547
1547
  return (this.host ?? this.task)['$'];
@@ -2075,7 +2075,7 @@ var $;
2075
2075
  }
2076
2076
  else {
2077
2077
  ;
2078
- (this.host ?? this.task)[this.field()].delete(this[Symbol.toStringTag]);
2078
+ (this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
2079
2079
  }
2080
2080
  }
2081
2081
  put(next) {
package/node.test.js CHANGED
@@ -1183,9 +1183,6 @@ var $;
1183
1183
  function $mol_dev_format_auto(obj) {
1184
1184
  if (obj == null)
1185
1185
  return $.$mol_dev_format_shade(String(obj));
1186
- if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
1187
- return obj[$.$mol_dev_format_head]();
1188
- }
1189
1186
  return [
1190
1187
  'object',
1191
1188
  {
@@ -1533,7 +1530,10 @@ var $;
1533
1530
  [$mol_wire_cursor.fresh]: '🟢',
1534
1531
  [$mol_wire_cursor.final]: '🔵',
1535
1532
  }[this.cursor] ?? this.cursor.toString();
1536
- return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
1533
+ return $mol_dev_format_div({}, $mol_dev_format_auto({
1534
+ [$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
1535
+ [$mol_dev_format_body]: () => $mol_dev_format_native(this),
1536
+ }), $mol_dev_format_auto(this.cache));
1537
1537
  }
1538
1538
  get $() {
1539
1539
  return (this.host ?? this.task)['$'];
@@ -2067,7 +2067,7 @@ var $;
2067
2067
  }
2068
2068
  else {
2069
2069
  ;
2070
- (this.host ?? this.task)[this.field()].delete(this[Symbol.toStringTag]);
2070
+ (this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
2071
2071
  }
2072
2072
  }
2073
2073
  put(next) {