geotiff 3.0.0 → 3.0.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.
Files changed (160) hide show
  1. package/dist-browser/geotiff.js +3 -2
  2. package/dist-browser/geotiff.js.map +1 -1
  3. package/dist-module/compression/basedecoder.d.ts +4 -0
  4. package/dist-module/compression/basedecoder.d.ts.map +1 -1
  5. package/dist-module/compression/basedecoder.js +6 -0
  6. package/dist-module/compression/index.d.ts +4 -4
  7. package/dist-module/compression/index.d.ts.map +1 -1
  8. package/dist-module/compression/index.js +4 -4
  9. package/dist-module/compression/jpeg.d.ts +6 -1
  10. package/dist-module/compression/jpeg.d.ts.map +1 -1
  11. package/dist-module/compression/jpeg.js +50 -5
  12. package/dist-module/compression/lzw.js +1 -1
  13. package/dist-module/compression/webimage.d.ts +1 -1
  14. package/dist-module/compression/webimage.d.ts.map +1 -1
  15. package/dist-module/compression/webimage.js +1 -1
  16. package/dist-module/dataslice.d.ts.map +1 -1
  17. package/dist-module/dataslice.js +2 -2
  18. package/dist-module/dataview64.d.ts +2 -2
  19. package/dist-module/dataview64.d.ts.map +1 -1
  20. package/dist-module/dataview64.js +4 -4
  21. package/dist-module/geotiff.d.ts +171 -45
  22. package/dist-module/geotiff.d.ts.map +1 -1
  23. package/dist-module/geotiff.js +119 -20
  24. package/dist-module/geotiffimage.d.ts +79 -112
  25. package/dist-module/geotiffimage.d.ts.map +1 -1
  26. package/dist-module/geotiffimage.js +99 -71
  27. package/dist-module/geotiffwriter.js +2 -2
  28. package/dist-module/globals.d.ts +48 -40
  29. package/dist-module/globals.d.ts.map +1 -1
  30. package/dist-module/globals.js +14 -10
  31. package/dist-module/imagefiledirectory.d.ts +2 -2
  32. package/dist-module/imagefiledirectory.d.ts.map +1 -1
  33. package/dist-module/imagefiledirectory.js +23 -12
  34. package/dist-module/logging.js +7 -7
  35. package/dist-module/pool.js +1 -1
  36. package/dist-module/predictor.js +1 -1
  37. package/dist-module/resample.d.ts +18 -18
  38. package/dist-module/resample.d.ts.map +1 -1
  39. package/dist-module/resample.js +12 -12
  40. package/dist-module/source/basesource.d.ts +7 -7
  41. package/dist-module/source/basesource.d.ts.map +1 -1
  42. package/dist-module/source/basesource.js +7 -7
  43. package/dist-module/source/blockedsource.d.ts +10 -10
  44. package/dist-module/source/blockedsource.d.ts.map +1 -1
  45. package/dist-module/source/blockedsource.js +12 -9
  46. package/dist-module/source/client/base.d.ts +8 -10
  47. package/dist-module/source/client/base.d.ts.map +1 -1
  48. package/dist-module/source/client/base.js +4 -3
  49. package/dist-module/source/client/fetch.d.ts +2 -7
  50. package/dist-module/source/client/fetch.d.ts.map +1 -1
  51. package/dist-module/source/client/fetch.js +7 -2
  52. package/dist-module/source/client/http.d.ts +4 -1
  53. package/dist-module/source/client/http.d.ts.map +1 -1
  54. package/dist-module/source/client/http.js +4 -4
  55. package/dist-module/source/client/xhr.d.ts +4 -1
  56. package/dist-module/source/client/xhr.d.ts.map +1 -1
  57. package/dist-module/source/client/xhr.js +1 -1
  58. package/dist-module/source/file.js +4 -4
  59. package/dist-module/source/filereader.js +1 -1
  60. package/dist-module/source/httputils.d.ts +14 -6
  61. package/dist-module/source/httputils.d.ts.map +1 -1
  62. package/dist-module/source/httputils.js +13 -12
  63. package/dist-module/source/remote.d.ts +31 -22
  64. package/dist-module/source/remote.d.ts.map +1 -1
  65. package/dist-module/source/remote.js +37 -13
  66. package/dist-module/utils.d.ts +7 -1
  67. package/dist-module/utils.d.ts.map +1 -1
  68. package/dist-module/utils.js +6 -0
  69. package/dist-module/worker/create.js +1 -1
  70. package/dist-node/compression/basedecoder.d.ts +4 -0
  71. package/dist-node/compression/basedecoder.d.ts.map +1 -1
  72. package/dist-node/compression/basedecoder.js +6 -0
  73. package/dist-node/compression/basedecoder.js.map +1 -1
  74. package/dist-node/compression/index.d.ts +4 -4
  75. package/dist-node/compression/index.d.ts.map +1 -1
  76. package/dist-node/compression/index.js +4 -4
  77. package/dist-node/compression/jpeg.d.ts +6 -1
  78. package/dist-node/compression/jpeg.d.ts.map +1 -1
  79. package/dist-node/compression/jpeg.js +50 -5
  80. package/dist-node/compression/jpeg.js.map +1 -1
  81. package/dist-node/compression/lzw.js +1 -1
  82. package/dist-node/compression/lzw.js.map +1 -1
  83. package/dist-node/compression/webimage.js +1 -1
  84. package/dist-node/compression/webimage.js.map +1 -1
  85. package/dist-node/dataslice.js +2 -2
  86. package/dist-node/dataslice.js.map +1 -1
  87. package/dist-node/dataview64.d.ts +2 -2
  88. package/dist-node/dataview64.d.ts.map +1 -1
  89. package/dist-node/dataview64.js +4 -4
  90. package/dist-node/dataview64.js.map +1 -1
  91. package/dist-node/geotiff.d.ts +171 -45
  92. package/dist-node/geotiff.d.ts.map +1 -1
  93. package/dist-node/geotiff.js +118 -20
  94. package/dist-node/geotiff.js.map +1 -1
  95. package/dist-node/geotiffimage.d.ts +80 -113
  96. package/dist-node/geotiffimage.d.ts.map +1 -1
  97. package/dist-node/geotiffimage.js +99 -71
  98. package/dist-node/geotiffimage.js.map +1 -1
  99. package/dist-node/geotiffwriter.js +2 -2
  100. package/dist-node/geotiffwriter.js.map +1 -1
  101. package/dist-node/globals.d.ts +48 -40
  102. package/dist-node/globals.d.ts.map +1 -1
  103. package/dist-node/globals.js +14 -10
  104. package/dist-node/globals.js.map +1 -1
  105. package/dist-node/imagefiledirectory.d.ts +2 -2
  106. package/dist-node/imagefiledirectory.d.ts.map +1 -1
  107. package/dist-node/imagefiledirectory.js +23 -12
  108. package/dist-node/imagefiledirectory.js.map +1 -1
  109. package/dist-node/logging.js +7 -7
  110. package/dist-node/logging.js.map +1 -1
  111. package/dist-node/pool.js +1 -1
  112. package/dist-node/pool.js.map +1 -1
  113. package/dist-node/predictor.js +1 -1
  114. package/dist-node/predictor.js.map +1 -1
  115. package/dist-node/resample.d.ts +18 -18
  116. package/dist-node/resample.d.ts.map +1 -1
  117. package/dist-node/resample.js +12 -12
  118. package/dist-node/source/basesource.d.ts +7 -7
  119. package/dist-node/source/basesource.d.ts.map +1 -1
  120. package/dist-node/source/basesource.js +7 -7
  121. package/dist-node/source/basesource.js.map +1 -1
  122. package/dist-node/source/blockedsource.d.ts +10 -10
  123. package/dist-node/source/blockedsource.d.ts.map +1 -1
  124. package/dist-node/source/blockedsource.js +12 -9
  125. package/dist-node/source/blockedsource.js.map +1 -1
  126. package/dist-node/source/client/base.d.ts +8 -10
  127. package/dist-node/source/client/base.d.ts.map +1 -1
  128. package/dist-node/source/client/base.js +4 -3
  129. package/dist-node/source/client/base.js.map +1 -1
  130. package/dist-node/source/client/fetch.d.ts +2 -6
  131. package/dist-node/source/client/fetch.d.ts.map +1 -1
  132. package/dist-node/source/client/fetch.js +7 -2
  133. package/dist-node/source/client/fetch.js.map +1 -1
  134. package/dist-node/source/client/http.d.ts +4 -1
  135. package/dist-node/source/client/http.d.ts.map +1 -1
  136. package/dist-node/source/client/http.js +4 -4
  137. package/dist-node/source/client/http.js.map +1 -1
  138. package/dist-node/source/client/xhr.d.ts +4 -1
  139. package/dist-node/source/client/xhr.d.ts.map +1 -1
  140. package/dist-node/source/client/xhr.js +1 -1
  141. package/dist-node/source/client/xhr.js.map +1 -1
  142. package/dist-node/source/file.js +4 -4
  143. package/dist-node/source/file.js.map +1 -1
  144. package/dist-node/source/filereader.js +1 -1
  145. package/dist-node/source/filereader.js.map +1 -1
  146. package/dist-node/source/httputils.d.ts +14 -6
  147. package/dist-node/source/httputils.d.ts.map +1 -1
  148. package/dist-node/source/httputils.js +13 -12
  149. package/dist-node/source/httputils.js.map +1 -1
  150. package/dist-node/source/remote.d.ts +31 -22
  151. package/dist-node/source/remote.d.ts.map +1 -1
  152. package/dist-node/source/remote.js +37 -13
  153. package/dist-node/source/remote.js.map +1 -1
  154. package/dist-node/utils.d.ts +7 -1
  155. package/dist-node/utils.d.ts.map +1 -1
  156. package/dist-node/utils.js +6 -0
  157. package/dist-node/utils.js.map +1 -1
  158. package/dist-node/worker/create.js +1 -1
  159. package/dist-node/worker/create.js.map +1 -1
  160. package/package.json +3 -54
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../dist-module/worker/create.js"],"names":[],"mappings":";;;;;AAEA,yBAKC;AAPD,4DAAgC;AAEhC,SAAwB,MAAM;IAC5B,MAAM,MAAM,GAAG,uo5OAAuo5O,CAAC;IACvp5O,OAAO,IAAI,oBAAM,CAAC,OAAO,MAAM,KAAK,WAAW;QAC7C,CAAC,CAAC,qCAAqC,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC1F,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC,CAAC;AACnF,CAAC"}
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../dist-module/worker/create.js"],"names":[],"mappings":";;;;;AAEA,yBAKC;AAPD,4DAAgC;AAEhC,SAAwB,MAAM;IAC5B,MAAM,MAAM,GAAG,49+OAA49+O,CAAC;IAC5++O,OAAO,IAAI,oBAAM,CAAC,OAAO,MAAM,KAAK,WAAW;QAC7C,CAAC,CAAC,qCAAqC,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC1F,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC,CAAC;AACnF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geotiff",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "GeoTIFF image decoding in JavaScript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,58 +24,7 @@
24
24
  "browser": "./dist-browser/geotiff.js"
