@genome-spy/app 0.69.1 → 0.70.0
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/dist/{AbortablePromiseCache-CcuMrnn7.js → AbortablePromiseCache-Dj0vzLnp.js} +4 -4
- package/dist/blosc-D1xNXZJs.js +719 -0
- package/dist/{browser-BRemItdO.js → browser-0iNU5Wit.js} +33 -33
- package/dist/chunk-INHXZS53-DiyuLb3Z.js +14 -0
- package/dist/{index-DHay3ip-.js → index-BUsSzlHg.js} +583 -593
- package/dist/index-BYsZN7b0.js +1597 -0
- package/dist/{index-D-w7Mmt9.js → index-C7wOh6y1.js} +138 -140
- package/dist/index-CRaQAuki.js +326 -0
- package/dist/{index-D74H8TTz.js → index-D9v1PCj9.js} +1 -2
- package/dist/{index-BatuyGAI.js → index-GDOuv_D5.js} +75 -80
- package/dist/{index-DbJ0oeYM.js → index-Gt44EOIH.js} +160 -163
- package/dist/index.es.js +29142 -26007
- package/dist/index.js +1507 -1285
- package/dist/lz4-1Ws5oVWR.js +640 -0
- package/dist/schema.json +301 -0
- package/dist/style.css +1 -1
- package/dist/{unzip-NywezaRR.js → unzip-Bac01w6X.js} +1 -1
- package/dist/zstd-C4EcZnjq.js +603 -0
- package/package.json +5 -4
- package/dist/index-ByuE8dvu.js +0 -332
- package/dist/index-D28m8tSW.js +0 -1607
|
@@ -41,7 +41,7 @@ class b {
|
|
|
41
41
|
e(t);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
class
|
|
44
|
+
class l {
|
|
45
45
|
constructor({ fill: t, cache: e }) {
|
|
46
46
|
if (typeof t != "function")
|
|
47
47
|
throw new TypeError("must pass a fill function");
|
|
@@ -90,7 +90,7 @@ class c {
|
|
|
90
90
|
}
|
|
91
91
|
static checkSinglePromise(t, e) {
|
|
92
92
|
function r() {
|
|
93
|
-
if (e
|
|
93
|
+
if (e?.aborted)
|
|
94
94
|
throw Object.assign(new Error("aborted"), { code: "ERR_ABORTED" });
|
|
95
95
|
}
|
|
96
96
|
return t.then((s) => (r(), s), (s) => {
|
|
@@ -116,7 +116,7 @@ class c {
|
|
|
116
116
|
if (!r && e instanceof AbortSignal)
|
|
117
117
|
throw new TypeError("second get argument appears to be an AbortSignal, perhaps you meant to pass `null` for the fill data?");
|
|
118
118
|
const o = this.cache.get(t);
|
|
119
|
-
return o ? o.aborted && !o.settled ? (this.evict(t, o), this.get(t, e, r, s)) : o.settled ? o.promise : (o.aborter.addSignal(r), o.statusReporter.addCallback(s),
|
|
119
|
+
return o ? o.aborted && !o.settled ? (this.evict(t, o), this.get(t, e, r, s)) : o.settled ? o.promise : (o.aborter.addSignal(r), o.statusReporter.addCallback(s), l.checkSinglePromise(o.promise, r)) : (this.fill(t, e, r, s), l.checkSinglePromise(
|
|
120
120
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
121
121
|
this.cache.get(t).promise,
|
|
122
122
|
r
|
|
@@ -145,5 +145,5 @@ class c {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
export {
|
|
148
|
-
|
|
148
|
+
l as A
|
|
149
149
|
};
|