@loaders.gl/compression 4.1.0-alpha.9 → 4.1.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.
package/dist/dist.dev.js CHANGED
@@ -4683,7 +4683,7 @@ var __exports__ = (() => {
4683
4683
  console.warn("loaders.gl: The __VERSION__ variable is not injected using babel plugin. Latest unstable workers would be fetched from the CDN.");
4684
4684
  globalThis._loadersgl_.version = NPM_TAG;
4685
4685
  } else {
4686
- globalThis._loadersgl_.version = "4.1.0-alpha.9";
4686
+ globalThis._loadersgl_.version = "4.1.0";
4687
4687
  }
4688
4688
  }
4689
4689
  return globalThis._loadersgl_.version;
@@ -5226,6 +5226,9 @@ var __exports__ = (() => {
5226
5226
 
5227
5227
  // ../loader-utils/src/lib/binary-utils/array-buffer-utils.ts
5228
5228
  function concatenateArrayBuffers(...sources) {
5229
+ return concatenateArrayBuffersFromArray(sources);
5230
+ }
5231
+ function concatenateArrayBuffersFromArray(sources) {
5229
5232
  const sourceArrays = sources.map((source2) => source2 instanceof ArrayBuffer ? new Uint8Array(source2) : source2);
5230
5233
  const byteLength = sourceArrays.reduce((length, typedArray) => length + typedArray.byteLength, 0);
5231
5234
  const result = new Uint8Array(byteLength);
@@ -7500,7 +7503,7 @@ var __exports__ = (() => {
7500
7503
  };
7501
7504
 
7502
7505
  // src/compress-on-worker.ts
7503
- var VERSION2 = true ? "4.1.0-alpha.9" : "latest";
7506
+ var VERSION2 = true ? "4.1.0" : "latest";
7504
7507
  var CompressionWorker = {
7505
7508
  id: "compression",
7506
7509
  name: "compression",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/compression",
3
- "version": "4.1.0-alpha.9",
3
+ "version": "4.1.0",
4
4
  "description": "Decompression and compression plugins for loaders.gl",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,9 +26,9 @@
26
26
  "module": "dist/index.js",
27
27
  "exports": {
28
28
  ".": {
29
+ "types": "./dist/index.d.ts",
29
30
  "import": "./dist/index.js",
30
- "require": "./dist/index.cjs",
31
- "types": "./dist/index.d.ts"
31
+ "require": "./dist/index.cjs"
32
32
  }
33
33
  },
34
34
  "sideEffects": false,
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/runtime": "^7.3.1",
53
- "@loaders.gl/loader-utils": "4.1.0-alpha.9",
54
- "@loaders.gl/worker-utils": "4.1.0-alpha.9",
53
+ "@loaders.gl/loader-utils": "4.1.0",
54
+ "@loaders.gl/worker-utils": "4.1.0",
55
55
  "@types/brotli": "^1.3.0",
56
56
  "@types/pako": "^1.0.1",
57
57
  "fflate": "0.7.4",
@@ -69,5 +69,5 @@
69
69
  "lz4js": "^0.2.0",
70
70
  "zstd-codec": "^0.1"
71
71
  },
72
- "gitHead": "0291d4d78d71202385d0368942f84778d6aafa82"
72
+ "gitHead": "75961cc7a6ed6679018c0e3fb6eb5c3c74d97bdb"
73
73
  }