@loaders.gl/tile-converter 4.0.3 → 4.1.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/tile-converter",
3
- "version": "4.0.3",
3
+ "version": "4.1.0-alpha.1",
4
4
  "description": "Converter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,18 +52,18 @@
52
52
  "build-i3s-server-bundle": "esbuild src/i3s-server/bin/www.ts --outfile=dist/i3s-server/bin/i3s-server.min.cjs --platform=node --target=esnext,node14 --minify --bundle --define:__VERSION__=\\\"$npm_package_version\\\""
53
53
  },
54
54
  "dependencies": {
55
- "@loaders.gl/3d-tiles": "4.0.3",
56
- "@loaders.gl/crypto": "4.0.3",
57
- "@loaders.gl/draco": "4.0.3",
58
- "@loaders.gl/gltf": "4.0.3",
59
- "@loaders.gl/i3s": "4.0.3",
60
- "@loaders.gl/images": "4.0.3",
61
- "@loaders.gl/loader-utils": "4.0.3",
62
- "@loaders.gl/polyfills": "4.0.3",
63
- "@loaders.gl/textures": "4.0.3",
64
- "@loaders.gl/tiles": "4.0.3",
65
- "@loaders.gl/worker-utils": "4.0.3",
66
- "@loaders.gl/zip": "4.0.3",
55
+ "@loaders.gl/3d-tiles": "4.1.0-alpha.1",
56
+ "@loaders.gl/crypto": "4.1.0-alpha.1",
57
+ "@loaders.gl/draco": "4.1.0-alpha.1",
58
+ "@loaders.gl/gltf": "4.1.0-alpha.1",
59
+ "@loaders.gl/i3s": "4.1.0-alpha.1",
60
+ "@loaders.gl/images": "4.1.0-alpha.1",
61
+ "@loaders.gl/loader-utils": "4.1.0-alpha.1",
62
+ "@loaders.gl/polyfills": "4.1.0-alpha.1",
63
+ "@loaders.gl/textures": "4.1.0-alpha.1",
64
+ "@loaders.gl/tiles": "4.1.0-alpha.1",
65
+ "@loaders.gl/worker-utils": "4.1.0-alpha.1",
66
+ "@loaders.gl/zip": "4.1.0-alpha.1",
67
67
  "@math.gl/core": "^4.0.0",
68
68
  "@math.gl/culling": "^4.0.0",
69
69
  "@math.gl/geoid": "^4.0.0",
@@ -87,7 +87,7 @@
87
87
  "join-images": "^1.1.3",
88
88
  "sharp": "^0.31.3"
89
89
  },
90
- "gitHead": "03c871839b36c997249dabae1844df53a35d3760",
90
+ "gitHead": "6a4d3da93d45115ad99861474a43c3f4a0b280a7",
91
91
  "devDependencies": {
92
92
  "@types/express": "^4.17.17",
93
93
  "@types/node": "^20.4.2"
@@ -455,6 +455,7 @@ export default class I3SConverter {
455
455
  this.options.maxDepth
456
456
  );
457
457
  this.progresses[PROGRESS_PHASE1_COUNT].stopMonitoring();
458
+ console.log(`[finalizing conversion]`); // eslint-disable-line
458
459
 
459
460
  this.layers0!.attributeStorageInfo = this.attributeMetadataInfo.attributeStorageInfo;
460
461
  this.layers0!.fields = this.attributeMetadataInfo.fields;
@@ -19,7 +19,7 @@ sceneServerRouter.get('*', async function (req, res, next) {
19
19
 
20
20
  export const router = express.Router();
21
21
  router.get('*', async function (req, res, next) {
22
- const file = await getFileByUrl(req.path);
22
+ const file = await getFileByUrl(req.path.replace(/\/+$/, ''));
23
23
  if (file) {
24
24
  res.send(Buffer.from(file));
25
25
  } else {