Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "hyparquet", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "parquet file parser for javascript", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"http-server": "14.1.1", | ||
"hysnappy": "0.2.0", | ||
"hysnappy": "0.3.0", | ||
"typescript": "5.3.3", | ||
@@ -40,0 +40,0 @@ "vitest": "1.3.1" |
@@ -185,4 +185,3 @@ import { PageType } from './constants.js' | ||
} else if (customDecompressor) { | ||
page = new Uint8Array(uncompressed_page_size) | ||
customDecompressor(compressedBytes, page) | ||
page = customDecompressor(compressedBytes, uncompressed_page_size) | ||
} else if (codec === 'SNAPPY') { | ||
@@ -189,0 +188,0 @@ page = new Uint8Array(uncompressed_page_size) |
@@ -137,3 +137,3 @@ /** | ||
export type Compressors = { | ||
[K in CompressionCodec]?: (input: Uint8Array, output: Uint8Array) => void | ||
[K in CompressionCodec]?: (input: Uint8Array, outputLength: number) => Uint8Array | ||
} | ||
@@ -140,0 +140,0 @@ |
87076
2302