@vitessce/ome-tiff 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-218883b0.js";
2
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -68762,7 +68762,7 @@ keysShim.shim = function shimObjectKeys() {
68762
68762
  return Object.keys || keysShim;
68763
68763
  };
68764
68764
  var objectKeys$1 = keysShim;
68765
- var shams$2 = function hasSymbols() {
68765
+ var shams$1 = function hasSymbols() {
68766
68766
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
68767
68767
  return false;
68768
68768
  }
@@ -68807,9 +68807,9 @@ var shams$2 = function hasSymbols() {
68807
68807
  }
68808
68808
  return true;
68809
68809
  };
68810
- var hasSymbols$4 = shams$2;
68811
- var shams$1 = function hasToStringTagShams() {
68812
- return hasSymbols$4() && !!Symbol.toStringTag;
68810
+ var hasSymbols$3 = shams$1;
68811
+ var shams = function hasToStringTagShams() {
68812
+ return hasSymbols$3() && !!Symbol.toStringTag;
68813
68813
  };
68814
68814
  var esErrors = Error;
68815
68815
  var _eval = EvalError;
@@ -68819,8 +68819,8 @@ var syntax = SyntaxError;
68819
68819
  var type = TypeError;
68820
68820
  var uri = URIError;
68821
68821
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
68822
- var hasSymbolSham = shams$2;
68823
- var hasSymbols$3 = function hasNativeSymbols() {
68822
+ var hasSymbolSham = shams$1;
68823
+ var hasSymbols$2 = function hasNativeSymbols() {
68824
68824
  if (typeof origSymbol !== "function") {
68825
68825
  return false;
68826
68826
  }
@@ -68836,11 +68836,12 @@ var hasSymbols$3 = function hasNativeSymbols() {
68836
68836
  return hasSymbolSham();
68837
68837
  };
68838
68838
  var test = {
68839
+ __proto__: null,
68839
68840
  foo: {}
68840
68841
  };
68841
68842
  var $Object$1 = Object;
68842
68843
  var hasProto$1 = function hasProto() {
68843
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object$1);
68844
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object$1);
68844
68845
  };
68845
68846
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
68846
68847
  var toStr$2 = Object.prototype.toString;
@@ -68955,7 +68956,7 @@ var ThrowTypeError = $gOPD$2 ? function() {
68955
68956
  }
68956
68957
  }
68957
68958
  }() : throwTypeError;
68958
- var hasSymbols$2 = hasSymbols$3();
68959
+ var hasSymbols$1 = hasSymbols$2();
68959
68960
  var hasProto2 = hasProto$1();
68960
68961
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
68961
68962
  return x2.__proto__;
@@ -68967,7 +68968,7 @@ var INTRINSICS = {
68967
68968
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined$1 : AggregateError,
68968
68969
  "%Array%": Array,
68969
68970
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$1 : ArrayBuffer,
68970
- "%ArrayIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
68971
+ "%ArrayIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
68971
68972
  "%AsyncFromSyncIteratorPrototype%": undefined$1,
68972
68973
  "%AsyncFunction%": needsEval,
68973
68974
  "%AsyncGenerator%": needsEval,
@@ -68998,10 +68999,10 @@ var INTRINSICS = {
68998
68999
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined$1 : Int32Array,
68999
69000
  "%isFinite%": isFinite,
69000
69001
  "%isNaN%": isNaN,
69001
- "%IteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
69002
+ "%IteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
69002
69003
  "%JSON%": typeof JSON === "object" ? JSON : undefined$1,
69003
69004
  "%Map%": typeof Map === "undefined" ? undefined$1 : Map,
69004
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
69005
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Map())[Symbol.iterator]()),
69005
69006
  "%Math%": Math,
69006
69007
  "%Number%": Number,
69007
69008
  "%Object%": Object,
@@ -69014,11 +69015,11 @@ var INTRINSICS = {
69014
69015
  "%Reflect%": typeof Reflect === "undefined" ? undefined$1 : Reflect,
69015
69016
  "%RegExp%": RegExp,
69016
69017
  "%Set%": typeof Set === "undefined" ? undefined$1 : Set,
69017
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
69018
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$1 || !getProto$1 ? undefined$1 : getProto$1((/* @__PURE__ */ new Set())[Symbol.iterator]()),
69018
69019
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$1 : SharedArrayBuffer,
69019
69020
  "%String%": String,
69020
- "%StringIteratorPrototype%": hasSymbols$2 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
69021
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$1,
69021
+ "%StringIteratorPrototype%": hasSymbols$1 && getProto$1 ? getProto$1(""[Symbol.iterator]()) : undefined$1,
69022
+ "%Symbol%": hasSymbols$1 ? Symbol : undefined$1,
69022
69023
  "%SyntaxError%": $SyntaxError$1,
69023
69024
  "%ThrowTypeError%": ThrowTypeError,
69024
69025
  "%TypedArray%": TypedArray$1,
@@ -69387,7 +69388,7 @@ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
69387
69388
  }
69388
69389
  return intrinsic;
69389
69390
  };
69390
- var hasToStringTag$2 = shams$1();
69391
+ var hasToStringTag$2 = shams();
69391
69392
  var callBound$1 = callBound$2;
69392
69393
  var $toString$1 = callBound$1("Object.prototype.toString");
69393
69394
  var isStandardArguments = function isArguments2(value) {
@@ -69432,7 +69433,7 @@ hasPropertyDescriptors2.hasArrayLengthDefineBug = function hasArrayLengthDefineB
69432
69433
  };
