@loaders.gl/parquet 4.4.5 → 5.0.0-alpha.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 (674) hide show
  1. package/LICENSE +14 -3
  2. package/dist/bundled.d.ts +9 -0
  3. package/dist/bundled.d.ts.map +1 -0
  4. package/dist/bundled.js +10 -0
  5. package/dist/bundled.js.map +1 -0
  6. package/dist/geoparquet-loader-with-parser.d.ts +33 -0
  7. package/dist/geoparquet-loader-with-parser.d.ts.map +1 -0
  8. package/dist/geoparquet-loader-with-parser.js +52 -0
  9. package/dist/geoparquet-loader-with-parser.js.map +1 -0
  10. package/dist/geoparquet-loader.d.ts +59 -0
  11. package/dist/geoparquet-loader.d.ts.map +1 -0
  12. package/dist/geoparquet-loader.js +30 -0
  13. package/dist/geoparquet-loader.js.map +1 -0
  14. package/dist/index.cjs +25873 -4776
  15. package/dist/index.cjs.map +3 -4
  16. package/dist/index.d.ts +10 -7
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +7 -11
  19. package/dist/index.js.map +1 -1
  20. package/dist/lib/arrow/convert-columns-to-row-group.js +3 -0
  21. package/dist/lib/arrow/convert-columns-to-row-group.js.map +1 -1
  22. package/dist/lib/arrow/convert-schema-from-parquet.d.ts.map +1 -1
  23. package/dist/lib/arrow/convert-schema-from-parquet.js +86 -26
  24. package/dist/lib/arrow/convert-schema-from-parquet.js.map +1 -1
  25. package/dist/lib/arrow/convert-schema-to-parquet.d.ts.map +1 -1
  26. package/dist/lib/arrow/convert-schema-to-parquet.js +16 -7
  27. package/dist/lib/arrow/convert-schema-to-parquet.js.map +1 -1
  28. package/dist/lib/arrow/create-nested-arrow-vector.d.ts +8 -0
  29. package/dist/lib/arrow/create-nested-arrow-vector.d.ts.map +1 -0
  30. package/dist/lib/arrow/create-nested-arrow-vector.js +396 -0
  31. package/dist/lib/arrow/create-nested-arrow-vector.js.map +1 -0
  32. package/dist/lib/constants.d.ts +0 -1
  33. package/dist/lib/constants.d.ts.map +1 -1
  34. package/dist/lib/constants.js +1 -2
  35. package/dist/lib/constants.js.map +1 -1
  36. package/dist/lib/encoders/encode-arrow-to-parquet.d.ts +2 -2
  37. package/dist/lib/encoders/encode-arrow-to-parquet.d.ts.map +1 -1
  38. package/dist/lib/encoders/encode-arrow-to-parquet.js +3 -10
  39. package/dist/lib/encoders/encode-arrow-to-parquet.js.map +1 -1
  40. package/dist/lib/encoders/encode-table-to-parquet-js.d.ts +5 -0
  41. package/dist/lib/encoders/encode-table-to-parquet-js.d.ts.map +1 -0
  42. package/dist/lib/encoders/encode-table-to-parquet-js.js +199 -0
  43. package/dist/lib/encoders/encode-table-to-parquet-js.js.map +1 -0
  44. package/dist/lib/geo/geospatial-metadata.d.ts +67 -0
  45. package/dist/lib/geo/geospatial-metadata.d.ts.map +1 -0
  46. package/dist/lib/geo/geospatial-metadata.js +338 -0
  47. package/dist/lib/geo/geospatial-metadata.js.map +1 -0
  48. package/dist/lib/parquet-page-index.d.ts +62 -0
  49. package/dist/lib/parquet-page-index.d.ts.map +1 -0
  50. package/dist/lib/parquet-page-index.js +377 -0
  51. package/dist/lib/parquet-page-index.js.map +1 -0
  52. package/dist/lib/parquet-predicate.d.ts +17 -0
  53. package/dist/lib/parquet-predicate.d.ts.map +1 -0
  54. package/dist/lib/parquet-predicate.js +300 -0
  55. package/dist/lib/parquet-predicate.js.map +1 -0
  56. package/dist/lib/parquet-source-worker-client.d.ts +6 -0
  57. package/dist/lib/parquet-source-worker-client.d.ts.map +1 -0
  58. package/dist/lib/parquet-source-worker-client.js +22 -0
  59. package/dist/lib/parquet-source-worker-client.js.map +1 -0
  60. package/dist/lib/parquet-source-worker-decoder.d.ts +4 -0
  61. package/dist/lib/parquet-source-worker-decoder.d.ts.map +1 -0
  62. package/dist/lib/parquet-source-worker-decoder.js +115 -0
  63. package/dist/lib/parquet-source-worker-decoder.js.map +1 -0
  64. package/dist/lib/parquet-source-worker-file.d.ts +24 -0
  65. package/dist/lib/parquet-source-worker-file.d.ts.map +1 -0
  66. package/dist/lib/parquet-source-worker-file.js +40 -0
  67. package/dist/lib/parquet-source-worker-file.js.map +1 -0
  68. package/dist/lib/parquet-source-worker-types.d.ts +97 -0
  69. package/dist/lib/parquet-source-worker-types.d.ts.map +1 -0
  70. package/dist/lib/parquet-source-worker-types.js +5 -0
  71. package/dist/lib/parquet-source-worker-types.js.map +1 -0
  72. package/dist/lib/parquet-worker-transport.d.ts +8 -0
  73. package/dist/lib/parquet-worker-transport.d.ts.map +1 -0
  74. package/dist/lib/parquet-worker-transport.js +40 -0
  75. package/dist/lib/parquet-worker-transport.js.map +1 -0
  76. package/dist/lib/parsers/convert-parquet-tables.d.ts +16 -0
  77. package/dist/lib/parsers/convert-parquet-tables.d.ts.map +1 -0
  78. package/dist/lib/parsers/convert-parquet-tables.js +30 -0
  79. package/dist/lib/parsers/convert-parquet-tables.js.map +1 -0
  80. package/dist/lib/parsers/get-parquet-schema.d.ts.map +1 -1
  81. package/dist/lib/parsers/get-parquet-schema.js +3 -1
  82. package/dist/lib/parsers/get-parquet-schema.js.map +1 -1
  83. package/dist/lib/parsers/parse-geoparquet-to-geojson.d.ts +4 -4
  84. package/dist/lib/parsers/parse-geoparquet-to-geojson.d.ts.map +1 -1
  85. package/dist/lib/parsers/parse-geoparquet-to-geojson.js +19 -6
  86. package/dist/lib/parsers/parse-geoparquet-to-geojson.js.map +1 -1
  87. package/dist/lib/parsers/parse-parquet-tables.d.ts +37 -0
  88. package/dist/lib/parsers/parse-parquet-tables.d.ts.map +1 -0
  89. package/dist/lib/parsers/parse-parquet-tables.js +50 -0
  90. package/dist/lib/parsers/parse-parquet-tables.js.map +1 -0
  91. package/dist/lib/parsers/parse-parquet-to-arrow-js.d.ts +19 -0
  92. package/dist/lib/parsers/parse-parquet-to-arrow-js.d.ts.map +1 -0
  93. package/dist/lib/parsers/parse-parquet-to-arrow-js.js +608 -0
  94. package/dist/lib/parsers/parse-parquet-to-arrow-js.js.map +1 -0
  95. package/dist/lib/parsers/parse-parquet-to-arrow.d.ts +7 -7
  96. package/dist/lib/parsers/parse-parquet-to-arrow.d.ts.map +1 -1
  97. package/dist/lib/parsers/parse-parquet-to-arrow.js +45 -32
  98. package/dist/lib/parsers/parse-parquet-to-arrow.js.map +1 -1
  99. package/dist/lib/parsers/parse-parquet-to-columns.d.ts +3 -3
  100. package/dist/lib/parsers/parse-parquet-to-columns.d.ts.map +1 -1
  101. package/dist/lib/parsers/parse-parquet-to-columns.js +1 -4
  102. package/dist/lib/parsers/parse-parquet-to-columns.js.map +1 -1
  103. package/dist/lib/parsers/parse-parquet-to-json.d.ts +3 -3
  104. package/dist/lib/parsers/parse-parquet-to-json.d.ts.map +1 -1
  105. package/dist/lib/parsers/parse-parquet-to-json.js +77 -26
  106. package/dist/lib/parsers/parse-parquet-to-json.js.map +1 -1
  107. package/dist/lib/sources/parquet-range-file.d.ts +80 -0
  108. package/dist/lib/sources/parquet-range-file.d.ts.map +1 -0
  109. package/dist/lib/sources/parquet-range-file.js +261 -0
  110. package/dist/lib/sources/parquet-range-file.js.map +1 -0
  111. package/dist/lib/sources/single-batch-queue.d.ts +24 -0
  112. package/dist/lib/sources/single-batch-queue.d.ts.map +1 -0
  113. package/dist/lib/sources/single-batch-queue.js +91 -0
  114. package/dist/lib/sources/single-batch-queue.js.map +1 -0
  115. package/dist/lib/utils/load-wasm-node.d.ts +3 -0
  116. package/dist/lib/utils/load-wasm-node.d.ts.map +1 -0
  117. package/dist/lib/utils/load-wasm-node.js +23 -0
  118. package/dist/lib/utils/load-wasm-node.js.map +1 -0
  119. package/dist/lib/utils/load-wasm.d.ts +2 -2
  120. package/dist/lib/utils/load-wasm.d.ts.map +1 -1
  121. package/dist/lib/utils/load-wasm.js +28 -12
  122. package/dist/lib/utils/load-wasm.js.map +1 -1
  123. package/dist/lib/utils/make-stream-iterator.d.ts +2 -0
  124. package/dist/lib/utils/make-stream-iterator.d.ts.map +1 -1
  125. package/dist/lib/utils/make-stream-iterator.js +123 -14
  126. package/dist/lib/utils/make-stream-iterator.js.map +1 -1
  127. package/dist/lib/utils/normalize-parquet-options.d.ts +5 -0
  128. package/dist/lib/utils/normalize-parquet-options.d.ts.map +1 -0
  129. package/dist/lib/utils/normalize-parquet-options.js +11 -0
  130. package/dist/lib/utils/normalize-parquet-options.js.map +1 -0
  131. package/dist/parquet-dataset-source.cjs +26413 -0
  132. package/dist/parquet-dataset-source.cjs.map +6 -0
  133. package/dist/parquet-dataset-source.d.ts +54 -0
  134. package/dist/parquet-dataset-source.d.ts.map +1 -0
  135. package/dist/parquet-dataset-source.js +380 -0
  136. package/dist/parquet-dataset-source.js.map +1 -0
  137. package/dist/parquet-format.d.ts +2 -0
  138. package/dist/parquet-format.d.ts.map +1 -1
  139. package/dist/parquet-format.js +2 -0
  140. package/dist/parquet-format.js.map +1 -1
  141. package/dist/parquet-js-loader-types.d.ts +57 -0
  142. package/dist/parquet-js-loader-types.d.ts.map +1 -0
  143. package/dist/parquet-js-loader-types.js +33 -0
  144. package/dist/parquet-js-loader-types.js.map +1 -0
  145. package/dist/parquet-js-loader.d.ts +32 -0
  146. package/dist/parquet-js-loader.d.ts.map +1 -0
  147. package/dist/parquet-js-loader.js +58 -0
  148. package/dist/parquet-js-loader.js.map +1 -0
  149. package/dist/parquet-js-writer.d.ts +44 -0
  150. package/dist/parquet-js-writer.d.ts.map +1 -0
  151. package/dist/parquet-js-writer.js +28 -0
  152. package/dist/parquet-js-writer.js.map +1 -0
  153. package/dist/parquet-loader-base.d.ts +25 -0
  154. package/dist/parquet-loader-base.d.ts.map +1 -0
  155. package/dist/parquet-loader-base.js +23 -0
  156. package/dist/parquet-loader-base.js.map +1 -0
  157. package/dist/parquet-loader-options.d.ts +44 -0
  158. package/dist/parquet-loader-options.d.ts.map +1 -0
  159. package/dist/parquet-loader-options.js +10 -0
  160. package/dist/parquet-loader-options.js.map +1 -0
  161. package/dist/parquet-loader-types.d.ts +61 -0
  162. package/dist/parquet-loader-types.d.ts.map +1 -0
  163. package/dist/parquet-loader-types.js +17 -0
  164. package/dist/parquet-loader-types.js.map +1 -0
  165. package/dist/parquet-loader.d.ts +42 -0
  166. package/dist/parquet-loader.d.ts.map +1 -0
  167. package/dist/parquet-loader.js +68 -0
  168. package/dist/parquet-loader.js.map +1 -0
  169. package/dist/parquet-source-capabilities.d.ts +36 -0
  170. package/dist/parquet-source-capabilities.d.ts.map +1 -0
  171. package/dist/parquet-source-capabilities.js +22 -0
  172. package/dist/parquet-source-capabilities.js.map +1 -0
  173. package/dist/parquet-source-loader-types.d.ts +72 -0
  174. package/dist/parquet-source-loader-types.d.ts.map +1 -0
  175. package/dist/parquet-source-loader-types.js +74 -0
  176. package/dist/parquet-source-loader-types.js.map +1 -0
  177. package/dist/parquet-source-loader.cjs +25975 -0
  178. package/dist/parquet-source-loader.cjs.map +6 -0
  179. package/dist/parquet-source-loader.d.ts +120 -0
  180. package/dist/parquet-source-loader.d.ts.map +1 -0
  181. package/dist/parquet-source-loader.js +812 -0
  182. package/dist/parquet-source-loader.js.map +1 -0
  183. package/dist/parquet-source-types.d.ts +384 -0
  184. package/dist/parquet-source-types.d.ts.map +1 -0
  185. package/dist/parquet-source-types.js +5 -0
  186. package/dist/parquet-source-types.js.map +1 -0
  187. package/dist/parquet-source-worker-url.d.ts +3 -0
  188. package/dist/parquet-source-worker-url.d.ts.map +1 -0
  189. package/dist/parquet-source-worker-url.js +22 -0
  190. package/dist/parquet-source-worker-url.js.map +1 -0
  191. package/dist/parquet-source-worker.js +38491 -0
  192. package/dist/parquet-source-worker.js.map +7 -0
  193. package/dist/parquet-worker-node.cjs +54779 -0
  194. package/dist/parquet-worker-node.cjs.map +7 -0
  195. package/dist/parquet-worker-url.d.ts +3 -0
  196. package/dist/parquet-worker-url.d.ts.map +1 -0
  197. package/dist/parquet-worker-url.js +15 -0
  198. package/dist/parquet-worker-url.js.map +1 -0
  199. package/dist/parquet-worker.js +19920 -0
  200. package/dist/parquet-worker.js.map +7 -0
  201. package/dist/parquet-writer.d.ts +10 -0
  202. package/dist/parquet-writer.d.ts.map +1 -0
  203. package/dist/parquet-writer.js +27 -0
  204. package/dist/parquet-writer.js.map +1 -0
  205. package/dist/parquet_wasm_bg.wasm +0 -0
  206. package/dist/parquetjs/codecs/byte-stream-split.d.ts +9 -0
  207. package/dist/parquetjs/codecs/byte-stream-split.d.ts.map +1 -0
  208. package/dist/parquetjs/codecs/byte-stream-split.js +159 -0
  209. package/dist/parquetjs/codecs/byte-stream-split.js.map +1 -0
  210. package/dist/parquetjs/codecs/declare.d.ts +20 -3
  211. package/dist/parquetjs/codecs/declare.d.ts.map +1 -1
  212. package/dist/parquetjs/codecs/declare.js +7 -1
  213. package/dist/parquetjs/codecs/declare.js.map +1 -1
  214. package/dist/parquetjs/codecs/delta.d.ts +17 -0
  215. package/dist/parquetjs/codecs/delta.d.ts.map +1 -0
  216. package/dist/parquetjs/codecs/delta.js +439 -0
  217. package/dist/parquetjs/codecs/delta.js.map +1 -0
  218. package/dist/parquetjs/codecs/dictionary.d.ts +5 -2
  219. package/dist/parquetjs/codecs/dictionary.d.ts.map +1 -1
  220. package/dist/parquetjs/codecs/dictionary.js +16 -4
  221. package/dist/parquetjs/codecs/dictionary.js.map +1 -1
  222. package/dist/parquetjs/codecs/index.d.ts.map +1 -1
  223. package/dist/parquetjs/codecs/index.js +18 -0
  224. package/dist/parquetjs/codecs/index.js.map +1 -1
  225. package/dist/parquetjs/codecs/plain.d.ts +3 -3
  226. package/dist/parquetjs/codecs/plain.d.ts.map +1 -1
  227. package/dist/parquetjs/codecs/plain.js +88 -76
  228. package/dist/parquetjs/codecs/plain.js.map +1 -1
  229. package/dist/parquetjs/codecs/rle.d.ts +3 -3
  230. package/dist/parquetjs/codecs/rle.d.ts.map +1 -1
  231. package/dist/parquetjs/codecs/rle.js +196 -68
  232. package/dist/parquetjs/codecs/rle.js.map +1 -1
  233. package/dist/parquetjs/compression.d.ts +7 -8
  234. package/dist/parquetjs/compression.d.ts.map +1 -1
  235. package/dist/parquetjs/compression.js +95 -141
  236. package/dist/parquetjs/compression.js.map +1 -1
  237. package/dist/parquetjs/encoder/dictionary-planner.d.ts +17 -0
  238. package/dist/parquetjs/encoder/dictionary-planner.d.ts.map +1 -0
  239. package/dist/parquetjs/encoder/dictionary-planner.js +64 -0
  240. package/dist/parquetjs/encoder/dictionary-planner.js.map +1 -0
  241. package/dist/parquetjs/encoder/page-planner.d.ts +11 -0
  242. package/dist/parquetjs/encoder/page-planner.d.ts.map +1 -0
  243. package/dist/parquetjs/encoder/page-planner.js +60 -0
  244. package/dist/parquetjs/encoder/page-planner.js.map +1 -0
  245. package/dist/parquetjs/encoder/parquet-encoder.d.ts +11 -4
  246. package/dist/parquetjs/encoder/parquet-encoder.d.ts.map +1 -1
  247. package/dist/parquetjs/encoder/parquet-encoder.js +259 -52
  248. package/dist/parquetjs/encoder/parquet-encoder.js.map +1 -1
  249. package/dist/parquetjs/parquet-thrift/BsonType.d.ts +1 -1
  250. package/dist/parquetjs/parquet-thrift/BsonType.d.ts.map +1 -1
  251. package/dist/parquetjs/parquet-thrift/BsonType.js +1 -1
  252. package/dist/parquetjs/parquet-thrift/BsonType.js.map +1 -1
  253. package/dist/parquetjs/parquet-thrift/ColumnChunk.d.ts +2 -2
  254. package/dist/parquetjs/parquet-thrift/ColumnChunk.d.ts.map +1 -1
  255. package/dist/parquetjs/parquet-thrift/ColumnChunk.js +2 -2
  256. package/dist/parquetjs/parquet-thrift/ColumnChunk.js.map +1 -1
  257. package/dist/parquetjs/parquet-thrift/ColumnIndex.d.ts +6 -6
  258. package/dist/parquetjs/parquet-thrift/ColumnIndex.d.ts.map +1 -1
  259. package/dist/parquetjs/parquet-thrift/ColumnIndex.js +3 -3
  260. package/dist/parquetjs/parquet-thrift/ColumnIndex.js.map +1 -1
  261. package/dist/parquetjs/parquet-thrift/ColumnMetaData.d.ts +2 -2
  262. package/dist/parquetjs/parquet-thrift/ColumnMetaData.d.ts.map +1 -1
  263. package/dist/parquetjs/parquet-thrift/ColumnMetaData.js +2 -2
  264. package/dist/parquetjs/parquet-thrift/ColumnMetaData.js.map +1 -1
  265. package/dist/parquetjs/parquet-thrift/ColumnOrder.d.ts +1 -1
  266. package/dist/parquetjs/parquet-thrift/ColumnOrder.d.ts.map +1 -1
  267. package/dist/parquetjs/parquet-thrift/ColumnOrder.js +1 -1
  268. package/dist/parquetjs/parquet-thrift/ColumnOrder.js.map +1 -1
  269. package/dist/parquetjs/parquet-thrift/DataPageHeader.d.ts +1 -1
  270. package/dist/parquetjs/parquet-thrift/DataPageHeader.d.ts.map +1 -1
  271. package/dist/parquetjs/parquet-thrift/DataPageHeader.js +1 -1
  272. package/dist/parquetjs/parquet-thrift/DataPageHeader.js.map +1 -1
  273. package/dist/parquetjs/parquet-thrift/DataPageHeaderV2.d.ts +1 -1
  274. package/dist/parquetjs/parquet-thrift/DataPageHeaderV2.d.ts.map +1 -1
  275. package/dist/parquetjs/parquet-thrift/DataPageHeaderV2.js +1 -1
  276. package/dist/parquetjs/parquet-thrift/DataPageHeaderV2.js.map +1 -1
  277. package/dist/parquetjs/parquet-thrift/DateType.d.ts +1 -1
  278. package/dist/parquetjs/parquet-thrift/DateType.d.ts.map +1 -1
  279. package/dist/parquetjs/parquet-thrift/DateType.js +1 -1
  280. package/dist/parquetjs/parquet-thrift/DateType.js.map +1 -1
  281. package/dist/parquetjs/parquet-thrift/DecimalType.d.ts +1 -1
  282. package/dist/parquetjs/parquet-thrift/DecimalType.d.ts.map +1 -1
  283. package/dist/parquetjs/parquet-thrift/DecimalType.js +1 -1
  284. package/dist/parquetjs/parquet-thrift/DecimalType.js.map +1 -1
  285. package/dist/parquetjs/parquet-thrift/DictionaryPageHeader.d.ts +1 -1
  286. package/dist/parquetjs/parquet-thrift/DictionaryPageHeader.d.ts.map +1 -1
  287. package/dist/parquetjs/parquet-thrift/DictionaryPageHeader.js +1 -1
  288. package/dist/parquetjs/parquet-thrift/DictionaryPageHeader.js.map +1 -1
  289. package/dist/parquetjs/parquet-thrift/EdgeInterpolationAlgorithm.d.ts +8 -0
  290. package/dist/parquetjs/parquet-thrift/EdgeInterpolationAlgorithm.d.ts.map +1 -0
  291. package/dist/parquetjs/parquet-thrift/EdgeInterpolationAlgorithm.js +14 -0
  292. package/dist/parquetjs/parquet-thrift/EdgeInterpolationAlgorithm.js.map +1 -0
  293. package/dist/parquetjs/parquet-thrift/Encoding.d.ts +2 -1
  294. package/dist/parquetjs/parquet-thrift/Encoding.d.ts.map +1 -1
  295. package/dist/parquetjs/parquet-thrift/Encoding.js +1 -0
  296. package/dist/parquetjs/parquet-thrift/Encoding.js.map +1 -1
  297. package/dist/parquetjs/parquet-thrift/EnumType.d.ts +1 -1
  298. package/dist/parquetjs/parquet-thrift/EnumType.d.ts.map +1 -1
  299. package/dist/parquetjs/parquet-thrift/EnumType.js +1 -1
  300. package/dist/parquetjs/parquet-thrift/EnumType.js.map +1 -1
  301. package/dist/parquetjs/parquet-thrift/FileMetaData.d.ts +2 -2
  302. package/dist/parquetjs/parquet-thrift/FileMetaData.d.ts.map +1 -1
  303. package/dist/parquetjs/parquet-thrift/FileMetaData.js +2 -2
  304. package/dist/parquetjs/parquet-thrift/FileMetaData.js.map +1 -1
  305. package/dist/parquetjs/parquet-thrift/Float16Type.d.ts +9 -0
  306. package/dist/parquetjs/parquet-thrift/Float16Type.d.ts.map +1 -0
  307. package/dist/parquetjs/parquet-thrift/Float16Type.js +27 -0
  308. package/dist/parquetjs/parquet-thrift/Float16Type.js.map +1 -0
  309. package/dist/parquetjs/parquet-thrift/GeographyType.d.ts +14 -0
  310. package/dist/parquetjs/parquet-thrift/GeographyType.d.ts.map +1 -0
  311. package/dist/parquetjs/parquet-thrift/GeographyType.js +51 -0
  312. package/dist/parquetjs/parquet-thrift/GeographyType.js.map +1 -0
  313. package/dist/parquetjs/parquet-thrift/GeometryType.d.ts +11 -0
  314. package/dist/parquetjs/parquet-thrift/GeometryType.d.ts.map +1 -0
  315. package/dist/parquetjs/parquet-thrift/GeometryType.js +41 -0
  316. package/dist/parquetjs/parquet-thrift/GeometryType.js.map +1 -0
  317. package/dist/parquetjs/parquet-thrift/IndexPageHeader.d.ts +1 -1
  318. package/dist/parquetjs/parquet-thrift/IndexPageHeader.d.ts.map +1 -1
  319. package/dist/parquetjs/parquet-thrift/IndexPageHeader.js +1 -1
  320. package/dist/parquetjs/parquet-thrift/IndexPageHeader.js.map +1 -1
  321. package/dist/parquetjs/parquet-thrift/IntType.d.ts +1 -1
  322. package/dist/parquetjs/parquet-thrift/IntType.d.ts.map +1 -1
  323. package/dist/parquetjs/parquet-thrift/IntType.js +1 -1
  324. package/dist/parquetjs/parquet-thrift/IntType.js.map +1 -1
  325. package/dist/parquetjs/parquet-thrift/JsonType.d.ts +1 -1
  326. package/dist/parquetjs/parquet-thrift/JsonType.d.ts.map +1 -1
  327. package/dist/parquetjs/parquet-thrift/JsonType.js +1 -1
  328. package/dist/parquetjs/parquet-thrift/JsonType.js.map +1 -1
  329. package/dist/parquetjs/parquet-thrift/KeyValue.d.ts +1 -1
  330. package/dist/parquetjs/parquet-thrift/KeyValue.d.ts.map +1 -1
  331. package/dist/parquetjs/parquet-thrift/KeyValue.js +1 -1
  332. package/dist/parquetjs/parquet-thrift/KeyValue.js.map +1 -1
  333. package/dist/parquetjs/parquet-thrift/ListType.d.ts +1 -1
  334. package/dist/parquetjs/parquet-thrift/ListType.d.ts.map +1 -1
  335. package/dist/parquetjs/parquet-thrift/ListType.js +1 -1
  336. package/dist/parquetjs/parquet-thrift/ListType.js.map +1 -1
  337. package/dist/parquetjs/parquet-thrift/LogicalType.d.ts +17 -1
  338. package/dist/parquetjs/parquet-thrift/LogicalType.d.ts.map +1 -1
  339. package/dist/parquetjs/parquet-thrift/LogicalType.js +97 -1
  340. package/dist/parquetjs/parquet-thrift/LogicalType.js.map +1 -1
  341. package/dist/parquetjs/parquet-thrift/MapType.d.ts +1 -1
  342. package/dist/parquetjs/parquet-thrift/MapType.d.ts.map +1 -1
  343. package/dist/parquetjs/parquet-thrift/MapType.js +1 -1
  344. package/dist/parquetjs/parquet-thrift/MapType.js.map +1 -1
  345. package/dist/parquetjs/parquet-thrift/MicroSeconds.d.ts +1 -1
  346. package/dist/parquetjs/parquet-thrift/MicroSeconds.d.ts.map +1 -1
  347. package/dist/parquetjs/parquet-thrift/MicroSeconds.js +1 -1
  348. package/dist/parquetjs/parquet-thrift/MicroSeconds.js.map +1 -1
  349. package/dist/parquetjs/parquet-thrift/MilliSeconds.d.ts +1 -1
  350. package/dist/parquetjs/parquet-thrift/MilliSeconds.d.ts.map +1 -1
  351. package/dist/parquetjs/parquet-thrift/MilliSeconds.js +1 -1
  352. package/dist/parquetjs/parquet-thrift/MilliSeconds.js.map +1 -1
  353. package/dist/parquetjs/parquet-thrift/NanoSeconds.d.ts +9 -0
  354. package/dist/parquetjs/parquet-thrift/NanoSeconds.d.ts.map +1 -0
  355. package/dist/parquetjs/parquet-thrift/NanoSeconds.js +27 -0
  356. package/dist/parquetjs/parquet-thrift/NanoSeconds.js.map +1 -0
  357. package/dist/parquetjs/parquet-thrift/NullType.d.ts +1 -1
  358. package/dist/parquetjs/parquet-thrift/NullType.d.ts.map +1 -1
  359. package/dist/parquetjs/parquet-thrift/NullType.js +1 -1
  360. package/dist/parquetjs/parquet-thrift/NullType.js.map +1 -1
  361. package/dist/parquetjs/parquet-thrift/OffsetIndex.d.ts +1 -1
  362. package/dist/parquetjs/parquet-thrift/OffsetIndex.d.ts.map +1 -1
  363. package/dist/parquetjs/parquet-thrift/OffsetIndex.js +1 -1
  364. package/dist/parquetjs/parquet-thrift/OffsetIndex.js.map +1 -1
  365. package/dist/parquetjs/parquet-thrift/PageEncodingStats.d.ts +1 -1
  366. package/dist/parquetjs/parquet-thrift/PageEncodingStats.d.ts.map +1 -1
  367. package/dist/parquetjs/parquet-thrift/PageEncodingStats.js +1 -1
  368. package/dist/parquetjs/parquet-thrift/PageEncodingStats.js.map +1 -1
  369. package/dist/parquetjs/parquet-thrift/PageHeader.d.ts +1 -1
  370. package/dist/parquetjs/parquet-thrift/PageHeader.d.ts.map +1 -1
  371. package/dist/parquetjs/parquet-thrift/PageHeader.js +1 -1
  372. package/dist/parquetjs/parquet-thrift/PageHeader.js.map +1 -1
  373. package/dist/parquetjs/parquet-thrift/PageLocation.d.ts +2 -2
  374. package/dist/parquetjs/parquet-thrift/PageLocation.d.ts.map +1 -1
  375. package/dist/parquetjs/parquet-thrift/PageLocation.js +2 -2
  376. package/dist/parquetjs/parquet-thrift/PageLocation.js.map +1 -1
  377. package/dist/parquetjs/parquet-thrift/RowGroup.d.ts +2 -2
  378. package/dist/parquetjs/parquet-thrift/RowGroup.d.ts.map +1 -1
  379. package/dist/parquetjs/parquet-thrift/RowGroup.js +2 -2
  380. package/dist/parquetjs/parquet-thrift/RowGroup.js.map +1 -1
  381. package/dist/parquetjs/parquet-thrift/SchemaElement.d.ts +1 -1
  382. package/dist/parquetjs/parquet-thrift/SchemaElement.d.ts.map +1 -1
  383. package/dist/parquetjs/parquet-thrift/SchemaElement.js +1 -1
  384. package/dist/parquetjs/parquet-thrift/SchemaElement.js.map +1 -1
  385. package/dist/parquetjs/parquet-thrift/SortingColumn.d.ts +1 -1
  386. package/dist/parquetjs/parquet-thrift/SortingColumn.d.ts.map +1 -1
  387. package/dist/parquetjs/parquet-thrift/SortingColumn.js +1 -1
  388. package/dist/parquetjs/parquet-thrift/SortingColumn.js.map +1 -1
  389. package/dist/parquetjs/parquet-thrift/Statistics.d.ts +14 -10
  390. package/dist/parquetjs/parquet-thrift/Statistics.d.ts.map +1 -1
  391. package/dist/parquetjs/parquet-thrift/Statistics.js +38 -2
  392. package/dist/parquetjs/parquet-thrift/Statistics.js.map +1 -1
  393. package/dist/parquetjs/parquet-thrift/StringType.d.ts +1 -1
  394. package/dist/parquetjs/parquet-thrift/StringType.d.ts.map +1 -1
  395. package/dist/parquetjs/parquet-thrift/StringType.js +1 -1
  396. package/dist/parquetjs/parquet-thrift/StringType.js.map +1 -1
  397. package/dist/parquetjs/parquet-thrift/TimeType.d.ts +1 -1
  398. package/dist/parquetjs/parquet-thrift/TimeType.d.ts.map +1 -1
  399. package/dist/parquetjs/parquet-thrift/TimeType.js +1 -1
  400. package/dist/parquetjs/parquet-thrift/TimeType.js.map +1 -1
  401. package/dist/parquetjs/parquet-thrift/TimeUnit.d.ts +5 -1
  402. package/dist/parquetjs/parquet-thrift/TimeUnit.d.ts.map +1 -1
  403. package/dist/parquetjs/parquet-thrift/TimeUnit.js +25 -1
  404. package/dist/parquetjs/parquet-thrift/TimeUnit.js.map +1 -1
  405. package/dist/parquetjs/parquet-thrift/TimestampType.d.ts +1 -1
  406. package/dist/parquetjs/parquet-thrift/TimestampType.d.ts.map +1 -1
  407. package/dist/parquetjs/parquet-thrift/TimestampType.js +1 -1
  408. package/dist/parquetjs/parquet-thrift/TimestampType.js.map +1 -1
  409. package/dist/parquetjs/parquet-thrift/TypeDefinedOrder.d.ts +1 -1
  410. package/dist/parquetjs/parquet-thrift/TypeDefinedOrder.d.ts.map +1 -1
  411. package/dist/parquetjs/parquet-thrift/TypeDefinedOrder.js +1 -1
  412. package/dist/parquetjs/parquet-thrift/TypeDefinedOrder.js.map +1 -1
  413. package/dist/parquetjs/parquet-thrift/UUIDType.d.ts +1 -1
  414. package/dist/parquetjs/parquet-thrift/UUIDType.d.ts.map +1 -1
  415. package/dist/parquetjs/parquet-thrift/UUIDType.js +1 -1
  416. package/dist/parquetjs/parquet-thrift/UUIDType.js.map +1 -1
  417. package/dist/parquetjs/parquet-thrift/VariantType.d.ts +11 -0
  418. package/dist/parquetjs/parquet-thrift/VariantType.d.ts.map +1 -0
  419. package/dist/parquetjs/parquet-thrift/VariantType.js +41 -0
  420. package/dist/parquetjs/parquet-thrift/VariantType.js.map +1 -0
  421. package/dist/parquetjs/parquet-thrift/index.d.ts +6 -2
  422. package/dist/parquetjs/parquet-thrift/index.d.ts.map +1 -1
  423. package/dist/parquetjs/parquet-thrift/index.js +6 -2
  424. package/dist/parquetjs/parquet-thrift/index.js.map +1 -1
  425. package/dist/parquetjs/parser/decoders.d.ts +14 -3
  426. package/dist/parquetjs/parser/decoders.d.ts.map +1 -1
  427. package/dist/parquetjs/parser/decoders.js +381 -117
  428. package/dist/parquetjs/parser/decoders.js.map +1 -1
  429. package/dist/parquetjs/parser/parquet-reader.d.ts +35 -10
  430. package/dist/parquetjs/parser/parquet-reader.d.ts.map +1 -1
  431. package/dist/parquetjs/parser/parquet-reader.js +179 -59
  432. package/dist/parquetjs/parser/parquet-reader.js.map +1 -1
  433. package/dist/parquetjs/schema/declare.d.ts +62 -8
  434. package/dist/parquetjs/schema/declare.d.ts.map +1 -1
  435. package/dist/parquetjs/schema/declare.js.map +1 -1
  436. package/dist/parquetjs/schema/schema.d.ts +3 -0
  437. package/dist/parquetjs/schema/schema.d.ts.map +1 -1
  438. package/dist/parquetjs/schema/schema.js +21 -3
  439. package/dist/parquetjs/schema/schema.js.map +1 -1
  440. package/dist/parquetjs/schema/shred.d.ts +2 -0
  441. package/dist/parquetjs/schema/shred.d.ts.map +1 -1
  442. package/dist/parquetjs/schema/shred.js +71 -23
  443. package/dist/parquetjs/schema/shred.js.map +1 -1
  444. package/dist/parquetjs/schema/types.d.ts.map +1 -1
  445. package/dist/parquetjs/schema/types.js +272 -51
  446. package/dist/parquetjs/schema/types.js.map +1 -1
  447. package/dist/parquetjs/utils/binary-utils.d.ts +41 -0
  448. package/dist/parquetjs/utils/binary-utils.d.ts.map +1 -0
  449. package/dist/parquetjs/utils/binary-utils.js +106 -0
  450. package/dist/parquetjs/utils/binary-utils.js.map +1 -0
  451. package/dist/parquetjs/utils/file-utils.d.ts +1 -1
  452. package/dist/parquetjs/utils/file-utils.d.ts.map +1 -1
  453. package/dist/parquetjs/utils/file-utils.js +3 -3
  454. package/dist/parquetjs/utils/file-utils.js.map +1 -1
  455. package/dist/parquetjs/utils/read-utils.d.ts +14 -6
  456. package/dist/parquetjs/utils/read-utils.d.ts.map +1 -1
  457. package/dist/parquetjs/utils/read-utils.js +46 -39
  458. package/dist/parquetjs/utils/read-utils.js.map +1 -1
  459. package/dist/parquetjs/utils/thrift-runtime.d.ts +106 -0
  460. package/dist/parquetjs/utils/thrift-runtime.d.ts.map +1 -0
  461. package/dist/parquetjs/utils/thrift-runtime.js +50 -0
  462. package/dist/parquetjs/utils/thrift-runtime.js.map +1 -0
  463. package/dist/parquetjs/utils/uint8-array-compact-protocol-writer.d.ts +78 -0
  464. package/dist/parquetjs/utils/uint8-array-compact-protocol-writer.d.ts.map +1 -0
  465. package/dist/parquetjs/utils/uint8-array-compact-protocol-writer.js +213 -0
  466. package/dist/parquetjs/utils/uint8-array-compact-protocol-writer.js.map +1 -0
  467. package/dist/parquetjs/utils/uint8-array-compact-protocol.d.ts +80 -0
  468. package/dist/parquetjs/utils/uint8-array-compact-protocol.d.ts.map +1 -0
  469. package/dist/parquetjs/utils/uint8-array-compact-protocol.js +276 -0
  470. package/dist/parquetjs/utils/uint8-array-compact-protocol.js.map +1 -0
  471. package/dist/parquetjs/utils/uint8-array-transport.d.ts +25 -0
  472. package/dist/parquetjs/utils/uint8-array-transport.d.ts.map +1 -0
  473. package/dist/parquetjs/utils/uint8-array-transport.js +62 -0
  474. package/dist/parquetjs/utils/uint8-array-transport.js.map +1 -0
  475. package/dist/polyfills/process.d.ts +12 -0
  476. package/dist/polyfills/process.d.ts.map +1 -0
  477. package/dist/polyfills/process.js +17 -0
  478. package/dist/polyfills/process.js.map +1 -0
  479. package/dist/unbundled.d.ts +9 -0
  480. package/dist/unbundled.d.ts.map +1 -0
  481. package/dist/unbundled.js +10 -0
  482. package/dist/unbundled.js.map +1 -0
  483. package/dist/wasm.d.ts +3 -0
  484. package/dist/wasm.d.ts.map +1 -0
  485. package/dist/wasm.js +6 -0
  486. package/dist/wasm.js.map +1 -0
  487. package/dist/workers/parquet-source-worker.d.ts +2 -0
  488. package/dist/workers/parquet-source-worker.d.ts.map +1 -0
  489. package/dist/workers/parquet-source-worker.js +17 -0
  490. package/dist/workers/parquet-source-worker.js.map +1 -0
  491. package/dist/workers/parquet-worker-node.d.ts +2 -0
  492. package/dist/workers/parquet-worker-node.d.ts.map +1 -0
  493. package/dist/workers/parquet-worker-node.js +5 -0
  494. package/dist/workers/parquet-worker-node.js.map +1 -0
  495. package/dist/workers/parquet-worker.d.ts +2 -0
  496. package/dist/workers/parquet-worker.d.ts.map +1 -0
  497. package/dist/workers/parquet-worker.js +27 -0
  498. package/dist/workers/parquet-worker.js.map +1 -0
  499. package/package.json +63 -33
  500. package/src/bundled.ts +33 -0
  501. package/src/geoparquet-loader-with-parser.ts +95 -0
  502. package/src/geoparquet-loader.ts +54 -0
  503. package/src/index.ts +49 -23
  504. package/src/lib/arrow/convert-columns-to-row-group.ts +3 -0
  505. package/src/lib/arrow/convert-schema-from-parquet.ts +97 -30
  506. package/src/lib/arrow/convert-schema-to-parquet.ts +16 -7
  507. package/src/lib/arrow/create-nested-arrow-vector.ts +589 -0
  508. package/src/lib/constants.ts +0 -2
  509. package/src/lib/encoders/encode-arrow-to-parquet.ts +10 -16
  510. package/src/lib/encoders/encode-table-to-parquet-js.ts +261 -0
  511. package/src/lib/geo/geospatial-metadata.ts +457 -0
  512. package/src/lib/parquet-page-index.ts +581 -0
  513. package/src/lib/parquet-predicate.ts +374 -0
  514. package/src/lib/parquet-source-worker-client.ts +39 -0
  515. package/src/lib/parquet-source-worker-decoder.ts +156 -0
  516. package/src/lib/parquet-source-worker-file.ts +56 -0
  517. package/src/lib/parquet-source-worker-types.ts +107 -0
  518. package/src/lib/parquet-worker-transport.ts +57 -0
  519. package/src/lib/parsers/convert-parquet-tables.ts +39 -0
  520. package/src/lib/parsers/get-parquet-schema.ts +3 -1
  521. package/src/lib/parsers/parse-geoparquet-to-geojson.ts +27 -14
  522. package/src/lib/parsers/parse-parquet-tables.ts +82 -0
  523. package/src/lib/parsers/parse-parquet-to-arrow-js.ts +829 -0
  524. package/src/lib/parsers/parse-parquet-to-arrow.ts +63 -36
  525. package/src/lib/parsers/parse-parquet-to-columns.ts +6 -7
  526. package/src/lib/parsers/parse-parquet-to-json.ts +101 -33
  527. package/src/lib/sources/parquet-range-file.ts +359 -0
  528. package/src/lib/sources/single-batch-queue.ts +95 -0
  529. package/src/lib/utils/load-wasm-node.ts +25 -0
  530. package/src/lib/utils/load-wasm.ts +36 -13
  531. package/src/lib/utils/make-stream-iterator.ts +126 -14
  532. package/src/lib/utils/normalize-parquet-options.ts +14 -0
  533. package/src/parquet-dataset-source.ts +488 -0
  534. package/src/parquet-format.ts +2 -0
  535. package/src/parquet-js-loader-types.ts +52 -0
  536. package/src/parquet-js-loader.ts +83 -0
  537. package/src/parquet-js-writer.ts +68 -0
  538. package/src/parquet-loader-base.ts +34 -0
  539. package/src/parquet-loader-options.ts +51 -0
  540. package/src/parquet-loader-types.ts +35 -0
  541. package/src/parquet-loader.ts +115 -0
  542. package/src/parquet-source-capabilities.ts +56 -0
  543. package/src/parquet-source-loader-types.ts +87 -0
  544. package/src/parquet-source-loader.ts +1265 -0
  545. package/src/parquet-source-types.ts +458 -0
  546. package/src/parquet-source-worker-url.ts +23 -0
  547. package/src/parquet-worker-url.ts +18 -0
  548. package/src/parquet-writer.ts +42 -0
  549. package/src/parquetjs/LICENSE +23 -1
  550. package/src/parquetjs/codecs/byte-stream-split.ts +221 -0
  551. package/src/parquetjs/codecs/declare.ts +35 -3
  552. package/src/parquetjs/codecs/delta.ts +587 -0
  553. package/src/parquetjs/codecs/dictionary.ts +22 -4
  554. package/src/parquetjs/codecs/index.ts +18 -0
  555. package/src/parquetjs/codecs/plain.ts +149 -87
  556. package/src/parquetjs/codecs/rle.ts +268 -82
  557. package/src/parquetjs/compression.ts +110 -155
  558. package/src/parquetjs/encoder/dictionary-planner.ts +99 -0
  559. package/src/parquetjs/encoder/page-planner.ts +83 -0
  560. package/src/parquetjs/encoder/parquet-encoder.ts +378 -77
  561. package/src/parquetjs/parquet-thrift/BsonType.ts +1 -1
  562. package/src/parquetjs/parquet-thrift/ColumnChunk.ts +2 -2
  563. package/src/parquetjs/parquet-thrift/ColumnIndex.ts +13 -13
  564. package/src/parquetjs/parquet-thrift/ColumnMetaData.ts +2 -2
  565. package/src/parquetjs/parquet-thrift/ColumnOrder.ts +1 -1
  566. package/src/parquetjs/parquet-thrift/DataPageHeader.ts +1 -1
  567. package/src/parquetjs/parquet-thrift/DataPageHeaderV2.ts +1 -1
  568. package/src/parquetjs/parquet-thrift/DateType.ts +1 -1
  569. package/src/parquetjs/parquet-thrift/DecimalType.ts +1 -1
  570. package/src/parquetjs/parquet-thrift/DictionaryPageHeader.ts +1 -1
  571. package/src/parquetjs/parquet-thrift/EdgeInterpolationAlgorithm.ts +13 -0
  572. package/src/parquetjs/parquet-thrift/Encoding.ts +2 -1
  573. package/src/parquetjs/parquet-thrift/EnumType.ts +1 -1
  574. package/src/parquetjs/parquet-thrift/FileMetaData.ts +2 -2
  575. package/src/parquetjs/parquet-thrift/Float16Type.ts +28 -0
  576. package/src/parquetjs/parquet-thrift/GeographyType.ts +54 -0
  577. package/src/parquetjs/parquet-thrift/GeometryType.ts +43 -0
  578. package/src/parquetjs/parquet-thrift/IndexPageHeader.ts +1 -1
  579. package/src/parquetjs/parquet-thrift/IntType.ts +1 -1
  580. package/src/parquetjs/parquet-thrift/JsonType.ts +1 -1
  581. package/src/parquetjs/parquet-thrift/KeyValue.ts +1 -1
  582. package/src/parquetjs/parquet-thrift/ListType.ts +1 -1
  583. package/src/parquetjs/parquet-thrift/LogicalType.ts +97 -1
  584. package/src/parquetjs/parquet-thrift/MapType.ts +1 -1
  585. package/src/parquetjs/parquet-thrift/MicroSeconds.ts +1 -1
  586. package/src/parquetjs/parquet-thrift/MilliSeconds.ts +1 -1
  587. package/src/parquetjs/parquet-thrift/NanoSeconds.ts +28 -0
  588. package/src/parquetjs/parquet-thrift/NullType.ts +1 -1
  589. package/src/parquetjs/parquet-thrift/OffsetIndex.ts +1 -1
  590. package/src/parquetjs/parquet-thrift/PageEncodingStats.ts +1 -1
  591. package/src/parquetjs/parquet-thrift/PageHeader.ts +1 -1
  592. package/src/parquetjs/parquet-thrift/PageLocation.ts +2 -2
  593. package/src/parquetjs/parquet-thrift/RowGroup.ts +2 -2
  594. package/src/parquetjs/parquet-thrift/SchemaElement.ts +1 -1
  595. package/src/parquetjs/parquet-thrift/SortingColumn.ts +1 -1
  596. package/src/parquetjs/parquet-thrift/Statistics.ts +50 -14
  597. package/src/parquetjs/parquet-thrift/StringType.ts +1 -1
  598. package/src/parquetjs/parquet-thrift/TimeType.ts +1 -1
  599. package/src/parquetjs/parquet-thrift/TimeUnit.ts +25 -1
  600. package/src/parquetjs/parquet-thrift/TimestampType.ts +1 -1
  601. package/src/parquetjs/parquet-thrift/TypeDefinedOrder.ts +1 -1
  602. package/src/parquetjs/parquet-thrift/UUIDType.ts +1 -1
  603. package/src/parquetjs/parquet-thrift/VariantType.ts +43 -0
  604. package/src/parquetjs/parquet-thrift/index.ts +6 -4
  605. package/src/parquetjs/parser/decoders.ts +487 -133
  606. package/src/parquetjs/parser/parquet-reader.ts +297 -71
  607. package/src/parquetjs/schema/declare.ts +99 -7
  608. package/src/parquetjs/schema/schema.ts +23 -3
  609. package/src/parquetjs/schema/shred.ts +112 -35
  610. package/src/parquetjs/schema/types.ts +294 -61
  611. package/src/parquetjs/utils/binary-utils.ts +132 -0
  612. package/src/parquetjs/utils/file-utils.ts +4 -4
  613. package/src/parquetjs/utils/read-utils.ts +56 -55
  614. package/src/parquetjs/utils/thrift-runtime.ts +109 -0
  615. package/src/parquetjs/utils/uint8-array-compact-protocol-writer.ts +254 -0
  616. package/src/parquetjs/utils/uint8-array-compact-protocol.ts +322 -0
  617. package/src/parquetjs/utils/uint8-array-transport.ts +79 -0
  618. package/src/polyfills/process.ts +17 -0
  619. package/src/unbundled.ts +33 -0
  620. package/src/wasm.ts +6 -0
  621. package/src/workers/parquet-source-worker.ts +21 -0
  622. package/src/workers/parquet-worker-node.ts +5 -0
  623. package/src/workers/parquet-worker.ts +31 -0
  624. package/dist/parquet-arrow-loader.d.ts +0 -43
  625. package/dist/parquet-arrow-loader.d.ts.map +0 -1
  626. package/dist/parquet-arrow-loader.js +0 -49
  627. package/dist/parquet-arrow-loader.js.map +0 -1
  628. package/dist/parquet-arrow-writer.d.ts +0 -9
  629. package/dist/parquet-arrow-writer.d.ts.map +0 -1
  630. package/dist/parquet-arrow-writer.js +0 -23
  631. package/dist/parquet-arrow-writer.js.map +0 -1
  632. package/dist/parquet-json-loader.d.ts +0 -148
  633. package/dist/parquet-json-loader.d.ts.map +0 -1
  634. package/dist/parquet-json-loader.js +0 -106
  635. package/dist/parquet-json-loader.js.map +0 -1
  636. package/dist/parquet-json-writer.d.ts +0 -19
  637. package/dist/parquet-json-writer.d.ts.map +0 -1
  638. package/dist/parquet-json-writer.js +0 -20
  639. package/dist/parquet-json-writer.js.map +0 -1
  640. package/dist/polyfills/buffer/buffer-polyfill.browser.d.ts +0 -3
  641. package/dist/polyfills/buffer/buffer-polyfill.browser.d.ts.map +0 -1
  642. package/dist/polyfills/buffer/buffer-polyfill.browser.js +0 -12
  643. package/dist/polyfills/buffer/buffer-polyfill.browser.js.map +0 -1
  644. package/dist/polyfills/buffer/buffer-polyfill.node.d.ts +0 -3
  645. package/dist/polyfills/buffer/buffer-polyfill.node.d.ts.map +0 -1
  646. package/dist/polyfills/buffer/buffer-polyfill.node.js +0 -17
  647. package/dist/polyfills/buffer/buffer-polyfill.node.js.map +0 -1
  648. package/dist/polyfills/buffer/buffer.d.ts +0 -222
  649. package/dist/polyfills/buffer/buffer.d.ts.map +0 -1
  650. package/dist/polyfills/buffer/buffer.js +0 -1868
  651. package/dist/polyfills/buffer/buffer.js.map +0 -1
  652. package/dist/polyfills/buffer/index.d.ts +0 -4
  653. package/dist/polyfills/buffer/index.d.ts.map +0 -1
  654. package/dist/polyfills/buffer/index.js +0 -9
  655. package/dist/polyfills/buffer/index.js.map +0 -1
  656. package/dist/polyfills/buffer/install-buffer-polyfill.d.ts +0 -2
  657. package/dist/polyfills/buffer/install-buffer-polyfill.d.ts.map +0 -1
  658. package/dist/polyfills/buffer/install-buffer-polyfill.js +0 -10
  659. package/dist/polyfills/buffer/install-buffer-polyfill.js.map +0 -1
  660. package/dist/workers/parquet-json-worker.d.ts +0 -2
  661. package/dist/workers/parquet-json-worker.d.ts.map +0 -1
  662. package/dist/workers/parquet-json-worker.js +0 -7
  663. package/dist/workers/parquet-json-worker.js.map +0 -1
  664. package/src/parquet-arrow-loader.ts +0 -74
  665. package/src/parquet-arrow-writer.ts +0 -33
  666. package/src/parquet-json-loader.ts +0 -160
  667. package/src/parquet-json-writer.ts +0 -27
  668. package/src/parquetjs/modules.d.ts +0 -25
  669. package/src/polyfills/buffer/buffer-polyfill.browser.ts +0 -14
  670. package/src/polyfills/buffer/buffer-polyfill.node.ts +0 -19
  671. package/src/polyfills/buffer/buffer.ts +0 -2205
  672. package/src/polyfills/buffer/index.ts +0 -11
  673. package/src/polyfills/buffer/install-buffer-polyfill.ts +0 -12
  674. package/src/workers/parquet-json-worker.ts +0 -8
