mol_plot_all 1.2.862 → 1.2.864
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 +11 -8
- package/node.js.map +1 -1
- package/node.mjs +11 -8
- package/node.test.js +11 -8
- 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 +11 -8
- package/web.js.map +1 -1
- package/web.mjs +11 -8
package/node.js
CHANGED
|
@@ -414,9 +414,6 @@ var $;
|
|
|
414
414
|
function $mol_dev_format_auto(obj) {
|
|
415
415
|
if (obj == null)
|
|
416
416
|
return $.$mol_dev_format_shade(String(obj));
|
|
417
|
-
if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
|
|
418
|
-
return obj[$.$mol_dev_format_head]();
|
|
419
|
-
}
|
|
420
417
|
return [
|
|
421
418
|
'object',
|
|
422
419
|
{
|
|
@@ -750,7 +747,12 @@ var $;
|
|
|
750
747
|
[$mol_wire_cursor.fresh]: '🟢',
|
|
751
748
|
[$mol_wire_cursor.final]: '🔵',
|
|
752
749
|
}[this.cursor] ?? this.cursor.toString();
|
|
753
|
-
return $mol_dev_format_div({}, $
|
|
750
|
+
return $mol_dev_format_div({}, $mol_owning_check(this, this.cache)
|
|
751
|
+
? $mol_dev_format_auto({
|
|
752
|
+
[$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
|
|
753
|
+
[$mol_dev_format_body]: () => $mol_dev_format_native(this),
|
|
754
|
+
})
|
|
755
|
+
: $mol_dev_format_shade($mol_dev_format_native(this), cursor), $mol_dev_format_auto(this.cache));
|
|
754
756
|
}
|
|
755
757
|
get $() {
|
|
756
758
|
return (this.host ?? this.task)['$'];
|
|
@@ -1731,17 +1733,18 @@ var $;
|
|
|
1731
1733
|
const field = task.name + '()';
|
|
1732
1734
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1733
1735
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1734
|
-
const
|
|
1736
|
+
const key_str = $mol_key(key);
|
|
1735
1737
|
if (dict) {
|
|
1736
|
-
const existen = dict.get(
|
|
1738
|
+
const existen = dict.get(key_str);
|
|
1737
1739
|
if (existen)
|
|
1738
1740
|
return existen;
|
|
1739
1741
|
}
|
|
1740
1742
|
else {
|
|
1741
1743
|
dict = (host ?? task)[field] = new Map();
|
|
1742
1744
|
}
|
|
1745
|
+
const id = `${prefix}.${task.name}(${key_str.replace(/^"|"$/g, "'")})`;
|
|
1743
1746
|
const fiber = new $mol_wire_atom(id, task, host, [key]);
|
|
1744
|
-
dict.set(
|
|
1747
|
+
dict.set(key_str, fiber);
|
|
1745
1748
|
return fiber;
|
|
1746
1749
|
}
|
|
1747
1750
|
static watching = new Set();
|
|
@@ -1796,7 +1799,7 @@ var $;
|
|
|
1796
1799
|
}
|
|
1797
1800
|
else {
|
|
1798
1801
|
;
|
|
1799
|
-
(this.host ?? this.task)[this.field()].delete(this[
|
|
1802
|
+
(this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
|
|
1800
1803
|
}
|
|
1801
1804
|
}
|
|
1802
1805
|
put(next) {
|