69433
69434
  var hasPropertyDescriptors_1 = hasPropertyDescriptors2;
69434
69435
  var keys$1 = objectKeys$1;
69435
- var hasSymbols$1 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
69436
+ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
69436
69437
  var toStr$1 = Object.prototype.toString;
69437
69438
  var concat = Array.prototype.concat;
69438
69439
  var defineDataProperty2 = defineDataProperty$1;
@@ -69459,7 +69460,7 @@ var defineProperty$1 = function(object2, name2, value, predicate) {
69459
69460
  var defineProperties = function(object2, map2) {
69460
69461
  var predicates = arguments.length > 2 ? arguments[2] : {};
69461
69462
  var props = keys$1(map2);
69462
- if (hasSymbols$1) {
69463
+ if (hasSymbols2) {
69463
69464
  props = concat.call(props, Object.getOwnPropertySymbols(map2));
69464
69465
  }
69465
69466
  for (var i2 = 0; i2 < props.length; i2 += 1) {
@@ -69510,10 +69511,6 @@ define$2(polyfill$1, {
69510
69511
  shim: shim$2
69511
69512
  });
69512
69513
  var objectIs = polyfill$1;
69513
- var hasSymbols2 = shams$2;
69514
- var shams = function hasToStringTagShams2() {
69515
- return hasSymbols2() && !!Symbol.toStringTag;
69516
- };
69517
69514
  var callBound = callBound$2;
69518
69515
  var hasToStringTag$1 = shams();
69519
69516
  var has;
@@ -69720,7 +69717,7 @@ var tryDateObject = function tryDateGetDayCall(value) {
69720
69717
  };
69721
69718
  var toStr = Object.prototype.toString;
69722
69719
  var dateClass = "[object Date]";
69723
- var hasToStringTag = shams$1();
69720
+ var hasToStringTag = shams();
69724
69721
  var isDateObject = function isDateObject2(value) {
69725
69722
  if (typeof value !== "object" || value === null) {
69726
69723
  return false;
@@ -103685,16 +103682,16 @@ async function getDecoder(fileDirectory) {
103685
103682
  const Decoder = await importFn();
103686
103683
  return new Decoder(fileDirectory);
103687
103684
  }
103688
- addDecoder([void 0, 1], () => import("./raw-b7d06797.js").then((m) => m.default));
103689
- addDecoder(5, () => import("./lzw-e1291ac1.js").then((m) => m.default));
103685
+ addDecoder([void 0, 1], () => import("./raw-6bb0e551.js").then((m) => m.default));
103686
+ addDecoder(5, () => import("./lzw-c4e88cea.js").then((m) => m.default));
103690
103687
  addDecoder(6, () => {
103691
103688
  throw new Error("old style JPEG compression is not supported.");
103692
103689
  });
103693
- addDecoder(7, () => import("./jpeg-9ac0b4cf.js").then((m) => m.default));
103694
- addDecoder([8, 32946], () => import("./deflate-4dcc312d.js").then((m) => m.default));
103695
- addDecoder(32773, () => import("./packbits-c2a6928c.js").then((m) => m.default));
103696
- addDecoder(34887, () => import("./lerc-5616868b.js").then((m) => m.default));
103697
- addDecoder(50001, () => import("./webimage-bab481e0.js").then((m) => m.default));
103690
+ addDecoder(7, () => import("./jpeg-54dba2bb.js").then((m) => m.default));
103691
+ addDecoder([8, 32946], () => import("./deflate-aa52a125.js").then((m) => m.default));
103692
+ addDecoder(32773, () => import("./packbits-29ef0ad2.js").then((m) => m.default));
103693
+ addDecoder(34887, () => import("./lerc-78b3ae0e.js").then((m) => m.default));
103694
+ addDecoder(50001, () => import("./webimage-bb1d39f7.js").then((m) => m.default));
103698
103695
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
103699
103696
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
103700
103697
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, b, O } from "./index-218883b0.js";
1
+ import { c, b, O } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-218883b0.js";
1
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  const dctZigZag = new Int32Array([
@@ -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-218883b0.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-8e0e8247.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-218883b0.js";
1
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-218883b0.js";
1
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-218883b0.js";
1
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-218883b0.js";
1
+ import { B as BaseDecoder } from "./index-8e0e8247.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitessce/ome-tiff",
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",
@@ -18,14 +18,14 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
- "@vitessce/constants-internal": "3.4.14",
22
- "@vitessce/config": "3.4.14",
23
- "@vitessce/gl": "3.4.14",
24
- "@vitessce/sets-utils": "3.4.14",
25
- "@vitessce/spatial-utils": "3.4.14",
26
- "@vitessce/image-utils": "3.4.14",
27
- "@vitessce/utils": "3.4.14",
28
- "@vitessce/vit-s": "3.4.14"
21
+ "@vitessce/constants-internal": "3.5.0",
22
+ "@vitessce/config": "3.5.0",
23
+ "@vitessce/gl": "3.5.0",
24
+ "@vitessce/sets-utils": "3.5.0",
25
+ "@vitessce/spatial-utils": "3.5.0",
26
+ "@vitessce/image-utils": "3.5.0",
27
+ "@vitessce/utils": "3.5.0",
28
+ "@vitessce/vit-s": "3.5.0"
29
29
  },
30
30
  "scripts": {
31
31
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",