@@ -1,148 +0,0 @@
1
- import type { LoaderOptions } from '@loaders.gl/loader-utils';
2
- import type { ObjectRowTable, ObjectRowTableBatch, GeoJSONTable, GeoJSONTableBatch } from '@loaders.gl/schema';
3
- import { parseParquetFile, parseParquetFileInBatches } from "./lib/parsers/parse-parquet-to-json.js";
4
- import { parseGeoParquetFile, parseGeoParquetFileInBatches } from "./lib/parsers/parse-geoparquet-to-geojson.js";
5
- import { Buffer } from "./polyfills/buffer/install-buffer-polyfill.js";
6
- export { Buffer };
7
- /** Options for the parquet loader */
8
- export type ParquetJSONLoaderOptions = LoaderOptions & {
9
- /** Options for the parquet loader */
10
- parquet?: {
11
- /** Restrict which columns that are parsed from the table. Can save significant memory. */
12
- columnList?: string[] | string[][];
13
- /** If true, binary values are not converted to strings */
14
- preserveBinary?: boolean;
15
- /** @deprecated not used? Set to true to indicate that this is a geoparquet file. */
16
- geoparquet?: boolean;
17
- /** @deprecated URL to override loaders.gl/core parser system */
18
- url?: string;
19
- };
20
- };
21
- /**
22
- * ParquetJS table loader
23
- */
24
- export declare const ParquetJSONWorkerLoader: {
25
- readonly dataType: ObjectRowTable;
26
- readonly batchType: ObjectRowTableBatch;
27
- readonly id: "parquet";
28
- readonly module: "parquet";
29
- readonly version: any;
30
- readonly worker: false;
31
- readonly options: {
32
- readonly parquet: {
33
- readonly columnList: [];
34
- readonly geoparquet: true;
35
- readonly url: undefined;
36
- readonly preserveBinary: false;
37
- };
38
- };
39
- readonly name: "Apache Parquet";
40
- readonly category: "table";
41
- readonly extensions: ["parquet"];
42
- readonly mimeTypes: ["application/octet-stream"];
43
- readonly binary: true;
44
- readonly tests: ["PAR1", "PARE"];
45
- };
46
- /** ParquetJS table loader */
47
- export declare const ParquetJSONLoader: {
48
- readonly dataType: ObjectRowTable;
49
- readonly batchType: ObjectRowTableBatch;
50
- readonly parse: (arrayBuffer: ArrayBuffer, options?: ParquetJSONLoaderOptions) => Promise<ObjectRowTable>;
51
- readonly parseFile: typeof parseParquetFile;
52
- readonly parseFileInBatches: typeof parseParquetFileInBatches;
53
- readonly id: "parquet";
54
- readonly module: "parquet";
55
- readonly version: any;
56
- readonly worker: false;
57
- readonly options: {
58
- readonly parquet: {
59
- readonly columnList: [];
60
- readonly geoparquet: true;
61
- readonly url: undefined;
62
- readonly preserveBinary: false;
63
- };
64
- };
65
- readonly name: "Apache Parquet";
66
- readonly category: "table";
67
- readonly extensions: ["parquet"];
68
- readonly mimeTypes: ["application/octet-stream"];
69
- readonly binary: true;
70
- readonly tests: ["PAR1", "PARE"];
71
- };
72
- export declare const GeoParquetWorkerLoader: {
73
- readonly dataType: GeoJSONTable;
74
- readonly batchType: GeoJSONTableBatch;
75
- readonly id: "parquet";
76
- readonly module: "parquet";
77
- readonly version: any;
78
- readonly worker: true;
79
- readonly options: {
80
- readonly parquet: {
81
- readonly columnList: [];
82
- readonly geoparquet: true;
83
- readonly url: undefined;
84
- readonly preserveBinary: false;
85
- };
86
- };
87
- readonly name: "Apache Parquet";
88
- readonly category: "table";
89
- readonly extensions: ["parquet"];
90
- readonly mimeTypes: ["application/octet-stream"];
91
- readonly binary: true;
92
- readonly tests: ["PAR1", "PARE"];
93
- };
94
- /** ParquetJS table loader */
95
- export declare const GeoParquetLoader: {
96
- readonly parse: (arrayBuffer: ArrayBuffer, options?: ParquetJSONLoaderOptions) => Promise<ObjectRowTable | GeoJSONTable>;
97
- readonly parseFile: typeof parseGeoParquetFile;
98
- readonly parseFileInBatches: typeof parseGeoParquetFileInBatches;
99
- readonly dataType: GeoJSONTable;
100
- readonly batchType: GeoJSONTableBatch;
101
- readonly id: "parquet";
102
- readonly module: "parquet";
103
- readonly version: any;
104
- readonly worker: true;
105
- readonly options: {
106
- readonly parquet: {
107
- readonly columnList: [];
108
- readonly geoparquet: true;
109
- readonly url: undefined;
110
- readonly preserveBinary: false;
111
- };
112
- };
113
- readonly name: "Apache Parquet";
114
- readonly category: "table";
115
- readonly extensions: ["parquet"];
116
- readonly mimeTypes: ["application/octet-stream"];
117
- readonly binary: true;
118
- readonly tests: ["PAR1", "PARE"];
119
- };
120
- /** @deprecated Test to see if we can improve perf of parquetjs loader *
121
- export const ParquetJSONColumnarWorkerLoader = {
122
- dataType: null as any as ColumnarTable,
123
- batchType: null as any as ColumnarTableBatch,
124
-
125
- name: 'Apache Parquet',
126
- id: 'parquet',
127
- module: 'parquet',
128
- version: VERSION,
129
- worker: true,
130
- category: 'table',
131
- extensions: ['parquet'],
132
- mimeTypes: ['application/octet-stream'],
133
- binary: true,
134
- tests: ['PAR1', 'PARE'],
135
- options: ParquetJSONLoader.options
136
- } as const satisfies Loader<ColumnarTable, ColumnarTableBatch, ParquetJSONLoaderOptions>;
137
-
138
- /** @deprecated Test to see if we can improve perf of parquetjs loader *
139
- export const ParquetJSONColumnarLoader = {
140
- ...ParquetJSONColumnarWorkerLoader,
141
- parse(arrayBuffer: ArrayBuffer, options?: ParquetJSONLoaderOptions) {
142
- return parseParquetFileInColumns(new BlobFile(arrayBuffer), options);
143
- },
144
- parseFile: parseParquetFileInColumns,
145
- parseFileInBatches: parseParquetFileInColumnarBatches
146
- } as const satisfies LoaderWithParser<ColumnarTable, ColumnarTableBatch, ParquetJSONLoaderOptions>;
147
- */
148
- //# sourceMappingURL=parquet-json-loader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parquet-json-loader.d.ts","sourceRoot":"","sources":["../src/parquet-json-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAA2B,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACtF,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EAGlB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAC,gBAAgB,EAAE,yBAAyB,EAAC,+CAA4C;AAChG,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC7B,qDAAkD;AAUnD,OAAO,EAAC,MAAM,EAAC,sDAAmD;AAClE,OAAO,EAAC,MAAM,EAAC,CAAC;AAMhB,qCAAqC;AACrC,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG;IACrD,qCAAqC;IACrC,OAAO,CAAC,EAAE;QACR,0FAA0F;QAC1F,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,CAAC;QACnC,0DAA0D;QAC1D,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,qFAAqF;QACrF,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,gEAAgE;QAChE,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB;uBAGL,cAAc;wBACb,mBAAmB;;;;;;;;;;;;;;;;;;;CAcuC,CAAC;AAE3F,6BAA6B;AAC7B,eAAO,MAAM,iBAAiB;uBAGC,cAAc;wBACb,mBAAmB;kCAE5B,WAAW,YAAY,wBAAwB;;;;;;;;;;;;;;;;;;;;;CASrE,CAAC;AAMF,eAAO,MAAM,sBAAsB;uBAGJ,YAAY;wBACX,iBAAiB;;;;;;;;;;;;;;;;;;;CAeqC,CAAC;AAEvF,6BAA6B;AAC7B,eAAO,MAAM,gBAAgB;kCAGR,WAAW,YAAY,wBAAwB;;;uBAtBrC,YAAY;wBACX,iBAAiB;;;;;;;;;;;;;;;;;;;CA8BhD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE"}
@@ -1,106 +0,0 @@
1
- // loaders.gl
2
- // SPDX-License-Identifier: MIT
3
- // Copyright (c) vis.gl contributors
4
- import { BlobFile } from '@loaders.gl/loader-utils';
5
- import { parseParquetFile, parseParquetFileInBatches } from "./lib/parsers/parse-parquet-to-json.js";
6
- import { parseGeoParquetFile, parseGeoParquetFileInBatches } from "./lib/parsers/parse-geoparquet-to-geojson.js";
7
- // import {
8
- // parseParquetFileInColumns,
9
- // parseParquetFileInColumnarBatches
10
- // } from './lib/parsers/parse-parquet-to-columns';
11
- import { ParquetFormat } from "./parquet-format.js";
12
- // Note: The Buffer polyfill is quite fragile
13
- // For some reason, just exporting directly fails with some bundlers
14
- // export {Buffer} from './polyfills/buffer/install-buffer-polyfill';
15
- import { Buffer } from "./polyfills/buffer/install-buffer-polyfill.js";
16
- export { Buffer };
17
- // __VERSION__ is injected by babel-plugin-version-inline
18
- // @ts-ignore TS2304: Cannot find name '__VERSION__'.
19
- const VERSION = typeof "4.4.5" !== 'undefined' ? "4.4.5" : 'latest';
20
- /**
21
- * ParquetJS table loader
22
- */
23
- export const ParquetJSONWorkerLoader = {
24
- ...ParquetFormat,
25
- dataType: null,
26
- batchType: null,
27
- id: 'parquet',
28
- module: 'parquet',
29
- version: VERSION,
30
- worker: false,
31
- options: {
32
- parquet: {
33
- columnList: [],
34
- geoparquet: true,
35
- url: undefined,
36
- preserveBinary: false
37
- }
38
- }
39
- };
40
- /** ParquetJS table loader */
41
- export const ParquetJSONLoader = {
42
- ...ParquetJSONWorkerLoader,
43
- dataType: null,
44
- batchType: null,
45
- parse: (arrayBuffer, options) => parseParquetFile(new BlobFile(arrayBuffer), options),
46
- parseFile: parseParquetFile,
47
- parseFileInBatches: parseParquetFileInBatches
48
- };
49
- // Defeat tree shaking
50
- // @ts-ignore
51
- ParquetJSONLoader.Buffer = Buffer;
52
- export const GeoParquetWorkerLoader = {
53
- ...ParquetFormat,
54
- dataType: null,
55
- batchType: null,
56
- id: 'parquet',
57
- module: 'parquet',
58
- version: VERSION,
59
- worker: true,
60
- options: {
61
- parquet: {
62
- columnList: [],
63
- geoparquet: true,
64
- url: undefined,
65
- preserveBinary: false
66
- }
67
- }
68
- };
69
- /** ParquetJS table loader */
70
- export const GeoParquetLoader = {
71
- ...GeoParquetWorkerLoader,
72
- parse(arrayBuffer, options) {
73
- return parseGeoParquetFile(new BlobFile(arrayBuffer), options);
74
- },
75
- parseFile: parseGeoParquetFile,
76
- parseFileInBatches: parseGeoParquetFileInBatches
77
- };
78
- /** @deprecated Test to see if we can improve perf of parquetjs loader *
79
- export const ParquetJSONColumnarWorkerLoader = {
80
- dataType: null as any as ColumnarTable,
81
- batchType: null as any as ColumnarTableBatch,
82
-
83
- name: 'Apache Parquet',
84
- id: 'parquet',
85
- module: 'parquet',
86
- version: VERSION,
87
- worker: true,
88
- category: 'table',
89
- extensions: ['parquet'],
90
- mimeTypes: ['application/octet-stream'],
91
- binary: true,
92
- tests: ['PAR1', 'PARE'],
93
- options: ParquetJSONLoader.options
94
- } as const satisfies Loader<ColumnarTable, ColumnarTableBatch, ParquetJSONLoaderOptions>;
95
-
96
- /** @deprecated Test to see if we can improve perf of parquetjs loader *
97
- export const ParquetJSONColumnarLoader = {
98
- ...ParquetJSONColumnarWorkerLoader,
99
- parse(arrayBuffer: ArrayBuffer, options?: ParquetJSONLoaderOptions) {
100
- return parseParquetFileInColumns(new BlobFile(arrayBuffer), options);
101
- },
102
- parseFile: parseParquetFileInColumns,
103
- parseFileInBatches: parseParquetFileInColumnarBatches
104
- } as const satisfies LoaderWithParser<ColumnarTable, ColumnarTableBatch, ParquetJSONLoaderOptions>;
105
- */
106
- //# sourceMappingURL=parquet-json-loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parquet-json-loader.js","sourceRoot":"","sources":["../src/parquet-json-loader.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAWpC,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAC,gBAAgB,EAAE,yBAAyB,EAAC,+CAA4C;AAChG,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC7B,qDAAkD;AACnD,WAAW;AACX,+BAA+B;AAC/B,sCAAsC;AACtC,mDAAmD;AACnD,OAAO,EAAC,aAAa,EAAC,4BAAyB;AAE/C,6CAA6C;AAC7C,oEAAoE;AACpE,qEAAqE;AACrE,OAAO,EAAC,MAAM,EAAC,sDAAmD;AAClE,OAAO,EAAC,MAAM,EAAC,CAAC;AAEhB,yDAAyD;AACzD,qDAAqD;AACrD,MAAM,OAAO,GAAG,cAAkB,KAAK,WAAW,CAAC,CAAC,SAAa,CAAC,CAAC,QAAQ,CAAC;AAiB5E;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,GAAG,aAAa;IAEhB,QAAQ,EAAE,IAAiC;IAC3C,SAAS,EAAE,IAAsC;IAEjD,EAAE,EAAE,SAAS;IACb,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,IAAI;YAChB,GAAG,EAAE,SAAS;YACd,cAAc,EAAE,KAAK;SACtB;KACF;CACuF,CAAC;AAE3F,6BAA6B;AAC7B,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,uBAAuB;IAE1B,QAAQ,EAAE,IAAiC;IAC3C,SAAS,EAAE,IAAsC;IAEjD,KAAK,EAAE,CAAC,WAAwB,EAAE,OAAkC,EAAE,EAAE,CACtE,gBAAgB,CAAC,IAAI,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtD,SAAS,EAAE,gBAAgB;IAC3B,kBAAkB,EAAE,yBAAyB;CAK9C,CAAC;AAEF,sBAAsB;AACtB,aAAa;AACb,iBAAiB,CAAC,MAAM,GAAG,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,GAAG,aAAa;IAEhB,QAAQ,EAAE,IAA+B;IACzC,SAAS,EAAE,IAAoC;IAE/C,EAAE,EAAE,SAAS;IACb,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,IAAI;IAEZ,OAAO,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,IAAI;YAChB,GAAG,EAAE,SAAS;YACd,cAAc,EAAE,KAAK;SACtB;KACF;CACmF,CAAC;AAEvF,6BAA6B;AAC7B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,sBAAsB;IAEzB,KAAK,CAAC,WAAwB,EAAE,OAAkC;QAChE,OAAO,mBAAmB,CAAC,IAAI,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IACD,SAAS,EAAE,mBAAmB;IAC9B,kBAAkB,EAAE,4BAA4B;CAKjD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE"}
@@ -1,19 +0,0 @@
1
- import { Table } from '@loaders.gl/schema';
2
- export type ParquetJSONWriterOptions = {};
3
- export declare const ParquetJSONWriter: {
4
- readonly id: "parquet";
5
- readonly module: "parquet";
6
- readonly version: any;
7
- readonly options: {};
8
- readonly encode: (data: Table, options: ParquetJSONWriterOptions | undefined) => Promise<ArrayBuffer>;
9
- readonly encodeSync: typeof encodeSync;
10
- readonly name: "Apache Parquet";
11
- readonly category: "table";
12
- readonly extensions: ["parquet"];
13
- readonly mimeTypes: ["application/octet-stream"];
14
- readonly binary: true;
15
- readonly tests: ["PAR1", "PARE"];
16
- };
17
- declare function encodeSync(data: any, options?: ParquetJSONWriterOptions): ArrayBuffer;
18
- export {};
19
- //# sourceMappingURL=parquet-json-writer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parquet-json-writer.d.ts","sourceRoot":"","sources":["../src/parquet-json-writer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,KAAK,EAAa,MAAM,oBAAoB,CAAC;AAOrD,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE1C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;CAQqD,CAAC;AAEpF,iBAAS,UAAU,CAAC,IAAI,KAAA,EAAE,OAAO,CAAC,EAAE,wBAAwB,eAE3D"}
@@ -1,20 +0,0 @@
1
- // loaders.gl
2
- // SPDX-License-Identifier: MIT
3
- // Copyright (c) vis.gl contributors
4
- import { ParquetFormat } from "./parquet-format.js";
5
- // __VERSION__ is injected by babel-plugin-version-inline
6
- // @ts-ignore TS2304: Cannot find name '__VERSION__'.
7
- const VERSION = typeof "4.4.5" !== 'undefined' ? "4.4.5" : 'latest';
8
- export const ParquetJSONWriter = {
9
- ...ParquetFormat,
10
- id: 'parquet',
11
- module: 'parquet',
12
- version: VERSION,
13
- options: {},
14
- encode: async (data, options) => encodeSync(data, options),
15
- encodeSync
16
- };
17
- function encodeSync(data, options) {
18
- return new ArrayBuffer(0);
19
- }
20
- //# sourceMappingURL=parquet-json-writer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parquet-json-writer.js","sourceRoot":"","sources":["../src/parquet-json-writer.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,oCAAoC;AAIpC,OAAO,EAAC,aAAa,EAAC,4BAAyB;AAE/C,yDAAyD;AACzD,qDAAqD;AACrD,MAAM,OAAO,GAAG,cAAkB,KAAK,WAAW,CAAC,CAAC,SAAa,CAAC,CAAC,QAAQ,CAAC;AAI5E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,aAAa;IAChB,EAAE,EAAE,SAAS;IACb,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC;IAC1D,UAAU;CACuE,CAAC;AAEpF,SAAS,UAAU,CAAC,IAAI,EAAE,OAAkC;IAC1D,OAAO,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Install Node.js Buffer polyfill (NO-OP in Node.js) */
2
- export declare function installBufferPolyfill(): typeof Buffer;
3
- //# sourceMappingURL=buffer-polyfill.browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-polyfill.browser.d.ts","sourceRoot":"","sources":["../../../src/polyfills/buffer/buffer-polyfill.browser.ts"],"names":[],"mappings":"AAMA,yDAAyD;AACzD,wBAAgB,qBAAqB,IAAI,OAAO,MAAM,CAMrD"}
@@ -1,12 +0,0 @@
1
- // loaders.gl
2
- // SPDX-License-Identifier: MIT
3
- // Copyright vis.gl contributors
4
- import { Buffer as BufferPolyfill } from "./buffer.js";
5
- /** Install Node.js Buffer polyfill (NO-OP in Node.js) */
6
- export function installBufferPolyfill() {
7
- // @ts-ignore
8
- globalThis.Buffer = globalThis.Buffer || BufferPolyfill;
9
- // @ts-ignore
10
- return globalThis.Buffer;
11
- }
12
- //# sourceMappingURL=buffer-polyfill.browser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-polyfill.browser.js","sourceRoot":"","sources":["../../../src/polyfills/buffer/buffer-polyfill.browser.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,gCAAgC;AAEhC,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,oBAAiB;AAElD,yDAAyD;AACzD,MAAM,UAAU,qBAAqB;IACnC,aAAa;IACb,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,cAAc,CAAC;IAExD,aAAa;IACb,OAAO,UAAU,CAAC,MAAM,CAAC;AAC3B,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Install the Node.js Buffer polyfill (NO-OP in Node.js) */
2
- export declare function installBufferPolyfill(): typeof Buffer;
3
- //# sourceMappingURL=buffer-polyfill.node.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-polyfill.node.d.ts","sourceRoot":"","sources":["../../../src/polyfills/buffer/buffer-polyfill.node.ts"],"names":[],"mappings":"AAMA,6DAA6D;AAC7D,wBAAgB,qBAAqB,IAAI,OAAO,MAAM,CAWrD"}
@@ -1,17 +0,0 @@
1
- // loaders.gl
2
- // SPDX-License-Identifier: MIT
3
- // Copyright vis.gl contributors
4
- import { Buffer as BufferPolyfill } from "./buffer.js";
5
- /** Install the Node.js Buffer polyfill (NO-OP in Node.js) */
6
- export function installBufferPolyfill() {
7
- const Buffer_ = typeof Buffer !== 'undefined' ? Buffer : null;
8
- if (!Buffer_) {
9
- // @ts-expect-error
10
- globalThis.Buffer = BufferPolyfill;
11
- return BufferPolyfill;
12
- }
13
- globalThis.process = globalThis.process || {};
14
- // Buffer is a global variable in Node.js
15
- return Buffer_;
16
- }
17
- //# sourceMappingURL=buffer-polyfill.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer-polyfill.node.js","sourceRoot":"","sources":["../../../src/polyfills/buffer/buffer-polyfill.node.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,gCAAgC;AAEhC,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,oBAAiB;AAElD,6DAA6D;AAC7D,MAAM,UAAU,qBAAqB;IACnC,MAAM,OAAO,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,mBAAmB;QACnB,UAAU,CAAC,MAAM,GAAG,cAAc,CAAC;QACnC,OAAO,cAA0C,CAAC;IACpD,CAAC;IAED,UAAU,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,IAAI,EAAE,CAAC;IAC9C,yCAAyC;IACzC,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1,222 +0,0 @@
1
- export declare const kMaxLength = 2147483647;
2
- export declare const INSPECT_MAX_BYTES = 50;
3
- type BufferEncoding = string;
4
- /**
5
- * The Buffer constructor returns instances of `Uint8Array` that have their
6
- * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
7
- * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
8
- * and the `Uint8Array` methods. Square bracket notation works as expected -- it
9
- * returns a single octet.
10
- *
11
- * The `Uint8Array` prototype remains unmodified.
12
- */
13
- export declare class Buffer extends Uint8Array {
14
- static poolSize: number;
15
- get parent(): ArrayBuffer | undefined;
16
- get offset(): number | undefined;
17
- /** This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
18
- * to detect a Buffer instance. It's not possible to use `instanceof Buffer`
19
- * reliably in a browserify context because there could be multiple different
20
- * copies of the 'buffer' package in use. This method works even for Buffer
21
- * instances that were created from another copy of the `buffer` package.
22
- * @see: https://github.com/feross/buffer/issues/154
23
- */
24
- _isBuffer: boolean;
25
- /**
26
- * Allocates a new buffer containing the given {str}.
27
- *
28
- * @param str String to store in buffer.
29
- * @param encoding encoding to use, optional. Default is 'utf8'
30
- */
31
- constructor(str: string, encoding?: string);
32
- /**
33
- * Allocates a new buffer of {size} octets.
34
- *
35
- * @param size count of octets to allocate.
36
- */
37
- constructor(size: number);
38
- /**
39
- * Allocates a new buffer containing the given {array} of octets.
40
- *
41
- * @param array The octets to store.
42
- */
43
- constructor(array: Uint8Array);
44
- /**
45
- * Produces a Buffer backed by the same allocated memory as
46
- * the given {ArrayBuffer}.
47
- *
48
- *
49
- * @param arrayBuffer The ArrayBuffer with which to share memory.
50
- */
51
- constructor(arrayBuffer: ArrayBuffer);
52
- /**
53
- * Allocates a new buffer containing the given {array} of octets.
54
- *
55
- * @param array The octets to store.
56
- */
57
- constructor(array: any[]);
58
- /**
59
- * Copies the passed {buffer} data onto a new {Buffer} instance.
60
- *
61
- * @param buffer The buffer to copy.
62
- */
63
- constructor(buffer: Buffer);
64
- /**
65
- * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
66
- * if value is a number.
67
- * Buffer.from(str[, encoding])
68
- * Buffer.from(array)
69
- * Buffer.from(buffer)
70
- * Buffer.from(arrayBuffer[, byteOffset[, length]])
71
- **/
72
- /**
73
- * Allocates a new Buffer using an {array} of octets.
74
- *
75
- * @param array
76
- */
77
- static from(array: any[]): Buffer;
78
- /**
79
- * When passed a reference to the .buffer property of a TypedArray instance,
80
- * the newly created Buffer will share the same allocated memory as the TypedArray.
81
- * The optional {byteOffset} and {length} arguments specify a memory range
82
- * within the {arrayBuffer} that will be shared by the Buffer.
83
- *
84
- * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer()
85
- * @param byteOffset
86
- * @param length
87
- */
88
- static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
89
- /**
90
- * Copies the passed {buffer} data onto a new Buffer instance.
91
- *
92
- * @param buffer
93
- */
94
- static from(buffer: Buffer | Uint8Array): Buffer;
95
- /**
96
- * Creates a new Buffer containing the given JavaScript string {str}.
97
- * If provided, the {encoding} parameter identifies the character encoding.
98
- * If not provided, {encoding} defaults to 'utf8'.
99
- *
100
- * @param str
101
- */
102
- static from(str: string, encoding?: string): Buffer;
103
- /**
104
- * Returns true if {obj} is a Buffer
105
- *
106
- * @param obj object to test.
107
- */
108
- static isBuffer(b: any): obj is Buffer;
109
- /**
110
- * The same as buf1.compare(buf2).
111
- */
112
- static compare(a: Uint8Array | Buffer, b: Uint8Array | Buffer): number;
113
- /**
114
- * Returns true if {encoding} is a valid encoding argument.
115
- * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'
116
- *
117
- * @param encoding string to test.
118
- */
119
- static isEncoding(encoding: string): boolean;
120
- /**
121
- * Returns a buffer which is the result of concatenating all the buffers in the list together.
122
- *
123
- * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer.
124
- * If the list has exactly one item, then the first item of the list is returned.
125
- * If the list has more than one item, then a new Buffer is created.
126
- *
127
- * @param list An array of Buffer objects to concatenate
128
- * @param totalLength Total length of the buffers when concatenated.
129
- * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly.
130
- */
131
- static concat(list: (Uint8Array | Buffer)[], length?: number): Buffer;
132
- /**
133
- * Allocates a new buffer of {size} octets.
134
- *
135
- * @param size count of octets to allocate.
136
- * @param fill if specified, buffer will be initialized by calling buf.fill(fill).
137
- * If parameter is omitted, buffer will be filled with zeros.
138
- * @param encoding encoding used for call to buf.fill while initializing
139
- */
140
- static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer;
141
- /**
142
- * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
143
- * of the newly created Buffer are unknown and may contain sensitive data.
144
- *
145
- * @param size count of octets to allocate
146
- */
147
- static allocUnsafe(size: number): Buffer;
148
- /**
149
- * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents
150
- * of the newly created Buffer are unknown and may contain sensitive data.
151
- *
152
- * @param size count of octets to allocate
153
- */
154
- static allocUnsafeSlow(size: number): Buffer;
155
- includes(val: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
156
- indexOf(val: string | number | Buffer, byteOffset?: number, encoding?: string): number;
157
- lastIndexOf(val: string | number | Buffer, byteOffset?: number, encoding?: string): number;
158
- readInt8(offset: number, noAssert?: boolean): number;
159
- readInt16LE(offset: number, noAssert?: boolean): number;
160
- readInt16BE(offset: number, noAssert?: boolean): number;
161
- readInt32LE(offset: number, noAssert?: boolean): number;
162
- readInt32BE(offset: number, noAssert?: boolean): number;
163
- readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
164
- readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
165
- readBigInt64LE(offset: number): BigInt;
166
- readBigInt64BE(offset: number): BigInt;
167
- readUInt8(offset: number, noAssert?: boolean): number;
168
- readUInt16LE(offset: number, noAssert?: boolean): number;
169
- readUInt16BE(offset: number, noAssert?: boolean): number;
170
- readUInt32LE(offset: number, noAssert?: boolean): number;
171
- readUInt32BE(offset: number, noAssert?: boolean): number;
172
- readUIntLE(offset: any, byteLength: any, noAssert: any): number;
173
- readUIntBE(offset: any, byteLength: any, noAssert: any): number;
174
- readBigUInt64LE(offset: number): BigInt;
175
- readBigUInt64BE(offset: number): BigInt;
176
- readFloatLE(offset: number, noAssert?: boolean): number;
177
- readFloatBE(offset: number, noAssert?: boolean): number;
178
- readDoubleLE(offset: number, noAssert?: boolean): number;
179
- readDoubleBE(offset: number, noAssert?: boolean): number;
180
- writeUInt8(value: number, offset: number, noAssert?: boolean): number;
181
- writeUInt16LE(value: number, offset: number, noAssert?: boolean): number;
182
- writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
183
- writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
184
- writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
185
- writeUIntLE(value: any, offset: any, byteLength: any, noAssert: any): any;
186
- writeUIntBE(value: any, offset: any, byteLength: any, noAssert: any): any;
187
- writeBigUInt64LE(value: number, offset?: number): BigInt;
188
- writeBigUInt64BE(value: number, offset?: number): BigInt;
189
- writeIntLE(value: any, offset: any, byteLength: any, noAssert: any): any;
190
- writeIntBE(value: any, offset: any, byteLength: any, noAssert: any): any;
191
- writeInt8(value: number, offset: number, noAssert?: boolean): number;
192
- writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
193
- writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
194
- writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
195
- writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
196
- writeBigInt64LE(value: number, offset?: number): BigInt;
197
- writeBigInt64BE(value: number, offset?: number): BigInt;
198
- writeFloatLE(value: number, offset: number, noAssert?: boolean): number;
199
- writeFloatBE(value: number, offset: number, noAssert?: boolean): number;
200
- writeDoubleLE(value: number, offset: number, noAssert?: boolean): number;
201
- writeDoubleBE(value: number, offset: number, noAssert?: boolean): number;
202
- write(string: string, encoding?: BufferEncoding): number;
203
- write(string: string, offset: number, encoding?: BufferEncoding): number;
204
- write(string: string, offset: number, length: number, encoding?: BufferEncoding): number;
205
- copy(target: Buffer, targetStart?: number, start?: number, end?: number): number;
206
- fill(val: any, start?: number, end?: number, encoding?: any): this;
207
- swap16(): this;
208
- swap32(): this;
209
- swap64(): this;
210
- toString(encoding?: string, start?: number, end?: number): string;
211
- inspect(): string;
212
- equals(b: Buffer): boolean;
213
- compare(target: Buffer | Uint8Array, start?: number, end?: number, thisStart?: number, thisEnd?: number): number;
214
- toJSON(): {
215
- type: 'Buffer';
216
- data: any[];
217
- };
218
- slice(start?: number, end?: number): this;
219
- protected _slowToString(encoding: any, start: any, end: any): string;
220
- }
221
- export {};
222
- //# sourceMappingURL=buffer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../../src/polyfills/buffer/buffer.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,UAAU,aAAa,CAAC;AACrC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,KAAK,cAAc,GAAG,MAAM,CAAC;AAO7B;;;;;;;;GAQG;AACH,qBAAa,MAAO,SAAQ,UAAU;IACpC,MAAM,CAAC,QAAQ,SAAQ;IAIvB,IAAI,MAAM,4BAGT;IAED,IAAI,MAAM,uBAGT;IAED;;;;;;OAMG;IACH,SAAS,UAAQ;IAEjB;;;;;OAKG;gBACS,GAAG,EAAE,MAAM,EAAE,QAAQ,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