@loaders.gl/tile-converter 4.0.4 → 4.1.0-alpha.2

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.4",
3
+ "version": "4.1.0-alpha.2",
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.4",
56
- "@loaders.gl/crypto": "4.0.4",
57
- "@loaders.gl/draco": "4.0.4",
58
- "@loaders.gl/gltf": "4.0.4",
59
- "@loaders.gl/i3s": "4.0.4",
60
- "@loaders.gl/images": "4.0.4",
61
- "@loaders.gl/loader-utils": "4.0.4",
62
- "@loaders.gl/polyfills": "4.0.4",
63
- "@loaders.gl/textures": "4.0.4",
64
- "@loaders.gl/tiles": "4.0.4",
65
- "@loaders.gl/worker-utils": "4.0.4",
66
- "@loaders.gl/zip": "4.0.4",
55
+ "@loaders.gl/3d-tiles": "4.1.0-alpha.2",
56
+ "@loaders.gl/crypto": "4.1.0-alpha.2",
57
+ "@loaders.gl/draco": "4.1.0-alpha.2",
58
+ "@loaders.gl/gltf": "4.1.0-alpha.2",
59
+ "@loaders.gl/i3s": "4.1.0-alpha.2",
60
+ "@loaders.gl/images": "4.1.0-alpha.2",
61
+ "@loaders.gl/loader-utils": "4.1.0-alpha.2",
62
+ "@loaders.gl/polyfills": "4.1.0-alpha.2",
63
+ "@loaders.gl/textures": "4.1.0-alpha.2",
64
+ "@loaders.gl/tiles": "4.1.0-alpha.2",
65
+ "@loaders.gl/worker-utils": "4.1.0-alpha.2",
66
+ "@loaders.gl/zip": "4.1.0-alpha.2",
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": "4dc810fa04bb400f4aedfef98a83c7ef882ed3d7",
90
+ "gitHead": "a248382edd20e846c1ccb23c15d089fb9b368dbc",
91
91
  "devDependencies": {
92
92
  "@types/express": "^4.17.17",
93
93
  "@types/node": "^20.4.2"
@@ -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 {