Publish v1.12.0

This commit is contained in:
Kenny Daniel 2025-04-11 04:43:11 -07:00
parent 11c7d8174a
commit 8161983962
No known key found for this signature in database
GPG Key ID: 90AB653A8CAD7E45
4 changed files with 3 additions and 6 deletions

@ -15,7 +15,7 @@ if (!stat) {
if (!res.ok) throw new Error(res.statusText)
// write to file async
await pipeline(res.body, createWriteStream(filename))
stat = await fs.stat(filename).catch(() => undefined)
stat = await fs.stat(filename)
console.log('downloaded example.parquet', stat.size)
}

@ -1,6 +1,6 @@
{
"name": "hyparquet",
"version": "1.11.1",
"version": "1.12.0",
"description": "Parquet file parser for JavaScript",
"author": "Hyperparam",
"homepage": "https://hyperparam.app",

2
src/types.d.ts vendored

@ -260,7 +260,7 @@ export interface KeyValue {
value?: string
}
type MinMaxType = bigint | boolean | number | string | Date | Uint8Array
export type MinMaxType = bigint | boolean | number | string | Date | Uint8Array
export interface Statistics {
max?: MinMaxType

@ -6,9 +6,6 @@ import { asyncBufferFromFile } from '../src/utils.js'
const values = [null, 1, -2, NaN, 0, -1, -0, 2]
/**
* @import {RowGroupSelect} from '../src/types.d.ts'
*/
describe('readColumn', () => {
it.for([
{ selectEnd: Infinity, expected: [values] },