@vitessce/all 3.6.18 → 3.7.1

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.
@@ -1,11 +1,6 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- var _a;
5
1
  import { _ as __toBinary } from "./chunk-INHXZS53-DHVJiuU3.js";
6
2
  var zstd_codec = (() => {
7
- var _a2;
8
- typeof document != "undefined" ? (_a2 = document.currentScript) == null ? void 0 : _a2.src : void 0;
3
+ typeof document != "undefined" ? document.currentScript?.src : void 0;
9
4
  return function(moduleArg = {}) {
10
5
  var moduleRtn;
11
6
  var f = moduleArg, aa, q, ba = new Promise((a, b) => {
@@ -35,8 +30,7 @@ var zstd_codec = (() => {
35
30
  }
36
31
  var F = 0, I = null;
37
32
  function oa(a) {
38
- var _a3;
39
- (_a3 = f.onAbort) == null ? void 0 : _a3.call(f, a);
33
+ f.onAbort?.(a);
40
34
  a = "Aborted(" + a + ")";
41
35
  r(a);
42
36
  da = true;
@@ -278,7 +272,7 @@ var zstd_codec = (() => {
278
272
  }
279
273
  return c;
280
274
  }, ab = (a, b, c) => {
281
- c ?? (c = 2147483647);
275
+ c ??= 2147483647;
282
276
  if (2 > c)
283
277
  return 0;
284
278
  c -= 2;
@@ -298,7 +292,7 @@ var zstd_codec = (() => {
298
292
  }
299
293
  return d;
300
294
  }, db = (a, b, c) => {
301
- c ?? (c = 2147483647);
295
+ c ??= 2147483647;
302
296
  if (4 > c)
303
297
  return 0;
304
298
  var d = b;
@@ -647,29 +641,27 @@ var zstd_codec = (() => {
647
641
  }
648
642
  return false;
649
643
  } }, X = function() {
650
- var _a3;
651
644
  function a(c) {
652
- var _a4;
653
645
  X = c.exports;
654
646
  u = X.o;
655
647
  ia();
656
648
  Ka = X.t;
657
649
  ka.unshift(X.p);
658
650
  F--;
659
- (_a4 = f.monitorRunDependencies) == null ? void 0 : _a4.call(f, F);
651
+ f.monitorRunDependencies?.(F);
660
652
  0 == F && (I && (c = I, I = null, c()));
661
653
  return X;
662
654
  }
663
655
  var b = { a: pb };
664
656
  F++;
665
- (_a3 = f.monitorRunDependencies) == null ? void 0 : _a3.call(f, F);
657
+ f.monitorRunDependencies?.(F);
666
658
  if (f.instantiateWasm)
667
659
  try {
668
660
  return f.instantiateWasm(b, a);
669
661
  } catch (c) {
670
662
  r(`Module.instantiateWasm callback failed with error: ${c}`), q(c);
671
663
  }
672
- J || (J = qa("zstd_codec.wasm") ? "zstd_codec.wasm" : f.locateFile ? f.locateFile("zstd_codec.wasm", "") : "zstd_codec.wasm");
664
+ J ||= qa("zstd_codec.wasm") ? "zstd_codec.wasm" : f.locateFile ? f.locateFile("zstd_codec.wasm", "") : "zstd_codec.wasm";
673
665
  va(b, function(c) {
674
666
  a(c.instance);
675
667
  }).catch(q);
@@ -681,12 +673,11 @@ var zstd_codec = (() => {
681
673
  };
682
674
  function sb() {
683
675
  function a() {
684
- var _a3;
685
676
  if (!Z && (Z = true, f.calledRun = true, !da)) {
686
677
  ma = true;
687
678
  K(ka);
688
679
  aa(f);
689
- (_a3 = f.onRuntimeInitialized) == null ? void 0 : _a3.call(f);
680
+ f.onRuntimeInitialized?.();
690
681
  if (f.postRun)
691
682
  for ("function" == typeof f.postRun && (f.postRun = [f.postRun]); f.postRun.length; ) {
692
683
  var b = f.postRun.shift();
@@ -722,16 +713,19 @@ var DEFAULT_CLEVEL = 1;
722
713
  var MAX_CLEVEL = 22;
723
714
  var emscriptenModule;
724
715
  var init = () => zstd_codec_default({ noInitialRun: true, wasmBinary: zstd_codec_default2 });
725
- var Zstd = (_a = class {
716
+ var Zstd = class Zstd2 {
717
+ static codecId = "zstd";
718
+ static DEFAULT_CLEVEL = DEFAULT_CLEVEL;
719
+ static MAX_CLEVEL = MAX_CLEVEL;
720
+ level;
726
721
  constructor(level = DEFAULT_CLEVEL) {
727
- __publicField(this, "level");
728
722
  if (!Number.isInteger(level)) {
729
723
  throw Error(`Invalid acceleration "${level}". Must be a positive integer.`);
730
724
  }
731
725
  this.level = level;
732
726
  }
733
727
  static fromConfig({ level }) {
734
- return new _a(level);
728
+ return new Zstd2(level);
735
729
  }
736
730
  async encode(data) {
737
731
  if (!emscriptenModule) {
@@ -768,7 +762,7 @@ var Zstd = (_a = class {
768
762
  throw new Error(module.getExceptionMessage(err).toString());
769
763
  }
770
764
  }
771
- }, __publicField(_a, "codecId", "zstd"), __publicField(_a, "DEFAULT_CLEVEL", DEFAULT_CLEVEL), __publicField(_a, "MAX_CLEVEL", MAX_CLEVEL), _a);
765
+ };
772
766
  var zstd_default = Zstd;
773
767
  export {
774
768
  zstd_default as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.6.18",
3
+ "version": "3.7.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,37 +17,37 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.6.18",
21
- "@vitessce/constants-internal": "3.6.18",
22
- "@vitessce/abstract": "3.6.18",
23
- "@vitessce/error": "3.6.18",
24
- "@vitessce/csv": "3.6.18",
25
- "@vitessce/description": "3.6.18",
26
- "@vitessce/feature-list": "3.6.18",
27
- "@vitessce/genomic-profiles": "3.6.18",
28
- "@vitessce/heatmap": "3.6.18",
29
- "@vitessce/glb": "3.6.18",
30
- "@vitessce/json": "3.6.18",
31
- "@vitessce/layer-controller": "3.6.18",
32
- "@vitessce/layer-controller-beta": "3.6.18",
33
- "@vitessce/link-controller": "3.6.18",
34
- "@vitessce/obs-sets-manager": "3.6.18",
35
- "@vitessce/ome-tiff": "3.6.18",
36
- "@vitessce/plugins": "3.6.18",
37
- "@vitessce/scatterplot-embedding": "3.6.18",
38
- "@vitessce/scatterplot-gating": "3.6.18",
39
- "@vitessce/schemas": "3.6.18",
40
- "@vitessce/spatial": "3.6.18",
41
- "@vitessce/spatial-beta": "3.6.18",
42
- "@vitessce/statistical-plots": "3.6.18",
43
- "@vitessce/status": "3.6.18",
44
- "@vitessce/vit-s": "3.6.18",
45
- "@vitessce/zarr": "3.6.18",
46
- "@vitessce/globals": "3.6.18",
47
- "@vitessce/spatial-zarr": "3.6.18",
48
- "@vitessce/spatial-three": "3.6.18",
49
- "@vitessce/biomarker-select": "3.6.18",
50
- "@vitessce/neuroglancer": "3.6.18"
20
+ "@vitessce/styles": "3.7.1",
21
+ "@vitessce/constants-internal": "3.7.1",
22
+ "@vitessce/abstract": "3.7.1",
23
+ "@vitessce/error": "3.7.1",
24
+ "@vitessce/csv": "3.7.1",
25
+ "@vitessce/description": "3.7.1",
26
+ "@vitessce/feature-list": "3.7.1",
27
+ "@vitessce/genomic-profiles": "3.7.1",
28
+ "@vitessce/heatmap": "3.7.1",
29
+ "@vitessce/glb": "3.7.1",
30
+ "@vitessce/json": "3.7.1",
31
+ "@vitessce/layer-controller": "3.7.1",
32
+ "@vitessce/layer-controller-beta": "3.7.1",
33
+ "@vitessce/link-controller": "3.7.1",
34
+ "@vitessce/obs-sets-manager": "3.7.1",
35
+ "@vitessce/ome-tiff": "3.7.1",
36
+ "@vitessce/plugins": "3.7.1",
37
+ "@vitessce/scatterplot-embedding": "3.7.1",
38
+ "@vitessce/scatterplot-gating": "3.7.1",
39
+ "@vitessce/schemas": "3.7.1",
40
+ "@vitessce/spatial": "3.7.1",
41
+ "@vitessce/spatial-beta": "3.7.1",
42
+ "@vitessce/statistical-plots": "3.7.1",
43
+ "@vitessce/status": "3.7.1",
44
+ "@vitessce/vit-s": "3.7.1",
45
+ "@vitessce/zarr": "3.7.1",
46
+ "@vitessce/globals": "3.7.1",
47
+ "@vitessce/spatial-zarr": "3.7.1",
48
+ "@vitessce/spatial-three": "3.7.1",
49
+ "@vitessce/biomarker-select": "3.7.1",
50
+ "@vitessce/neuroglancer": "3.7.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^18.0.28",
@@ -60,7 +60,7 @@
60
60
  "scripts": {
61
61
  "start": "pnpm -C ../../../ run start-tsc",
62
62
  "build": "pnpm -C ../../../ run build-tsc",
63
- "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
63
+ "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
64
64
  "test": "pnpm exec vitest --run"
65
65
  },
66
66
  "module": "dist/index.js",