@vitessce/spatial-utils 3.4.14 → 3.5.0

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-d1beeb70.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,
@@ -85648,7 +85649,7 @@ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
85648
85649
  }
85649
85650
  return intrinsic;
85650
85651
  };
85651
- var hasToStringTag$2 = shams$1();
85652
+ var hasToStringTag$2 = shams();
85652
85653
  var callBound$1 = callBound$2;
85653
85654
  var $toString$1 = callBound$1("Object.prototype.toString");
85654
85655
  var isStandardArguments = function isArguments2(value) {
@@ -85693,7 +85694,7 @@ hasPropertyDescriptors2.hasArrayLengthDefineBug = function hasArrayLengthDefineB
85693
85694
  };
85694
85695
  var hasPropertyDescriptors_1 = hasPropertyDescriptors2;
85695
85696
  var keys2 = objectKeys$1;
85696
- var hasSymbols$1 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
85697
+ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
85697
85698
  var toStr$1 = Object.prototype.toString;
85698
85699
  var concat = Array.prototype.concat;
85699
85700
  var defineDataProperty2 = defineDataProperty$1;
@@ -85720,7 +85721,7 @@ var defineProperty$1 = function(object2, name2, value, predicate) {
85720
85721
  var defineProperties = function(object2, map2) {
85721
85722
  var predicates = arguments.length > 2 ? arguments[2] : {};
85722
85723
  var props = keys2(map2);
85723
- if (hasSymbols$1) {
85724
+ if (hasSymbols2) {
85724
85725
  props = concat.call(props, Object.getOwnPropertySymbols(map2));
85725
85726
  }
85726
85727
  for (var i2 = 0; i2 < props.length; i2 += 1) {
@@ -85771,10 +85772,6 @@ define$2(polyfill$1, {
85771
85772
  shim: shim$2
85772
85773
  });
85773
85774
  var objectIs = polyfill$1;
85774
- var hasSymbols2 = shams$2;
85775
- var shams = function hasToStringTagShams2() {
85776
- return hasSymbols2() && !!Symbol.toStringTag;
85777
- };
85778
85775
  var callBound = callBound$2;
85779
85776
  var hasToStringTag$1 = shams();
85780
85777
  var has;
@@ -85981,7 +85978,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
85981
85978
  };
85982
85979
  var toStr = Object.prototype.toString;
85983
85980
  var dateClass = "[object Date]";
85984
- var hasToStringTag = shams$1();
85981
+ var hasToStringTag = shams();
85985
85982
  var isDateObject = function isDateObject2(value) {
85986
85983
  if (typeof value !== "object" || value === null) {
85987
85984
  return false;
@@ -119229,16 +119226,16 @@ function addDecoder(cases, importFn) {
119229
119226
  }
119230
119227
  cases.forEach((c) => registry$2.set(c, importFn));
119231
119228
  }
119232
- addDecoder([void 0, 1], () => import("./raw-9ca04826.js").then((m) => m.default));
119233
- addDecoder(5, () => import("./lzw-0caa4868.js").then((m) => m.default));
119229
+ addDecoder([void 0, 1], () => import("./raw-a9a348d2.js").then((m) => m.default));
119230
+ addDecoder(5, () => import("./lzw-01e20243.js").then((m) => m.default));
119234
119231
  addDecoder(6, () => {
119235
119232
  throw new Error("old style JPEG compression is not supported.");
119236
119233
  });
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));
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
119239
  function decodeRowAcc(row, stride) {
119243
119240
  let length2 = row.length - stride;
119244
119241
  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-d1beeb70.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-d1beeb70.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-d1beeb70.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-d1beeb70.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-d1beeb70.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-d1beeb70.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-d1beeb70.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.0",
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.0",
24
+ "@vitessce/utils": "3.5.0",
25
+ "@vitessce/zarr-utils": "3.5.0"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",