@loaders.gl/textures 4.2.0-alpha.5 → 4.2.0-alpha.6

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.
@@ -43,7 +43,7 @@
43
43
  );
44
44
  globalThis._loadersgl_.version = NPM_TAG;
45
45
  } else {
46
- globalThis._loadersgl_.version = "4.2.0-alpha.4";
46
+ globalThis._loadersgl_.version = "4.2.0-alpha.5";
47
47
  }
48
48
  }
49
49
  return globalThis._loadersgl_.version;
@@ -136,7 +136,9 @@
136
136
  }
137
137
  getParentPort().then((parentPort2) => {
138
138
  if (parentPort2) {
139
- parentPort2.on("message", handleMessage);
139
+ parentPort2.on("message", (message) => {
140
+ handleMessage(message);
141
+ });
140
142
  parentPort2.on("exit", () => console.debug("Node worker closing"));
141
143
  } else {
142
144
  globalThis.onmessage = handleMessage;
@@ -277,7 +279,7 @@
277
279
  }
278
280
 
279
281
  // src/lib/utils/version.ts
280
- var VERSION2 = true ? "4.2.0-alpha.4" : "latest";
282
+ var VERSION2 = true ? "4.2.0-alpha.5" : "latest";
281
283
 
282
284
  // src/lib/parsers/basis-module-loader.ts
283
285
  var BASIS_EXTERNAL_LIBRARIES = {
@@ -4,4 +4,4 @@
4
4
  // Version constant cannot be imported, it needs to correspond to the build version of **this** module.
5
5
  // __VERSION__ is injected by babel-plugin-version-inline
6
6
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
7
- export const VERSION = typeof "4.2.0-alpha.4" !== 'undefined' ? "4.2.0-alpha.4" : 'latest';
7
+ export const VERSION = typeof "4.2.0-alpha.5" !== 'undefined' ? "4.2.0-alpha.5" : 'latest';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  (() => {
3
3
  // src/lib/utils/version.ts
4
- var VERSION = true ? "4.2.0-alpha.4" : "latest";
4
+ var VERSION = true ? "4.2.0-alpha.5" : "latest";
5
5
 
6
6
  // src/lib/parsers/parse-npy.ts
7
7
  var a = new Uint32Array([305419896]);
@@ -142,7 +142,9 @@
142
142
  }
143
143
  getParentPort().then((parentPort2) => {
144
144
  if (parentPort2) {
145
- parentPort2.on("message", handleMessage);
145
+ parentPort2.on("message", (message) => {
146
+ handleMessage(message);
147
+ });
146
148
  parentPort2.on("exit", () => console.debug("Node worker closing"));
147
149
  } else {
148
150
  globalThis.onmessage = handleMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/textures",
3
- "version": "4.2.0-alpha.5",
3
+ "version": "4.2.0-alpha.6",
4
4
  "description": "Framework-independent loaders for compressed and super compressed (basis) textures ",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -54,18 +54,16 @@
54
54
  "build-crunch-worker": "esbuild src/workers/crunch-worker.ts --outfile=dist/crunch-worker.js --target=esnext --bundle --define:__VERSION__=\\\"$npm_package_version\\\""
55
55
  },
56
56
  "dependencies": {
57
- "@loaders.gl/images": "4.2.0-alpha.5",
58
- "@loaders.gl/loader-utils": "4.2.0-alpha.5",
59
- "@loaders.gl/schema": "4.2.0-alpha.5",
60
- "@loaders.gl/worker-utils": "4.2.0-alpha.5",
57
+ "@loaders.gl/images": "4.2.0-alpha.6",
58
+ "@loaders.gl/loader-utils": "4.2.0-alpha.6",
59
+ "@loaders.gl/schema": "4.2.0-alpha.6",
60
+ "@loaders.gl/worker-utils": "4.2.0-alpha.6",
61
+ "@math.gl/types": "^4.0.1",
61
62
  "ktx-parse": "^0.0.4",
62
63
  "texture-compressor": "^1.0.2"
63
64
  },
64
- "devDependencies": {
65
- "@loaders.gl/polyfills": "4.2.0-alpha.5"
66
- },
67
65
  "peerDependencies": {
68
66
  "@loaders.gl/core": "^4.0.0"
69
67
  },
70
- "gitHead": "32d95a81971f104e4dfeb88ab57065f05321a76a"
68
+ "gitHead": "37bd8ca71763529f18727ee4bf29dd176aa914ca"
71
69
  }