@vitessce/spatial-utils 3.5.0 → 3.5.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,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-d1beeb70.js";
2
+ import { B as BaseDecoder } from "./index-cfd80560.js";
3
3
  import "react";
4
4
  class DeflateDecoder extends BaseDecoder {
5
5
  decodeBlock(buffer) {
@@ -85486,16 +85486,24 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
85486
85486
  return value;
85487
85487
  };
85488
85488
  var callBind$3 = { exports: {} };
85489
- var GetIntrinsic$4 = getIntrinsic;
85490
- var $defineProperty$3 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
85491
- if ($defineProperty$3) {
85492
- try {
85493
- $defineProperty$3({}, "a", { value: 1 });
85494
- } catch (e2) {
85495
- $defineProperty$3 = false;
85489
+ var esDefineProperty;
85490
+ var hasRequiredEsDefineProperty;
85491
+ function requireEsDefineProperty() {
85492
+ if (hasRequiredEsDefineProperty)
85493
+ return esDefineProperty;
85494
+ hasRequiredEsDefineProperty = 1;
85495
+ var GetIntrinsic3 = getIntrinsic;
85496
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
85497
+ if ($defineProperty2) {
85498
+ try {
85499
+ $defineProperty2({}, "a", { value: 1 });
85500
+ } catch (e2) {
85501
+ $defineProperty2 = false;
85502
+ }
85496
85503
  }
85504
+ esDefineProperty = $defineProperty2;
85505
+ return esDefineProperty;
85497
85506
  }
85498
- var esDefineProperty = $defineProperty$3;
85499
85507
  var GetIntrinsic$3 = getIntrinsic;
85500
85508
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
85501
85509
  if ($gOPD$1) {
@@ -85506,7 +85514,7 @@ if ($gOPD$1) {
85506
85514
  }
85507
85515
  }
85508
85516
  var gopd$1 = $gOPD$1;
85509
- var $defineProperty$2 = esDefineProperty;
85517
+ var $defineProperty$2 = requireEsDefineProperty();
85510
85518
  var $SyntaxError = syntax;
85511
85519
  var $TypeError$3 = type;
85512
85520
  var gopd = gopd$1;
@@ -85547,7 +85555,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property, value) {
85547
85555
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
85548
85556
  }
85549
85557
  };
85550
- var $defineProperty$1 = esDefineProperty;
85558
+ var $defineProperty$1 = requireEsDefineProperty();
85551
85559
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
85552
85560
  return !!$defineProperty$1;
85553
85561
  };
@@ -85616,7 +85624,7 @@ var setFunctionLength = function setFunctionLength2(fn, length2) {
85616
85624
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
85617
85625
  var $call = GetIntrinsic3("%Function.prototype.call%");
85618
85626
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
85619
- var $defineProperty2 = esDefineProperty;
85627
+ var $defineProperty2 = requireEsDefineProperty();
85620
85628
  var $max = GetIntrinsic3("%Math.max%");
85621
85629
  module2.exports = function callBind2(originalFunction) {
85622
85630
  if (typeof originalFunction !== "function") {
@@ -119226,16 +119234,16 @@ function addDecoder(cases, importFn) {
119226
119234
  }
119227
119235
  cases.forEach((c) => registry$2.set(c, importFn));
119228
119236
  }
119229
- addDecoder([void 0, 1], () => import("./raw-a9a348d2.js").then((m) => m.default));
119230
- addDecoder(5, () => import("./lzw-01e20243.js").then((m) => m.default));
119237
+ addDecoder([void 0, 1], () => import("./raw-3c5b9d00.js").then((m) => m.default));
119238
+ addDecoder(5, () => import("./lzw-311071ed.js").then((m) => m.default));
119231
119239
  addDecoder(6, () => {
119232
119240
  throw new Error("old style JPEG compression is not supported.");
119233
119241
  });
119234
- addDecoder(7, () => import("./jpeg-25ebd467.js").then((m) => m.default));
119235
- addDecoder([8, 32946], () => import("./deflate-b50ecf71.js").then((m) => m.default));
119236
- addDecoder(32773, () => import("./packbits-4cce52a2.js").then((m) => m.default));
119237
- addDecoder(34887, () => import("./lerc-7c40eebc.js").then((m) => m.default));
119238
- addDecoder(50001, () => import("./webimage-553303ea.js").then((m) => m.default));
119242
+ addDecoder(7, () => import("./jpeg-1d1532b2.js").then((m) => m.default));
119243
+ addDecoder([8, 32946], () => import("./deflate-6119f695.js").then((m) => m.default));
119244
+ addDecoder(32773, () => import("./packbits-a4515a7a.js").then((m) => m.default));
119245
+ addDecoder(34887, () => import("./lerc-30e3a151.js").then((m) => m.default));
119246
+ addDecoder(50001, () => import("./webimage-75eb6327.js").then((m) => m.default));
119239
119247
  function decodeRowAcc(row, stride) {
119240
119248
  let length2 = row.length - stride;
119241
119249
  let offset = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, e, a, b, c, d, F, G, Z, C, r, n, E, A, y, l, m, z, x, h, q, v, o, i, f, j, k, u, t, p, s, w } from "./index-d1beeb70.js";
1
+ import { D, e, a, b, c, d, F, G, Z, C, r, n, E, A, y, l, m, z, x, h, q, v, o, i, f, j, k, u, t, p, s, w } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  export {
4
4
  D as DEFAULT_CELLS_LAYER,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-d1beeb70.js";
1
+ import { B as BaseDecoder } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  const dctZigZag = new Int32Array([
4
4
  0,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-d1beeb70.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-cfd80560.js";
3
3
  import "react";
4
4
  const LercParameters = {
5
5
  Version: 0,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-d1beeb70.js";
1
+ import { B as BaseDecoder } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  const MIN_BITS = 9;
4
4
  const CLEAR_CODE = 256;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-d1beeb70.js";
1
+ import { B as BaseDecoder } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  class PackbitsDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-d1beeb70.js";
1
+ import { B as BaseDecoder } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  class RawDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-d1beeb70.js";
1
+ import { B as BaseDecoder } from "./index-cfd80560.js";
2
2
  import "react";
3
3
  class WebImageDecoder extends BaseDecoder {
4
4
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/spatial-utils",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,9 +20,9 @@
20
20
  "zarrita": "0.4.0-next.16",
21
21
  "math.gl": "^3.5.6",
22
22
  "mathjs": "^9.2.0",
23
- "@vitessce/gl": "3.5.0",
24
- "@vitessce/utils": "3.5.0",
25
- "@vitessce/zarr-utils": "3.5.0"
23
+ "@vitessce/gl": "3.5.1",
24
+ "@vitessce/utils": "3.5.1",
25
+ "@vitessce/zarr-utils": "3.5.1"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",