@vitessce/spatial-utils 3.4.14 → 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-a7bb8a96.js";
2
+ import { B as BaseDecoder } from "./index-cfd80560.js";
3
3
  import "react";
4
4
  class DeflateDecoder extends BaseDecoder {
5
5
  decodeBlock(buffer) {
@@ -85023,7 +85023,7 @@ keysShim.shim = function shimObjectKeys() {
85023
85023
  return Object.keys || keysShim;
85024
85024
  };
85025
85025
  var objectKeys$1 = keysShim;
85026
- var shams$2 = function hasSymbols() {
85026
+ var shams$1 = function hasSymbols() {
85027
85027
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
85028
85028
  return false;
85029
85029
  }
@@ -85068,9 +85068,9 @@ var shams$2 = function hasSymbols() {
85068
85068
  }
85069
85069
  return true;
85070
85070
  };
85071
- var hasSymbols$4 = shams$2;
85072
- var shams$1 = function hasToStringTagShams() {
85073
- return hasSymbols$4() && !!Symbol.toStringTag;
85071
+ var hasSymbols$3 = shams$1;
85072
+ var shams = function hasToStringTagShams() {
85073
+ return hasSymbols$3() && !!Symbol.toStringTag;
85074
85074
  };
85075
85075
  var esErrors = Error;
85076
85076
  var _eval = EvalError;
@@ -85080,8 +85080,8 @@ var syntax = SyntaxError;
85080
85080
  var type = TypeError;
85081
85081
  var uri = URIError;
85082
85082
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
85083
- var hasSymbolSham = shams$2;
85084
- var hasSymbols$3 = function hasNativeSymbols() {
85083
+ var hasSymbolSham = shams$1;
85084
+ var hasSymbols$2 = function hasNativeSymbols() {
85085
85085
  if (typeof origSymbol !== "function") {
85086
85086
  return false;
85087
85087
  }
@@ -85097,11 +85097,12 @@ var hasSymbols$3 = function hasNativeSymbols() {
85097
85097
  return hasSymbolSham();
85098
85098
  };
85099
85099
  var test = {
85100
+ __proto__: null,
85100
85101
  foo: {}
85101
85102
  };
85102
85103
  var $Object$1 = Object;
85103
85104
  var hasProto$1 = function hasProto() {
85104
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object$1);
85105
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object$1);
85105
85106
  };
85106
85107
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
85107
85108
  var toStr$2 = Object.prototype.toString;
@@ -85216,7 +85217,7 @@ var ThrowTypeError = $gOPD$2 ? function() {
85216
85217
  }
85217
85218
  }
85218
85219
  }() : throwTypeError;
85219
- var hasSymbols$2 = hasSymbols$3();
85220
+ var hasSymbols$1 = hasSymbols$2();
85220
85221
  var hasProto2 = hasProto$1();
85221
85222
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
85222
85223
  return x2.__proto__;
@@ -85228,7 +85229,7 @@ var INTRINSICS = {
85228
85229
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
85229
85230
  "%Array%": Array,
85230
85231
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
85231
- "%ArrayIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
85232
+ "%ArrayIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
85232
85233
  "%AsyncFromSyncIteratorPrototype%": undefined$1,
85233
85234
  "%AsyncFunction%": needsEval,
85234
85235
  "%AsyncGenerator%": needsEval,
@@ -85259,10 +85260,10 @@ var INTRINSICS = {
85259
85260
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
85260
85261
  "%isFinite%": isFinite,
85261
85262
  "%isNaN%": isNaN,
85262
- "%IteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
85263
+ "%IteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
85263
85264
  "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
85264
85265
  "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
85265
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
85266
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
85266
85267
  "%Math%": Math,
85267
85268
  "%Number%": Number,
85268
85269
  "%Object%": Object,
@@ -85275,11 +85276,11 @@ var INTRINSICS = {
85275
85276
  "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
85276
85277
  "%RegExp%": RegExp,
85277
85278
  "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
85278
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
85279
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
85279
85280
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
85280
85281
  "%String%": String,
85281
- "%StringIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
85282
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$1,
85282
+ "%StringIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
85283
+ "%Symbol%": hasSymbols$1 ? Symbol : undefined$1,
85283
85284
  "%SyntaxError%": $SyntaxError$1,
85284
85285
  "%ThrowTypeError%": ThrowTypeError,
85285
85286
  "%TypedArray%": TypedArray,
@@ -85485,16 +85486,24 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
85485
85486
  return value;
85486
85487
  };
85487
85488
  var callBind$3 = { exports: {} };
85488
- var GetIntrinsic$4 = getIntrinsic;
85489
- var $defineProperty$3 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
85490
- if ($defineProperty$3) {
85491
- try {
85492
- $defineProperty$3({}, "a", { value: 1 });
85493
- } catch (e2) {
85494
- $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
+ }
85495
85503
  }
85504
+ esDefineProperty = $defineProperty2;
85505
+ return esDefineProperty;
85496
85506
  }
85497
- var esDefineProperty = $defineProperty$3;
85498
85507
  var GetIntrinsic$3 = getIntrinsic;
85499
85508
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
85500
85509
  if ($gOPD$1) {
@@ -85505,7 +85514,7 @@ if ($gOPD$1) {
85505
85514
  }
85506
85515
  }
85507
85516
  var gopd$1 = $gOPD$1;
85508
- var $defineProperty$2 = esDefineProperty;
85517
+ var $defineProperty$2 = requireEsDefineProperty();
85509
85518
  var $SyntaxError = syntax;
85510
85519
  var $TypeError$3 = type;
85511
85520
  var gopd = gopd$1;
@@ -85546,7 +85555,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property, value) {
85546
85555
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
85547
85556
  }
85548
85557
  };
