@loaders.gl/i3s 4.1.0-alpha.3 → 4.1.0-alpha.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.
- package/dist/arcgis-webscene-loader.js +1 -1
- package/dist/dist.dev.js +24 -19
- package/dist/i3s-attribute-loader.js +1 -1
- package/dist/i3s-building-scene-layer-loader.js +1 -1
- package/dist/i3s-content-loader.js +1 -1
- package/dist/i3s-content-worker-node.js +2 -2
- package/dist/i3s-content-worker-node.js.map +3 -3
- package/dist/i3s-content-worker.js +12 -8
- package/dist/i3s-loader.js +1 -1
- package/dist/i3s-node-page-loader.js +1 -1
- package/dist/i3s-slpk-loader.js +1 -1
- package/package.json +10 -10
|
@@ -76,13 +76,17 @@
|
|
|
76
76
|
function mergeLoaderOptions(baseOptions, newOptions) {
|
|
77
77
|
return mergeOptionsRecursively(baseOptions || {}, newOptions);
|
|
78
78
|
}
|
|
79
|
-
function mergeOptionsRecursively(baseOptions, newOptions) {
|
|
79
|
+
function mergeOptionsRecursively(baseOptions, newOptions, level = 0) {
|
|
80
|
+
if (level > 3) {
|
|
81
|
+
return newOptions;
|
|
82
|
+
}
|
|
80
83
|
const options = { ...baseOptions };
|
|
81
84
|
for (const [key, newValue] of Object.entries(newOptions)) {
|
|
82
85
|
if (newValue && typeof newValue === "object" && !Array.isArray(newValue)) {
|
|
83
86
|
options[key] = mergeOptionsRecursively(
|
|
84
87
|
options[key] || {},
|
|
85
|
-
newOptions[key]
|
|
88
|
+
newOptions[key],
|
|
89
|
+
level + 1
|
|
86
90
|
);
|
|
87
91
|
} else {
|
|
88
92
|
options[key] = newOptions[key];
|
|
@@ -102,7 +106,7 @@
|
|
|
102
106
|
);
|
|
103
107
|
globalThis._loadersgl_.version = NPM_TAG;
|
|
104
108
|
} else {
|
|
105
|
-
globalThis._loadersgl_.version = "4.1.0-alpha.
|
|
109
|
+
globalThis._loadersgl_.version = "4.1.0-alpha.5";
|
|
106
110
|
}
|
|
107
111
|
}
|
|
108
112
|
return globalThis._loadersgl_.version;
|
|
@@ -1435,7 +1439,7 @@
|
|
|
1435
1439
|
var navigator_ = globalThis.navigator || {};
|
|
1436
1440
|
|
|
1437
1441
|
// ../../node_modules/@probe.gl/log/node_modules/@probe.gl/env/dist/utils/globals.js
|
|
1438
|
-
var VERSION2 = true ? "4.1.0-alpha.
|
|
1442
|
+
var VERSION2 = true ? "4.1.0-alpha.5" : "untranspiled source";
|
|
1439
1443
|
var isBrowser4 = isBrowser3();
|
|
1440
1444
|
|
|
1441
1445
|
// ../../node_modules/@probe.gl/log/dist/utils/local-storage.js
|
|
@@ -5303,7 +5307,7 @@
|
|
|
5303
5307
|
_defineProperty(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X, WGS84_RADIUS_Y, WGS84_RADIUS_Z));
|
|
5304
5308
|
|
|
5305
5309
|
// ../images/src/lib/utils/version.ts
|
|
5306
|
-
var VERSION3 = true ? "4.1.0-alpha.
|
|
5310
|
+
var VERSION3 = true ? "4.1.0-alpha.5" : "latest";
|
|
5307
5311
|
|
|
5308
5312
|
// ../images/src/lib/category-api/image-type.ts
|
|
5309
5313
|
var parseImageNode = globalThis.loaders?.parseImageNode;
|
|
@@ -5709,7 +5713,7 @@
|
|
|
5709
5713
|
};
|
|
5710
5714
|
|
|
5711
5715
|
// ../draco/src/lib/utils/version.ts
|
|
5712
|
-
var VERSION4 = true ? "4.1.0-alpha.
|
|
5716
|
+
var VERSION4 = true ? "4.1.0-alpha.5" : "latest";
|
|
5713
5717
|
|
|
5714
5718
|
// ../draco/src/draco-loader.ts
|
|
5715
5719
|
var DracoLoader = {
|
|
@@ -6312,7 +6316,7 @@
|
|
|
6312
6316
|
}
|
|
6313
6317
|
|
|
6314
6318
|
// ../textures/src/lib/utils/version.ts
|
|
6315
|
-
var VERSION5 = true ? "4.1.0-alpha.
|
|
6319
|
+
var VERSION5 = true ? "4.1.0-alpha.5" : "latest";
|
|
6316
6320
|
|
|
6317
6321
|
// ../textures/src/lib/parsers/basis-module-loader.ts
|
|
6318
6322
|
var BASIS_EXTERNAL_LIBRARIES = {
|
|
@@ -7840,7 +7844,7 @@
|
|
|
7840
7844
|
}
|
|
7841
7845
|
|
|
7842
7846
|
// src/i3s-content-loader.ts
|
|
7843
|
-
var VERSION6 = true ? "4.1.0-alpha.
|
|
7847
|
+
var VERSION6 = true ? "4.1.0-alpha.5" : "latest";
|
|
7844
7848
|
var I3SContentLoader = {
|
|
7845
7849
|
name: "I3S Content (Indexed Scene Layers)",
|
|
7846
7850
|
id: "i3s-content",
|
package/dist/i3s-loader.js
CHANGED
|
@@ -3,7 +3,7 @@ import { I3SContentLoader } from "./i3s-content-loader.js";
|
|
|
3
3
|
import { normalizeTileData, normalizeTilesetData } from "./lib/parsers/parse-i3s.js";
|
|
4
4
|
import { COORDINATE_SYSTEM } from "./lib/parsers/constants.js";
|
|
5
5
|
import { getUrlWithoutParams } from "./lib/utils/url-utils.js";
|
|
6
|
-
const VERSION = typeof "4.1.0-alpha.
|
|
6
|
+
const VERSION = typeof "4.1.0-alpha.5" !== 'undefined' ? "4.1.0-alpha.5" : 'latest';
|
|
7
7
|
const TILESET_REGEX = /layers\/[0-9]+$/;
|
|
8
8
|
const TILE_HEADER_REGEX = /nodes\/([0-9-]+|root)$/;
|
|
9
9
|
const SLPK_HEX = '504b0304';
|
package/dist/i3s-slpk-loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataViewFile } from '@loaders.gl/loader-utils';
|
|
2
2
|
import { parseSLPKArchive } from "./lib/parsers/parse-slpk/parse-slpk.js";
|
|
3
|
-
const VERSION = typeof "4.1.0-alpha.
|
|
3
|
+
const VERSION = typeof "4.1.0-alpha.5" !== 'undefined' ? "4.1.0-alpha.5" : 'latest';
|
|
4
4
|
export const SLPKLoader = {
|
|
5
5
|
name: 'I3S SLPK (Scene Layer Package)',
|
|
6
6
|
id: 'slpk',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/i3s",
|
|
3
|
-
"version": "4.1.0-alpha.
|
|
3
|
+
"version": "4.1.0-alpha.5",
|
|
4
4
|
"description": "i3s .",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"build-worker-node": "esbuild src/workers/i3s-content-worker-node.ts --outfile=dist/i3s-content-worker-node.js --platform=node --target=node16 --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@loaders.gl/compression": "4.1.0-alpha.
|
|
45
|
-
"@loaders.gl/crypto": "4.1.0-alpha.
|
|
46
|
-
"@loaders.gl/draco": "4.1.0-alpha.
|
|
47
|
-
"@loaders.gl/images": "4.1.0-alpha.
|
|
48
|
-
"@loaders.gl/loader-utils": "4.1.0-alpha.
|
|
49
|
-
"@loaders.gl/schema": "4.1.0-alpha.
|
|
50
|
-
"@loaders.gl/textures": "4.1.0-alpha.
|
|
51
|
-
"@loaders.gl/tiles": "4.1.0-alpha.
|
|
44
|
+
"@loaders.gl/compression": "4.1.0-alpha.5",
|
|
45
|
+
"@loaders.gl/crypto": "4.1.0-alpha.5",
|
|
46
|
+
"@loaders.gl/draco": "4.1.0-alpha.5",
|
|
47
|
+
"@loaders.gl/images": "4.1.0-alpha.5",
|
|
48
|
+
"@loaders.gl/loader-utils": "4.1.0-alpha.5",
|
|
49
|
+
"@loaders.gl/schema": "4.1.0-alpha.5",
|
|
50
|
+
"@loaders.gl/textures": "4.1.0-alpha.5",
|
|
51
|
+
"@loaders.gl/tiles": "4.1.0-alpha.5",
|
|
52
52
|
"@math.gl/core": "^4.0.0",
|
|
53
53
|
"@math.gl/culling": "^4.0.0",
|
|
54
54
|
"@math.gl/geospatial": "^4.0.0"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@loaders.gl/core": "^4.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "3250842d8cc0fc8b76a575168c1fd57e5a66b6ba"
|
|
60
60
|
}
|