mol_jsx_lib 0.0.727 → 0.0.729
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.d.ts +1 -1
- package/node.deps.json +1 -1
- package/node.js +6 -4
- package/node.js.map +1 -1
- package/node.mjs +6 -4
- package/node.test.js +6 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +6 -4
- package/web.js.map +1 -1
- package/web.mjs +6 -4
package/web.mjs
CHANGED
|
@@ -588,9 +588,6 @@ var $;
|
|
|
588
588
|
function $mol_dev_format_auto(obj) {
|
|
589
589
|
if (obj == null)
|
|
590
590
|
return $.$mol_dev_format_shade(String(obj));
|
|
591
|
-
if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
|
|
592
|
-
return obj[$.$mol_dev_format_head]();
|
|
593
|
-
}
|
|
594
591
|
return [
|
|
595
592
|
'object',
|
|
596
593
|
{
|
|
@@ -944,7 +941,12 @@ var $;
|
|
|
944
941
|
[$mol_wire_cursor.fresh]: '🟢',
|
|
945
942
|
[$mol_wire_cursor.final]: '🔵',
|
|
946
943
|
}[this.cursor] ?? this.cursor.toString();
|
|
947
|
-
return $mol_dev_format_div({}, $
|
|
944
|
+
return $mol_dev_format_div({}, $mol_owning_check(this, this.cache)
|
|
945
|
+
? $mol_dev_format_auto({
|
|
946
|
+
[$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
|
|
947
|
+
[$mol_dev_format_body]: () => $mol_dev_format_native(this),
|
|
948
|
+
})
|
|
949
|
+
: $mol_dev_format_shade($mol_dev_format_native(this), cursor), $mol_dev_format_auto(this.cache));
|
|
948
950
|
}
|
|
949
951
|
get $() {
|
|
950
952
|
return (this.host ?? this.task)['$'];
|