85549
- var $defineProperty$1 = esDefineProperty;
85558
+ var $defineProperty$1 = requireEsDefineProperty();
85550
85559
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
85551
85560
  return !!$defineProperty$1;
85552
85561
  };
@@ -85615,7 +85624,7 @@ var setFunctionLength = function setFunctionLength2(fn, length2) {
85615
85624
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
85616
85625
  var $call = GetIntrinsic3("%Function.prototype.call%");
85617
85626
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
85618
- var $defineProperty2 = esDefineProperty;
85627
+ var $defineProperty2 = requireEsDefineProperty();
85619
85628
  var $max = GetIntrinsic3("%Math.max%");
85620
85629
  module2.exports = function callBind2(originalFunction) {
85621
85630
  if (typeof originalFunction !== "function") {
@@ -85648,7 +85657,7 @@ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
85648
85657
  }
85649
85658
  return intrinsic;
85650
85659
  };
85651
- var hasToStringTag$2 = shams$1();
85660
+ var hasToStringTag$2 = shams();
85652
85661
  var callBound$1 = callBound$2;
85653
85662
  var $toString$1 = callBound$1("Object.prototype.toString");
85654
85663
  var isStandardArguments = function isArguments2(value) {
@@ -85693,7 +85702,7 @@ hasPropertyDescriptors2.hasArrayLengthDefineBug = function hasArrayLengthDefineB
85693
85702
  };
85694
85703
  var hasPropertyDescriptors_1 = hasPropertyDescriptors2;
85695
85704
  var keys2 = objectKeys$1;
85696
- var hasSymbols$1 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
85705
+ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
85697
85706
  var toStr$1 = Object.prototype.toString;
85698
85707
  var concat = Array.prototype.concat;
85699
85708
  var defineDataProperty2 = defineDataProperty$1;
@@ -85720,7 +85729,7 @@ var defineProperty$1 = function(object2, name2, value, predicate) {
85720
85729
  var defineProperties = function(object2, map2) {
85721
85730
  var predicates = arguments.length > 2 ? arguments[2] : {};
85722
85731
  var props = keys2(map2);
85723
- if (hasSymbols$1) {
85732
+ if (hasSymbols2) {
85724
85733
  props = concat.call(props, Object.getOwnPropertySymbols(map2));
85725
85734
  }
85726
85735
  for (var i2 = 0; i2 < props.length; i2 += 1) {
@@ -85771,10 +85780,6 @@ define$2(polyfill$1, {
85771
85780
  shim: shim$2
85772
85781
  });
85773
85782
  var objectIs = polyfill$1;
85774
- var hasSymbols2 = shams$2;
85775
- var shams = function hasToStringTagShams2() {
85776
- return hasSymbols2() && !!Symbol.toStringTag;
85777
- };
85778
85783
  var callBound = callBound$2;
85779
85784
  var hasToStringTag$1 = shams();
85780
85785
  var has;
@@ -85981,7 +85986,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
85981
85986
  };
85982
85987
  var toStr = Object.prototype.toString;
85983
85988
  var dateClass = "[object Date]";
85984
- var hasToStringTag = shams$1();
85989
+ var hasToStringTag = shams();
85985
85990
  var isDateObject = function isDateObject2(value) {
85986
85991
  if (typeof value !== "object" || value === null) {
85987
85992
  return false;
@@ -119229,16 +119234,16 @@ function addDecoder(cases, importFn) {
119229
119234
  }
119230
119235
  cases.forEach((c) => registry$2.set(c, importFn));
119231
119236
  }
119232
- addDecoder([void 0, 1], () => import("./raw-9ca04826.js").then((m) => m.default));
119233
- addDecoder(5, () => import("./lzw-0caa4868.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));
119234
119239
  addDecoder(6, () => {
119235
119240
  throw new Error("old style JPEG compression is not supported.");
119236
119241
  });
119237
- addDecoder(7, () => import("./jpeg-ddaf8c90.js").then((m) => m.default));
119238
- addDecoder([8, 32946], () => import("./deflate-32efdab2.js").then((m) => m.default));
119239
- addDecoder(32773, () => import("./packbits-a5fbf85a.js").then((m) => m.default));
119240
- addDecoder(34887, () => import("./lerc-436605d8.js").then((m) => m.default));
119241
- addDecoder(50001, () => import("./webimage-c0a22c4e.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));
119242
119247
  function decodeRowAcc(row, stride) {
119243
119248
  let length2 = row.length - stride;
119244
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-a7bb8a96.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-a7bb8a96.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-a7bb8a96.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-a7bb8a96.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-a7bb8a96.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-a7bb8a96.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-a7bb8a96.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitessce/spatial-utils",
3
- "version": "3.4.14",
4
- "author": "Gehlenborg Lab",
3
+ "version": "3.5.1",
4
+ "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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.4.14",
24
- "@vitessce/utils": "3.4.14",
25
- "@vitessce/zarr-utils": "3.4.14"
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",