25
25
  }
26
26
  },
27
- "typesVersions": {
28
- "*": {
29
- "globals": [
30
- "dist-module/globals.d.ts"
31
- ],
32
- "rgb": [
33
- "dist-module/rgb.d.ts"
34
- ],
35
- "BaseDecoder": [
36
- "dist-module/compression/BaseDecoder.d.ts"
37
- ],
38
- "getDecoder": [
39
- "dist-module/compression/index.d.ts"
40
- ],
41
- "addDecoder": [
42
- "dist-module/compression/index.d.ts"
43
- ],
44
- "setLogger": [
45
- "dist-module/logging.d.ts"
46
- ],
47
- "GeoTIFF": [
48
- "dist-module/geotiff.d.ts"
49
- ],
50
- "MultiGeoTIFF": [
51
- "dist-module/geotiff.d.ts"
52
- ],
53
- "fromUrl": [
54
- "dist-module/geotiff.d.ts"
55
- ],
56
- "fromArrayBuffer": [
57
- "dist-module/geotiff.d.ts"
58
- ],
59
- "fromFile": [
60
- "dist-module/geotiff.d.ts"
61
- ],
62
- "fromBlob": [
63
- "dist-module/geotiff.d.ts"
64
- ],
65
- "fromUrls": [
66
- "dist-module/geotiff.d.ts"
67
- ],
68
- "writeArrayBuffer": [
69
- "dist-module/geotiff.d.ts"
70
- ],
71
- "Pool": [
72
- "dist-module/pool.d.ts"
73
- ],
74
- "GeoTIFFImage": [
75
- "dist-module/geotiffimage.d.ts"
76
- ]
77
- }
78
- },
27
+ "types": "dist-module/geotiff.d.ts",
79
28
  "files": [
80
29
  "dist-module",
81
30
  "dist-node",
@@ -145,7 +94,7 @@
145
94
  "lint": "eslint src test .eslintrc.cjs",
146
95
  "lint:fix": "npm run lint -- --fix",
147
96
  "prepare": "npm run build",
148
- "pretest": "npm run lint",
97
+ "pretest": "npm run lint && tsc --noEmit",
149
98
  "test": "mocha --full-trace test/*.spec.js"
150
99
  },
151
100
  "author": "Fabian Schindler",