@loaders.gl/tile-converter 4.3.3 → 4.3.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.
@@ -1,7 +1,7 @@
1
1
  import { Geoid, parsePGM } from '@math.gl/geoid';
2
2
  // __VERSION__ is injected by babel-plugin-version-inline
3
3
  // @ts-ignore TS2304: Cannot find name '__VERSION__'.
4
- const VERSION = typeof "4.3.2" !== 'undefined' ? "4.3.2" : 'latest';
4
+ const VERSION = typeof "4.3.3" !== 'undefined' ? "4.3.3" : 'latest';
5
5
  export { Geoid };
6
6
  /**
7
7
  * Loader for PGM - Netpbm grayscale image format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/tile-converter",
3
- "version": "4.3.3",
3
+ "version": "4.3.4",
4
4
  "description": "Converter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -51,20 +51,20 @@
51
51
  "copy-certificates": "cp -R src/i3s-server/certs dist/i3s-server"
52
52
  },
53
53
  "dependencies": {
54
- "@loaders.gl/3d-tiles": "4.3.3",
55
- "@loaders.gl/compression": "4.3.3",
56
- "@loaders.gl/crypto": "4.3.3",
57
- "@loaders.gl/draco": "4.3.3",
58
- "@loaders.gl/gltf": "4.3.3",
59
- "@loaders.gl/i3s": "4.3.3",
60
- "@loaders.gl/images": "4.3.3",
61
- "@loaders.gl/loader-utils": "4.3.3",
62
- "@loaders.gl/math": "4.3.3",
63
- "@loaders.gl/polyfills": "4.3.3",
64
- "@loaders.gl/textures": "4.3.3",
65
- "@loaders.gl/tiles": "4.3.3",
66
- "@loaders.gl/worker-utils": "4.3.3",
67
- "@loaders.gl/zip": "4.3.3",
54
+ "@loaders.gl/3d-tiles": "4.3.4",
55
+ "@loaders.gl/compression": "4.3.4",
56
+ "@loaders.gl/crypto": "4.3.4",
57
+ "@loaders.gl/draco": "4.3.4",
58
+ "@loaders.gl/gltf": "4.3.4",
59
+ "@loaders.gl/i3s": "4.3.4",
60
+ "@loaders.gl/images": "4.3.4",
61
+ "@loaders.gl/loader-utils": "4.3.4",
62
+ "@loaders.gl/math": "4.3.4",
63
+ "@loaders.gl/polyfills": "4.3.4",
64
+ "@loaders.gl/textures": "4.3.4",
65
+ "@loaders.gl/tiles": "4.3.4",
66
+ "@loaders.gl/worker-utils": "4.3.4",
67
+ "@loaders.gl/zip": "4.3.4",
68
68
  "@math.gl/core": "^4.1.0",
69
69
  "@math.gl/culling": "^4.1.0",
70
70
  "@math.gl/geoid": "^4.1.0",
@@ -93,5 +93,5 @@
93
93
  "peerDependencies": {
94
94
  "@loaders.gl/core": "^4.3.0"
95
95
  },
96
- "gitHead": "65cb9a984f8aa95d11f50e92189d7fb32786dc41"
96
+ "gitHead": "d18246f4ef6382f787a6ae2e9e21d8a7f40e5917"
97
97
  }
@@ -102,9 +102,11 @@ export class DepsInstaller {
102
102
  }
103
103
 
104
104
  private async installFromNpm(module: string, name: string, extraPath: string = '') {
105
- const fileResponse = await fetchFile(
106
- `https://unpkg.com/@loaders.gl/${module}@${VERSION}/dist/${extraPath}/${name}`
107
- );
105
+ let fileUri = `https://unpkg.com/@loaders.gl/${module}@${VERSION}/dist/${extraPath}/${name}`;
106
+ if (!extraPath) {
107
+ fileUri = `https://unpkg.com/@loaders.gl/${module}@${VERSION}/dist/${name}`;
108
+ }
109
+ const fileResponse = await fetchFile(fileUri);
108
110
 
109
111
  if (fileResponse.status < 200 || fileResponse.status >= 300) {
110
112
  throw new Error(`Failed to load resource ${name}`);