@loaders.gl/tile-converter 4.2.0-alpha.6 → 4.2.0-beta.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.2.0-alpha.6",
3
+ "version": "4.2.0-beta.2",
4
4
  "description": "Converter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,20 +52,20 @@
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.2.0-alpha.6",
56
- "@loaders.gl/compression": "4.2.0-alpha.6",
57
- "@loaders.gl/crypto": "4.2.0-alpha.6",
58
- "@loaders.gl/draco": "4.2.0-alpha.6",
59
- "@loaders.gl/gltf": "4.2.0-alpha.6",
60
- "@loaders.gl/i3s": "4.2.0-alpha.6",
61
- "@loaders.gl/images": "4.2.0-alpha.6",
62
- "@loaders.gl/loader-utils": "4.2.0-alpha.6",
63
- "@loaders.gl/math": "4.2.0-alpha.6",
64
- "@loaders.gl/polyfills": "4.2.0-alpha.6",
65
- "@loaders.gl/textures": "4.2.0-alpha.6",
66
- "@loaders.gl/tiles": "4.2.0-alpha.6",
67
- "@loaders.gl/worker-utils": "4.2.0-alpha.6",
68
- "@loaders.gl/zip": "4.2.0-alpha.6",
55
+ "@loaders.gl/3d-tiles": "4.2.0-beta.2",
56
+ "@loaders.gl/compression": "4.2.0-beta.2",
57
+ "@loaders.gl/crypto": "4.2.0-beta.2",
58
+ "@loaders.gl/draco": "4.2.0-beta.2",
59
+ "@loaders.gl/gltf": "4.2.0-beta.2",
60
+ "@loaders.gl/i3s": "4.2.0-beta.2",
61
+ "@loaders.gl/images": "4.2.0-beta.2",
62
+ "@loaders.gl/loader-utils": "4.2.0-beta.2",
63
+ "@loaders.gl/math": "4.2.0-beta.2",
64
+ "@loaders.gl/polyfills": "4.2.0-beta.2",
65
+ "@loaders.gl/textures": "4.2.0-beta.2",
66
+ "@loaders.gl/tiles": "4.2.0-beta.2",
67
+ "@loaders.gl/worker-utils": "4.2.0-beta.2",
68
+ "@loaders.gl/zip": "4.2.0-beta.2",
69
69
  "@math.gl/core": "^4.0.0",
70
70
  "@math.gl/culling": "^4.0.0",
71
71
  "@math.gl/geoid": "^4.0.0",
@@ -93,5 +93,5 @@
93
93
  "peerDependencies": {
94
94
  "@loaders.gl/core": "^4.0.0"
95
95
  },
96
- "gitHead": "37bd8ca71763529f18727ee4bf29dd176aa914ca"
96
+ "gitHead": "13c03663fec365a4d24c06377d50035cebd7ba9f"
97
97
  }
@@ -1,3 +1,7 @@
1
+ // loaders.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // Copyright vis.gl contributors
4
+
1
5
  import {load, fetchFile} from '@loaders.gl/core';
2
6
  import {ZipLoader} from '@loaders.gl/zip';
3
7
  import {writeFile} from '../lib/utils/file-utils';
package/src/pgm-loader.ts CHANGED
@@ -16,7 +16,10 @@ export type PGMLoaderOptions = LoaderOptions & {
16
16
  /**
17
17
  * Loader for PGM - Netpbm grayscale image format
18
18
  */
19
- export const PGMLoader: LoaderWithParser<Geoid, never, PGMLoaderOptions> = {
19
+ export const PGMLoader = {
20
+ dataType: null as unknown as Geoid,
21
+ batchType: null as never,
22
+
20
23
  name: 'PGM - Netpbm grayscale image format',
21
24
  id: 'pgm',
22
25
  module: 'tile-converter',
@@ -29,4 +32,4 @@ export const PGMLoader: LoaderWithParser<Geoid, never, PGMLoaderOptions> = {
29
32
  cubic: false
30
33
  }
31
34
  }
32
- };
35
+ } as const satisfies LoaderWithParser<Geoid, never, PGMLoaderOptions>;