@vitessce/gl 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-ca31b7d3.js";
2
+ import { B as BaseDecoder } from "./index-c65f0da2.js";
3
3
  import "react";
4
4
  class DeflateDecoder extends BaseDecoder {
5
5
  decodeBlock(buffer) {
@@ -71315,7 +71315,7 @@ keysShim.shim = function shimObjectKeys() {
71315
71315
  return Object.keys || keysShim;
71316
71316
  };
71317
71317
  var objectKeys$1 = keysShim;
71318
- var shams$2 = function hasSymbols() {
71318
+ var shams$1 = function hasSymbols() {
71319
71319
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
71320
71320
  return false;
71321
71321
  }
@@ -71360,9 +71360,9 @@ var shams$2 = function hasSymbols() {
71360
71360
  }
71361
71361
  return true;
71362
71362
  };
71363
- var hasSymbols$4 = shams$2;
71364
- var shams$1 = function hasToStringTagShams() {
71365
- return hasSymbols$4() && !!Symbol.toStringTag;
71363
+ var hasSymbols$3 = shams$1;
71364
+ var shams = function hasToStringTagShams() {
71365
+ return hasSymbols$3() && !!Symbol.toStringTag;
71366
71366
  };
71367
71367
  var esErrors = Error;
71368
71368
  var _eval = EvalError;
@@ -71372,8 +71372,8 @@ var syntax = SyntaxError;
71372
71372
  var type = TypeError;
71373
71373
  var uri = URIError;
71374
71374
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
71375
- var hasSymbolSham = shams$2;
71376
- var hasSymbols$3 = function hasNativeSymbols() {
71375
+ var hasSymbolSham = shams$1;
71376
+ var hasSymbols$2 = function hasNativeSymbols() {
71377
71377
  if (typeof origSymbol !== "function") {
71378
71378
  return false;
71379
71379
  }
@@ -71389,11 +71389,12 @@ var hasSymbols$3 = function hasNativeSymbols() {
71389
71389
  return hasSymbolSham();
71390
71390
  };
71391
71391
  var test = {
71392
+ __proto__: null,
71392
71393
  foo: {}
71393
71394
  };
71394
71395
  var $Object$1 = Object;
71395
71396
  var hasProto$1 = function hasProto() {
71396
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object$1);
71397
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object$1);
71397
71398
  };
71398
71399
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
71399
71400
  var toStr$2 = Object.prototype.toString;
@@ -71508,7 +71509,7 @@ var ThrowTypeError = $gOPD$2 ? function() {
71508
71509
  }
71509
71510
  }
71510
71511
  }() : throwTypeError;
71511
- var hasSymbols$2 = hasSymbols$3();
71512
+ var hasSymbols$1 = hasSymbols$2();
71512
71513
  var hasProto2 = hasProto$1();
71513
71514
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
71514
71515
  return x2.__proto__;
@@ -71520,7 +71521,7 @@ var INTRINSICS = {
71520
71521
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
71521
71522
  "%Array%": Array,
71522
71523
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
71523
- "%ArrayIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
71524
+ "%ArrayIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
71524
71525
  "%AsyncFromSyncIteratorPrototype%": undefined$1,
71525
71526
  "%AsyncFunction%": needsEval,
71526
71527
  "%AsyncGenerator%": needsEval,
@@ -71551,10 +71552,10 @@ var INTRINSICS = {
71551
71552
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
71552
71553
  "%isFinite%": isFinite,
71553
71554
  "%isNaN%": isNaN,
71554
- "%IteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
71555
+ "%IteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
71555
71556
  "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
71556
71557
  "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
71557
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
71558
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
71558
71559
  "%Math%": Math,
71559
71560
  "%Number%": Number,
71560
71561
  "%Object%": Object,
@@ -71567,11 +71568,11 @@ var INTRINSICS = {
71567
71568
  "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
71568
71569
  "%RegExp%": RegExp,
71569
71570
  "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
71570
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
71571
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
71571
71572
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
71572
71573
  "%String%": String,
71573
- "%StringIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
71574
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$1,
71574
+ "%StringIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
71575
+ "%Symbol%": hasSymbols$1 ? Symbol : undefined$1,
71575
71576
  "%SyntaxError%": $SyntaxError$1,
71576
71577
  "%ThrowTypeError%": ThrowTypeError,
71577
71578
  "%TypedArray%": TypedArray$1,
@@ -71777,24 +71778,16 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
71777
71778
  return value;
71778
71779
  };
71779
71780
  var callBind$3 = { exports: {} };
71780
- var esDefineProperty;
71781
- var hasRequiredEsDefineProperty;
71782
- function requireEsDefineProperty() {
71783
- if (hasRequiredEsDefineProperty)
71784
- return esDefineProperty;
71785
- hasRequiredEsDefineProperty = 1;
71786
- var GetIntrinsic3 = getIntrinsic;
71787
- var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
71788
- if ($defineProperty2) {
71789
- try {
71790
- $defineProperty2({}, "a", { value: 1 });
71791
- } catch (e2) {
71792
- $defineProperty2 = false;
71793
- }
71781
+ var GetIntrinsic$4 = getIntrinsic;
71782
+ var $defineProperty$3 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
71783
+ if ($defineProperty$3) {
71784
+ try {
71785
+ $defineProperty$3({}, "a", { value: 1 });
71786
+ } catch (e2) {
71787
+ $defineProperty$3 = false;
71794
71788
  }
71795
- esDefineProperty = $defineProperty2;
71796
- return esDefineProperty;
71797
71789
  }
71790
+ var esDefineProperty = $defineProperty$3;
71798
71791
  var GetIntrinsic$3 = getIntrinsic;
71799
71792
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
71800
71793
  if ($gOPD$1) {
@@ -71805,7 +71798,7 @@ if ($gOPD$1) {
71805
71798
  }
71806
71799
  }
71807
71800
  var gopd$1 = $gOPD$1;
71808
- var $defineProperty$2 = requireEsDefineProperty();
71801
+ var $defineProperty$2 = esDefineProperty;
71809
71802
  var $SyntaxError = syntax;
71810
71803
  var $TypeError$3 = type;
71811
71804
  var gopd = gopd$1;
@@ -71846,7 +71839,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property, value) {
71846
71839
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
71847
71840
  }
71848
71841
  };
71849
- var $defineProperty$1 = requireEsDefineProperty();
71842
+ var $defineProperty$1 = esDefineProperty;
71850
71843
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
71851
71844
  return !!$defineProperty$1;
71852
71845
  };
@@ -71915,7 +71908,7 @@ var setFunctionLength = function setFunctionLength2(fn, length2) {
71915
71908
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
71916
71909
  var $call = GetIntrinsic3("%Function.prototype.call%");
71917
71910
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
71918
- var $defineProperty2 = requireEsDefineProperty();
71911
+ var $defineProperty2 = esDefineProperty;
71919
71912
  var $max = GetIntrinsic3("%Math.max%");
71920
71913
  module2.exports = function callBind2(originalFunction) {
71921
71914
  if (typeof originalFunction !== "function") {
@@ -71948,7 +71941,7 @@ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
71948
71941
  }
71949
71942
  return intrinsic;
71950
71943
  };
71951
- var hasToStringTag$2 = shams$1();
71944
+ var hasToStringTag$2 = shams();
71952
71945
  var callBound$1 = callBound$2;
71953
71946
  var $toString$1 = callBound$1("Object.prototype.toString");
71954
71947
  var isStandardArguments = function isArguments2(value) {
@@ -71993,7 +71986,7 @@ hasPropertyDescriptors2.hasArrayLengthDefineBug = function hasArrayLengthDefineB
71993
71986
  };
71994
71987
  var hasPropertyDescriptors_1 = hasPropertyDescriptors2;
71995
71988
  var keys2 = objectKeys$1;
71996
- var hasSymbols$1 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
71989
+ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
71997
71990
  var toStr$1 = Object.prototype.toString;
71998
71991
  var concat = Array.prototype.concat;
71999
71992
  var defineDataProperty2 = defineDataProperty$1;
@@ -72020,7 +72013,7 @@ var defineProperty$1 = function(object2, name2, value, predicate) {
72020
72013
  var defineProperties = function(object2, map2) {
72021
72014
  var predicates = arguments.length > 2 ? arguments[2] : {};
72022
72015
  var props = keys2(map2);
72023
- if (hasSymbols$1) {
72016
+ if (hasSymbols2) {
72024
72017
  props = concat.call(props, Object.getOwnPropertySymbols(map2));
72025
72018
  }
72026
72019
  for (var i2 = 0; i2 < props.length; i2 += 1) {
@@ -72071,10 +72064,6 @@ define$2(polyfill$1, {
72071
72064
  shim: shim$2
72072
72065
  });
72073
72066
  var objectIs = polyfill$1;
72074
- var hasSymbols2 = shams$2;
72075
- var shams = function hasToStringTagShams2() {
72076
- return hasSymbols2() && !!Symbol.toStringTag;
72077
- };
72078
72067
  var callBound = callBound$2;
72079
72068
  var hasToStringTag$1 = shams();
72080
72069
  var has;
@@ -72281,7 +72270,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
72281
72270
  };
72282
72271
  var toStr = Object.prototype.toString;
72283
72272
  var dateClass = "[object Date]";
72284
- var hasToStringTag = shams$1();
72273
+ var hasToStringTag = shams();
72285
72274
  var isDateObject = function isDateObject2(value) {
72286
72275
  if (typeof value !== "object" || value === null) {
72287
72276
  return false;
@@ -106293,16 +106282,16 @@ async function getDecoder(fileDirectory) {
106293
106282
  const Decoder = await importFn();
106294
106283
  return new Decoder(fileDirectory);
106295
106284
  }
106296
- addDecoder([void 0, 1], () => import("./raw-5c4ce572.js").then((m) => m.default));
106297
- addDecoder(5, () => import("./lzw-01bcf7af.js").then((m) => m.default));
106285
+ addDecoder([void 0, 1], () => import("./raw-3d70ff2e.js").then((m) => m.default));
106286
+ addDecoder(5, () => import("./lzw-4c807d51.js").then((m) => m.default));
106298
106287
  addDecoder(6, () => {
106299
106288
  throw new Error("old style JPEG compression is not supported.");
106300
106289
  });
106301
- addDecoder(7, () => import("./jpeg-bb488207.js").then((m) => m.default));
106302
- addDecoder([8, 32946], () => import("./deflate-2ed1d840.js").then((m) => m.default));
106303
- addDecoder(32773, () => import("./packbits-5a00a194.js").then((m) => m.default));
106304
- addDecoder(34887, () => import("./lerc-2f0f94bb.js").then((m) => m.default));
106305
- addDecoder(50001, () => import("./webimage-4fae1fa3.js").then((m) => m.default));
106290
+ addDecoder(7, () => import("./jpeg-7428d0cc.js").then((m) => m.default));
106291
+ addDecoder([8, 32946], () => import("./deflate-5f6bf017.js").then((m) => m.default));
106292
+ addDecoder(32773, () => import("./packbits-865e9a4b.js").then((m) => m.default));
106293
+ addDecoder(34887, () => import("./lerc-70c5067b.js").then((m) => m.default));
106294
+ addDecoder(50001, () => import("./webimage-baf0ad55.js").then((m) => m.default));
106306
106295
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
106307
106296
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
106308
106297
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as distEs6 } from "./index-ca31b7d3.js";
2
- import { o, n, A, r, q, p, i, j, C, l, D, G, e, H, c, M, k, m, d, P, S, h, T, t, b, s, u, v } from "./index-ca31b7d3.js";
1
+ import { f as distEs6 } from "./index-c65f0da2.js";
2
+ import { o, n, A, r, q, p, i, j, C, l, D, G, e, H, c, M, k, m, d, P, S, h, T, t, b, s, u, v } from "./index-c65f0da2.js";
3
3
  import "react";
4
4
  const SELECTION_TYPE = distEs6.SELECTION_TYPE;
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ca31b7d3.js";
1
+ import { B as BaseDecoder } from "./index-c65f0da2.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, L as LercParameters, a as LercAddCompression } from "./index-ca31b7d3.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-c65f0da2.js";
3
3
  import "react";
4
4
  var LercDecode = { exports: {} };
5
5
  (function(module) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ca31b7d3.js";
1
+ import { B as BaseDecoder } from "./index-c65f0da2.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-ca31b7d3.js";
1
+ import { B as BaseDecoder } from "./index-c65f0da2.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-ca31b7d3.js";
1
+ import { B as BaseDecoder } from "./index-c65f0da2.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-ca31b7d3.js";
1
+ import { B as BaseDecoder } from "./index-c65f0da2.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/gl",
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",
@@ -52,7 +52,7 @@
52
52
  "math.gl": "^3.5.6",
53
53
  "mathjs": "^9.2.0",
54
54
  "nebula.gl": "0.23.8",
55
- "@vitessce/utils": "3.4.14"
55
+ "@vitessce/utils": "3.5.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "glsl-colormap": "^1.0.1"