geotiff 3.0.4 → 3.0.5

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.
Files changed (52) hide show
  1. package/dist-browser/geotiff.js +1 -1
  2. package/dist-browser/geotiff.js.map +1 -1
  3. package/dist-module/compression/index.d.ts +3 -3
  4. package/dist-module/compression/index.d.ts.map +1 -1
  5. package/dist-module/compression/index.js +6 -6
  6. package/dist-module/geotiffimage.d.ts +28 -28
  7. package/dist-module/geotiffimage.d.ts.map +1 -1
  8. package/dist-module/geotiffimage.js +25 -23
  9. package/dist-module/geotiffimage.js.map +1 -1
  10. package/dist-module/imagefiledirectory.d.ts +3 -7
  11. package/dist-module/imagefiledirectory.d.ts.map +1 -1
  12. package/dist-module/imagefiledirectory.js +2 -4
  13. package/dist-module/imagefiledirectory.js.map +1 -1
  14. package/dist-module/resample.d.ts +18 -18
  15. package/dist-module/resample.d.ts.map +1 -1
  16. package/dist-module/resample.js +13 -13
  17. package/dist-module/rgb.d.ts +1 -1
  18. package/dist-module/rgb.d.ts.map +1 -1
  19. package/dist-module/source/blockedsource.d.ts +4 -4
  20. package/dist-module/source/blockedsource.d.ts.map +1 -1
  21. package/dist-module/source/blockedsource.js +2 -2
  22. package/dist-module/source/remote.d.ts +2 -2
  23. package/dist-module/source/remote.d.ts.map +1 -1
  24. package/dist-module/source/remote.js +2 -2
  25. package/dist-node/compression/index.d.ts +3 -3
  26. package/dist-node/compression/index.d.ts.map +1 -1
  27. package/dist-node/compression/index.js +6 -6
  28. package/dist-node/geotiffimage.d.ts +28 -28
  29. package/dist-node/geotiffimage.d.ts.map +1 -1
  30. package/dist-node/geotiffimage.js +25 -23
  31. package/dist-node/geotiffimage.js.map +1 -1
  32. package/dist-node/imagefiledirectory.d.ts +3 -7
  33. package/dist-node/imagefiledirectory.d.ts.map +1 -1
  34. package/dist-node/imagefiledirectory.js +2 -4
  35. package/dist-node/imagefiledirectory.js.map +1 -1
  36. package/dist-node/resample.d.ts +18 -18
  37. package/dist-node/resample.d.ts.map +1 -1
  38. package/dist-node/resample.js +13 -13
  39. package/dist-node/source/blockedsource.d.ts +4 -4
  40. package/dist-node/source/blockedsource.d.ts.map +1 -1
  41. package/dist-node/source/blockedsource.js +2 -2
  42. package/dist-node/source/remote.d.ts +2 -2
  43. package/dist-node/source/remote.d.ts.map +1 -1
  44. package/dist-node/source/remote.js +2 -2
  45. package/package.json +1 -1
  46. package/src/compression/index.js +6 -6
  47. package/src/geotiffimage.js +25 -23
  48. package/src/imagefiledirectory.js +2 -4
  49. package/src/resample.js +13 -13
  50. package/src/rgb.ts +1 -1
  51. package/src/source/blockedsource.js +2 -2
  52. package/src/source/remote.js +2 -2
package/src/rgb.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TypedArrayWithDimensions } from './geotiff';
1
+ import { TypedArrayWithDimensions } from './geotiff.js';
2
2
 
3
3
  export function fromWhiteIsZero(
4
4
  raster: TypedArrayWithDimensions,
@@ -74,7 +74,7 @@ export class BlockedSource extends BaseSource {
74
74
  }
75
75
 
76
76
  /**
77
- * @param {import("./basesource").Slice[]} slices
77
+ * @param {import("./basesource.js").Slice[]} slices
78
78
  * @param {AbortSignal} [signal]
79
79
  * @return {Promise<ArrayBuffer[]>}
80
80
  */
@@ -251,7 +251,7 @@ export class BlockedSource extends BaseSource {
251
251
  }
252
252
 
253
253
  /**
254
- * @param {import("./basesource").Slice[]} slices
254
+ * @param {import("./basesource.js").Slice[]} slices
255
255
  * @param {Map<number, Block>} blocks
256
256
  * @returns {ArrayBuffer[]}
257
257
  */
@@ -10,7 +10,7 @@ import { HttpClient } from './client/http.js';
10
10
 
11
11
  class RemoteSource extends BaseSource {
12
12
  /**
13
- * @param {import("../geotiff").BaseClient} client
13
+ * @param {import("../geotiff.js").BaseClient} client
14
14
  * @param {RemoteSourceOptions} options
15
15
  */
16
16
  constructor(client, { headers, maxRanges = 0, allowFullFile } = {}) {
@@ -207,7 +207,7 @@ export function makeHttpSource(url, { headers = {}, maxRanges = 0, allowFullFile
207
207
  }
208
208
 
209
209
  /**
210
- * @param {import("../geotiff").BaseClient} client
210
+ * @param {import("../geotiff.js").BaseClient} client
211
211
  * @param {RemoteSourceOptions & BlockedSourceOptions} [param1]
212
212
  * @returns {BaseSource}
213
213
  */