mol_plot_all 1.2.248 → 1.2.251
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 +5 -5
- package/node.deps.json +1 -1
- package/node.esm.js +28 -24
- package/node.esm.js.map +1 -1
- package/node.js +28 -24
- package/node.js.map +1 -1
- package/node.test.js +28 -24
- package/node.test.js.map +1 -1
- package/package.json +2 -2
- package/web.d.ts +5 -5
- package/web.deps.json +1 -1
- package/web.esm.js +28 -24
- package/web.esm.js.map +1 -1
- package/web.js +28 -24
- package/web.js.map +1 -1
package/node.esm.js
CHANGED
|
@@ -1587,6 +1587,8 @@ var $;
|
|
|
1587
1587
|
return Object.is(left.valueOf(), right['valueOf']());
|
|
1588
1588
|
if (left instanceof RegExp)
|
|
1589
1589
|
return left.source === right['source'] && left.flags === right['flags'];
|
|
1590
|
+
if (left instanceof Error)
|
|
1591
|
+
return left.stack === right['stack'];
|
|
1590
1592
|
let left_cache = $.$mol_compare_deep_cache.get(left);
|
|
1591
1593
|
if (left_cache) {
|
|
1592
1594
|
const right_cache = left_cache.get(right);
|
|
@@ -1607,8 +1609,6 @@ var $;
|
|
|
1607
1609
|
result = compare_set(left, right);
|
|
1608
1610
|
else if (left instanceof Map)
|
|
1609
1611
|
result = compare_map(left, right);
|
|
1610
|
-
else if (left instanceof Error)
|
|
1611
|
-
result = left.stack === right.stack;
|
|
1612
1612
|
else if (ArrayBuffer.isView(left))
|
|
1613
1613
|
result = compare_buffer(left, right);
|
|
1614
1614
|
else if (Symbol.toPrimitive in left)
|
|
@@ -1705,8 +1705,7 @@ var $;
|
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
1707
|
complete() {
|
|
1708
|
-
|
|
1709
|
-
this.destructor();
|
|
1708
|
+
this.destructor();
|
|
1710
1709
|
}
|
|
1711
1710
|
put(next) {
|
|
1712
1711
|
const prev = this.cache;
|
|
@@ -2051,6 +2050,23 @@ var $;
|
|
|
2051
2050
|
;
|
|
2052
2051
|
"use strict";
|
|
2053
2052
|
var $;
|
|
2053
|
+
(function ($) {
|
|
2054
|
+
function $mol_wire_probe(task, next) {
|
|
2055
|
+
const warm = $mol_wire_fiber.warm;
|
|
2056
|
+
try {
|
|
2057
|
+
$mol_wire_fiber.warm = false;
|
|
2058
|
+
return task();
|
|
2059
|
+
}
|
|
2060
|
+
finally {
|
|
2061
|
+
$mol_wire_fiber.warm = warm;
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
$.$mol_wire_probe = $mol_wire_probe;
|
|
2065
|
+
})($ || ($ = {}));
|
|
2066
|
+
//mol/wire/probe/probe.ts
|
|
2067
|
+
;
|
|
2068
|
+
"use strict";
|
|
2069
|
+
var $;
|
|
2054
2070
|
(function ($) {
|
|
2055
2071
|
function $mol_wire_watch() {
|
|
2056
2072
|
const atom = $mol_wire_auto();
|
|
@@ -2361,9 +2377,14 @@ var $;
|
|
|
2361
2377
|
}
|
|
2362
2378
|
static watchers = new Set();
|
|
2363
2379
|
view_rect() {
|
|
2364
|
-
$
|
|
2365
|
-
|
|
2366
|
-
|
|
2380
|
+
if ($mol_wire_probe(() => this.view_rect()) === undefined) {
|
|
2381
|
+
$mol_wire_watch();
|
|
2382
|
+
return null;
|
|
2383
|
+
}
|
|
2384
|
+
else {
|
|
2385
|
+
const { width, height, left, right, top, bottom } = this.dom_node().getBoundingClientRect();
|
|
2386
|
+
return { width, height, left, right, top, bottom };
|
|
2387
|
+
}
|
|
2367
2388
|
}
|
|
2368
2389
|
dom_id() {
|
|
2369
2390
|
return this.toString();
|
|
@@ -4017,23 +4038,6 @@ var $;
|
|
|
4017
4038
|
;
|
|
4018
4039
|
"use strict";
|
|
4019
4040
|
var $;
|
|
4020
|
-
(function ($) {
|
|
4021
|
-
function $mol_wire_probe(task, next) {
|
|
4022
|
-
const warm = $mol_wire_fiber.warm;
|
|
4023
|
-
try {
|
|
4024
|
-
$mol_wire_fiber.warm = false;
|
|
4025
|
-
return task();
|
|
4026
|
-
}
|
|
4027
|
-
finally {
|
|
4028
|
-
$mol_wire_fiber.warm = warm;
|
|
4029
|
-
}
|
|
4030
|
-
}
|
|
4031
|
-
$.$mol_wire_probe = $mol_wire_probe;
|
|
4032
|
-
})($ || ($ = {}));
|
|
4033
|
-
//mol/wire/probe/probe.ts
|
|
4034
|
-
;
|
|
4035
|
-
"use strict";
|
|
4036
|
-
var $;
|
|
4037
4041
|
(function ($) {
|
|
4038
4042
|
$.$mol_mem_cached = $mol_wire_probe;
|
|
4039
4043
|
})($ || ($ = {}));
|