@vitessce/json 3.8.9 → 3.8.10
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/{deflate-B7ZliDZ6.js → deflate-Dgp_aqBN.js} +1 -1
- package/dist/{index-DOA-Vajv.js → index-D0HG6I1i.js} +8 -29
- package/dist/index.js +1 -1
- package/dist/{jpeg-OsN75fL4.js → jpeg-CGy5HvVv.js} +1 -1
- package/dist/{lerc-B0oGigMq.js → lerc-DsLusSgJ.js} +1 -1
- package/dist/{lzw-Bzc1p7qc.js → lzw-C9-J2OOY.js} +1 -1
- package/dist/{packbits-ymfhFruh.js → packbits-D24E1iyc.js} +1 -1
- package/dist/{raw-CzWX7H6s.js → raw-EsCy1Pin.js} +1 -1
- package/dist/{webimage-DFx4tj0e.js → webimage-Dha0_JXQ.js} +1 -1
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-D0HG6I1i.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -11941,13 +11941,7 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
|
|
|
11941
11941
|
};
|
|
11942
11942
|
}
|
|
11943
11943
|
if (relPath.match(/^(shapes)\/([^/]*)$/)) {
|
|
11944
|
-
options.
|
|
11945
|
-
path: relPath,
|
|
11946
|
-
coordinateSystem: firstCoordinateSystem
|
|
11947
|
-
};
|
|
11948
|
-
}
|
|
11949
|
-
if (relPath.match(/^(points)\/([^/]*)$/)) {
|
|
11950
|
-
options.obsPoints = {
|
|
11944
|
+
options.obsSegmentations = {
|
|
11951
11945
|
path: relPath,
|
|
11952
11946
|
coordinateSystem: firstCoordinateSystem
|
|
11953
11947
|
};
|
|
@@ -11961,21 +11955,6 @@ class SpatialDataAutoConfig extends AbstractAutoConfig {
|
|
|
11961
11955
|
// region: null,
|
|
11962
11956
|
};
|
|
11963
11957
|
}
|
|
11964
|
-
const hasObs = tableEls.find((el) => el.path === `${path}/obs`);
|
|
11965
|
-
if (hasObs) {
|
|
11966
|
-
const columnOrder = hasObs.attrs?.["column-order"];
|
|
11967
|
-
options.obsSets = {
|
|
11968
|
-
// region: null,
|
|
11969
|
-
tablePath: relPath,
|
|
11970
|
-
obsSets: columnOrder.map((c) => ({
|
|
11971
|
-
// TODO: determine whether this column is string/categorical.
|
|
11972
|
-
// TODO: determine whether this column contains too many
|
|
11973
|
-
// categories to make sense to consider a cell set.
|
|
11974
|
-
path: `${hasObs.path.substring(1)}/${c}`,
|
|
11975
|
-
name: c
|
|
11976
|
-
}))
|
|
11977
|
-
};
|
|
11978
|
-
}
|
|
11979
11958
|
}
|
|
11980
11959
|
});
|
|
11981
11960
|
return options;
|
|
@@ -138933,22 +138912,22 @@ async function getDecoder(fileDirectory) {
|
|
|
138933
138912
|
const Decoder = await importFn();
|
|
138934
138913
|
return new Decoder(fileDirectory);
|
|
138935
138914
|
}
|
|
138936
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
138937
|
-
addDecoder(5, () => import("./lzw-
|
|
138915
|
+
addDecoder([void 0, 1], () => import("./raw-EsCy1Pin.js").then((m) => m.default));
|
|
138916
|
+
addDecoder(5, () => import("./lzw-C9-J2OOY.js").then((m) => m.default));
|
|
138938
138917
|
addDecoder(6, () => {
|
|
138939
138918
|
throw new Error("old style JPEG compression is not supported.");
|
|
138940
138919
|
});
|
|
138941
|
-
addDecoder(7, () => import("./jpeg-
|
|
138942
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
138943
|
-
addDecoder(32773, () => import("./packbits-
|
|
138920
|
+
addDecoder(7, () => import("./jpeg-CGy5HvVv.js").then((m) => m.default));
|
|
138921
|
+
addDecoder([8, 32946], () => import("./deflate-Dgp_aqBN.js").then((m) => m.default));
|
|
138922
|
+
addDecoder(32773, () => import("./packbits-D24E1iyc.js").then((m) => m.default));
|
|
138944
138923
|
addDecoder(
|
|
138945
138924
|
34887,
|
|
138946
|
-
() => import("./lerc-
|
|
138925
|
+
() => import("./lerc-DsLusSgJ.js").then(async (m) => {
|
|
138947
138926
|
await m.zstd.init();
|
|
138948
138927
|
return m;
|
|
138949
138928
|
}).then((m) => m.default)
|
|
138950
138929
|
);
|
|
138951
|
-
addDecoder(50001, () => import("./webimage-
|
|
138930
|
+
addDecoder(50001, () => import("./webimage-Dha0_JXQ.js").then((m) => m.default));
|
|
138952
138931
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
138953
138932
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
138954
138933
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-D0HG6I1i.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/json",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.10",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"zarrita": "0.5.4",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@vitessce/constants-internal": "3.8.
|
|
24
|
-
"@vitessce/gl": "3.8.
|
|
25
|
-
"@vitessce/globals": "3.8.
|
|
26
|
-
"@vitessce/schemas": "3.8.
|
|
27
|
-
"@vitessce/sets-utils": "3.8.
|
|
28
|
-
"@vitessce/spatial-utils": "3.8.
|
|
29
|
-
"@vitessce/utils": "3.8.
|
|
30
|
-
"@vitessce/abstract": "3.8.
|
|
31
|
-
"@vitessce/error": "3.8.
|
|
32
|
-
"@vitessce/zarr-utils": "3.8.
|
|
33
|
-
"@vitessce/config": "3.8.
|
|
23
|
+
"@vitessce/constants-internal": "3.8.10",
|
|
24
|
+
"@vitessce/gl": "3.8.10",
|
|
25
|
+
"@vitessce/globals": "3.8.10",
|
|
26
|
+
"@vitessce/schemas": "3.8.10",
|
|
27
|
+
"@vitessce/sets-utils": "3.8.10",
|
|
28
|
+
"@vitessce/spatial-utils": "3.8.10",
|
|
29
|
+
"@vitessce/utils": "3.8.10",
|
|
30
|
+
"@vitessce/abstract": "3.8.10",
|
|
31
|
+
"@vitessce/error": "3.8.10",
|
|
32
|
+
"@vitessce/zarr-utils": "3.8.10",
|
|
33
|
+
"@vitessce/config": "3.8.10"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|