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/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,12 @@ 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({}, $
|
|
1541
|
+
return $mol_dev_format_div({}, $mol_owning_check(this, this.cache)
|
|
1542
|
+
? $mol_dev_format_auto({
|
|
1543
|
+
[$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
|
|
1544
|
+
[$mol_dev_format_body]: () => $mol_dev_format_native(this),
|
|
1545
|
+
})
|
|
1546
|
+
: $mol_dev_format_shade($mol_dev_format_native(this), cursor), $mol_dev_format_auto(this.cache));
|
|
1545
1547
|
}
|
|
1546
1548
|
get $() {
|
|
1547
1549
|
return (this.host ?? this.task)['$'];
|
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,12 @@ 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({}, $
|
|
1533
|
+
return $mol_dev_format_div({}, $mol_owning_check(this, this.cache)
|
|
1534
|
+
? $mol_dev_format_auto({
|
|
1535
|
+
[$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
|
|
1536
|
+
[$mol_dev_format_body]: () => $mol_dev_format_native(this),
|
|
1537
|
+
})
|
|
1538
|
+
: $mol_dev_format_shade($mol_dev_format_native(this), cursor), $mol_dev_format_auto(this.cache));
|
|
1537
1539
|
}
|
|
1538
1540
|
get $() {
|
|
1539
1541
|
return (this.host ?? this.task)['$'];
|