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

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.1.0-alpha.2",
3
+ "version": "4.1.0-alpha.3",
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.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",
55
+ "@loaders.gl/3d-tiles": "4.1.0-alpha.3",
56
+ "@loaders.gl/crypto": "4.1.0-alpha.3",
57
+ "@loaders.gl/draco": "4.1.0-alpha.3",
58
+ "@loaders.gl/gltf": "4.1.0-alpha.3",
59
+ "@loaders.gl/i3s": "4.1.0-alpha.3",
60
+ "@loaders.gl/images": "4.1.0-alpha.3",
61
+ "@loaders.gl/loader-utils": "4.1.0-alpha.3",
62
+ "@loaders.gl/polyfills": "4.1.0-alpha.3",
63
+ "@loaders.gl/textures": "4.1.0-alpha.3",
64
+ "@loaders.gl/tiles": "4.1.0-alpha.3",
65
+ "@loaders.gl/worker-utils": "4.1.0-alpha.3",
66
+ "@loaders.gl/zip": "4.1.0-alpha.3",
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": "a248382edd20e846c1ccb23c15d089fb9b368dbc",
90
+ "gitHead": "b78075a7cb8d4ecd4aac84805ce74b8ceb400cf7",
91
91
  "devDependencies": {
92
92
  "@types/express": "^4.17.17",
93
93
  "@types/node": "^20.4.2"
@@ -1,4 +1,5 @@
1
- // loaders.gl, MIT license
1
+ // loaders.gl
2
+ // SPDX-License-Identifier: MIT
2
3
  // Copyright (c) vis.gl contributors
3
4
 
4
5
  import {AttributeMetadataInfo} from './helpers/attribute-metadata-info';
@@ -1022,6 +1023,7 @@ export default class I3SConverter {
1022
1023
  const arrayToEncode = new Uint8Array(copyArrayBuffer);
1023
1024
  const ktx2TextureData = encode(
1024
1025
  {...texture.image, data: arrayToEncode},
1026
+ // @ts-expect-error - Worker encoder typing is still WIP
1025
1027
  KTX2BasisWriterWorker,
1026
1028
  {
1027
1029
  ...KTX2BasisWriterWorker.options,
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=statistic-utills.d.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"statistic-utills.d.js","names":[],"sources":["../../../src/lib/utils/statistic-utills.d.ts"],"sourcesContent":["/**\n * Do milliseconds time conversion to readable time string.\n * @param tile - 3d-tiles tile Object\n * @param coordinates - node converted coordinates\n * @returns String which characterizes conversion time period\n */\nexport function timeConverter(time: [number, number]): String;\n\n/**\n * Calculate files sizes after conversion.\n * @param params - Object with params of conversion.\n * @returns Promise with generated files size in bytes.\n */\nexport function calculateFilesSize(params: {\n slpk: boolean;\n outputPath: string;\n tilesetName: string;\n}): Number;\n\n/**\n * Reqursivelly calculate files sizes in directory.\n * @param dirPath - Directory path.\n * @returns Promise with files size in directory.\n */\nexport function getTotalFilesSize(dirPath: string): Number;\n"],"mappings":""}