@vitessce/json 3.6.11 → 3.6.12
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-rcktAdjY.js → deflate-BB-_i4AV.js} +1 -1
- package/dist/{index-On7xyq2-.js → index-Dk8azeqY.js} +19 -9
- package/dist/index.js +1 -1
- package/dist/{jpeg-DQD3bdns.js → jpeg-CgKC8pvg.js} +1 -1
- package/dist/{lerc-DZTRZwBP.js → lerc-DHkuo7TO.js} +1 -1
- package/dist/{lzw-Cms0ISXL.js → lzw-CT-xPuVt.js} +1 -1
- package/dist/{packbits-Bw6OKzSj.js → packbits-CxU7_ENa.js} +1 -1
- package/dist/{raw-CLUlqBdi.js → raw-BkEHccvG.js} +1 -1
- package/dist/{webimage-B1LpLIxa.js → webimage-BsYePjn2.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-Dk8azeqY.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -137096,22 +137096,22 @@ async function getDecoder(fileDirectory) {
|
|
|
137096
137096
|
const Decoder = await importFn();
|
|
137097
137097
|
return new Decoder(fileDirectory);
|
|
137098
137098
|
}
|
|
137099
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
137100
|
-
addDecoder(5, () => import("./lzw-
|
|
137099
|
+
addDecoder([void 0, 1], () => import("./raw-BkEHccvG.js").then((m) => m.default));
|
|
137100
|
+
addDecoder(5, () => import("./lzw-CT-xPuVt.js").then((m) => m.default));
|
|
137101
137101
|
addDecoder(6, () => {
|
|
137102
137102
|
throw new Error("old style JPEG compression is not supported.");
|
|
137103
137103
|
});
|
|
137104
|
-
addDecoder(7, () => import("./jpeg-
|
|
137105
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
137106
|
-
addDecoder(32773, () => import("./packbits-
|
|
137104
|
+
addDecoder(7, () => import("./jpeg-CgKC8pvg.js").then((m) => m.default));
|
|
137105
|
+
addDecoder([8, 32946], () => import("./deflate-BB-_i4AV.js").then((m) => m.default));
|
|
137106
|
+
addDecoder(32773, () => import("./packbits-CxU7_ENa.js").then((m) => m.default));
|
|
137107
137107
|
addDecoder(
|
|
137108
137108
|
34887,
|
|
137109
|
-
() => import("./lerc-
|
|
137109
|
+
() => import("./lerc-DHkuo7TO.js").then(async (m) => {
|
|
137110
137110
|
await m.zstd.init();
|
|
137111
137111
|
return m;
|
|
137112
137112
|
}).then((m) => m.default)
|
|
137113
137113
|
);
|
|
137114
|
-
addDecoder(50001, () => import("./webimage-
|
|
137114
|
+
addDecoder(50001, () => import("./webimage-BsYePjn2.js").then((m) => m.default));
|
|
137115
137115
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
137116
137116
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
137117
137117
|
}
|
|
@@ -154129,8 +154129,14 @@ function coordinateTransformationsToMatrix(coordinateTransformations, axes) {
|
|
|
154129
154129
|
}
|
|
154130
154130
|
} else if (spatialOutputAxes.length === 2) {
|
|
154131
154131
|
const nextMat = new Matrix4().fromArray([
|
|
154132
|
-
|
|
154133
|
-
|
|
154132
|
+
filteredAffine[0][0],
|
|
154133
|
+
filteredAffine[0][1],
|
|
154134
|
+
0,
|
|
154135
|
+
filteredAffine[0][2],
|
|
154136
|
+
filteredAffine[1][0],
|
|
154137
|
+
filteredAffine[1][1],
|
|
154138
|
+
0,
|
|
154139
|
+
filteredAffine[1][2],
|
|
154134
154140
|
0,
|
|
154135
154141
|
0,
|
|
154136
154142
|
1,
|
|
@@ -154146,6 +154152,7 @@ function coordinateTransformationsToMatrix(coordinateTransformations, axes) {
|
|
|
154146
154152
|
const swapMat = new Matrix4().fromArray(swapMatNested.flat());
|
|
154147
154153
|
mat = mat.multiplyLeft(swapMat);
|
|
154148
154154
|
}
|
|
154155
|
+
mat = mat.transpose();
|
|
154149
154156
|
} else {
|
|
154150
154157
|
throw new Error("Affine transformation must have 2 or 3 rows.");
|
|
154151
154158
|
}
|
|
@@ -154172,6 +154179,9 @@ function coordinateTransformationsToMatrix(coordinateTransformations, axes) {
|
|
|
154172
154179
|
}
|
|
154173
154180
|
});
|
|
154174
154181
|
}
|
|
154182
|
+
if (mat.some((value) => Number.isNaN(value))) {
|
|
154183
|
+
throw new Error("Matrix contains NaN values");
|
|
154184
|
+
}
|
|
154175
154185
|
return mat;
|
|
154176
154186
|
}
|
|
154177
154187
|
class NodeNotFoundError extends Error {
|
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-Dk8azeqY.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.6.
|
|
3
|
+
"version": "3.6.12",
|
|
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.2",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@vitessce/constants-internal": "3.6.
|
|
24
|
-
"@vitessce/gl": "3.6.
|
|
25
|
-
"@vitessce/globals": "3.6.
|
|
26
|
-
"@vitessce/schemas": "3.6.
|
|
27
|
-
"@vitessce/sets-utils": "3.6.
|
|
28
|
-
"@vitessce/spatial-utils": "3.6.
|
|
29
|
-
"@vitessce/utils": "3.6.
|
|
30
|
-
"@vitessce/abstract": "3.6.
|
|
31
|
-
"@vitessce/error": "3.6.
|
|
32
|
-
"@vitessce/zarr-utils": "3.6.
|
|
33
|
-
"@vitessce/config": "3.6.
|
|
23
|
+
"@vitessce/constants-internal": "3.6.12",
|
|
24
|
+
"@vitessce/gl": "3.6.12",
|
|
25
|
+
"@vitessce/globals": "3.6.12",
|
|
26
|
+
"@vitessce/schemas": "3.6.12",
|
|
27
|
+
"@vitessce/sets-utils": "3.6.12",
|
|
28
|
+
"@vitessce/spatial-utils": "3.6.12",
|
|
29
|
+
"@vitessce/utils": "3.6.12",
|
|
30
|
+
"@vitessce/abstract": "3.6.12",
|
|
31
|
+
"@vitessce/error": "3.6.12",
|
|
32
|
+
"@vitessce/zarr-utils": "3.6.12",
|
|
33
|
+
"@vitessce/config": "3.6.12"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|