@loaders.gl/pcd 4.0.2 → 4.0.4
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/pcd-worker.js +4 -14
- package/package.json +4 -4
package/dist/pcd-worker.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(() => {
|
|
3
|
+
// ../worker-utils/src/lib/node/worker_threads-browser.ts
|
|
4
|
+
var parentPort = null;
|
|
5
|
+
|
|
3
6
|
// ../worker-utils/src/lib/worker-utils/get-transfer-list.ts
|
|
4
7
|
function getTransferList(object, recursive = true, transfers) {
|
|
5
8
|
const transfersSet = transfers || /* @__PURE__ */ new Set();
|
|
@@ -37,19 +40,6 @@
|
|
|
37
40
|
|
|
38
41
|
// ../worker-utils/src/lib/worker-farm/worker-body.ts
|
|
39
42
|
async function getParentPort() {
|
|
40
|
-
let parentPort;
|
|
41
|
-
try {
|
|
42
|
-
eval("globalThis.parentPort = require('worker_threads').parentPort");
|
|
43
|
-
parentPort = globalThis.parentPort;
|
|
44
|
-
} catch {
|
|
45
|
-
try {
|
|
46
|
-
eval("globalThis.workerThreadsPromise = import('worker_threads')");
|
|
47
|
-
const workerThreads = await globalThis.workerThreadsPromise;
|
|
48
|
-
parentPort = workerThreads.parentPort;
|
|
49
|
-
} catch (error) {
|
|
50
|
-
console.error(error.message);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
43
|
return parentPort;
|
|
54
44
|
}
|
|
55
45
|
var onMessageWrapperMap = /* @__PURE__ */ new Map();
|
|
@@ -626,7 +616,7 @@
|
|
|
626
616
|
}
|
|
627
617
|
|
|
628
618
|
// src/pcd-loader.ts
|
|
629
|
-
var VERSION = true ? "4.0.
|
|
619
|
+
var VERSION = true ? "4.0.4" : "latest";
|
|
630
620
|
var PCDLoader = {
|
|
631
621
|
name: "PCD (Point Cloud Data)",
|
|
632
622
|
id: "pcd",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/pcd",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Framework-independent loader for the PCD format",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"build-worker": "esbuild src/workers/pcd-worker.ts --bundle --outfile=dist/pcd-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@loaders.gl/loader-utils": "4.0.
|
|
45
|
-
"@loaders.gl/schema": "4.0.
|
|
44
|
+
"@loaders.gl/loader-utils": "4.0.4",
|
|
45
|
+
"@loaders.gl/schema": "4.0.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4dc810fa04bb400f4aedfef98a83c7ef882ed3d7"
|
|
48
48
|
}
|