@needle-tools/gltf-build-pipeline 2.15.4 → 2.15.5

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.
@@ -8,7 +8,7 @@ import xxhash from "xxhash-wasm";
8
8
  let xxHashModule = null;
9
9
  xxhash().then(module => {
10
10
  xxHashModule = module;
11
- });
11
+ }).catch(() => { });
12
12
  /**
13
13
  * Get the available space on the cache directory in bytes.
14
14
  */
@@ -50,6 +50,8 @@ function sendEvent(eventName, properties, type = 'custom_event') {
50
50
  });
51
51
  req.on('error', () => { });
52
52
  req.on('timeout', () => { req.destroy(); });
53
+ // Allow the process to exit even if the request is still in-flight
54
+ req.on('socket', (socket) => { socket.unref(); });
53
55
  req.end(body);
54
56
  }
55
57
  catch {
@@ -1 +1 @@
1
- export declare const version = "2.15.4";
1
+ export declare const version = "2.15.5";
@@ -1 +1 @@
1
- export const version = "2.15.4";
1
+ export const version = "2.15.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-build-pipeline",
3
- "version": "2.15.4",
3
+ "version": "2.15.5",
4
4
  "description": "Pipeline and tools for optimizing gltf files using gltf-transform and compression settings within glTF extensions",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",