Publish v1.17.1

This commit is contained in:
Kenny Daniel 2025-07-02 15:49:06 -07:00
parent ee192054b2
commit 6f5ac750cd
No known key found for this signature in database
GPG Key ID: 90AB653A8CAD7E45
3 changed files with 8 additions and 9 deletions

@ -1,5 +1,8 @@
# Changelog
## [1.17.1]
- Fix zero row file (#98 thanks @kroche98)
## [1.17.0]
- Require explicit `$eq` operator for `parquetQuery` filters.

@ -1,6 +1,6 @@
{
"name": "hyparquet",
"version": "1.17.0",
"version": "1.17.1",
"description": "Parquet file parser for JavaScript",
"author": "Hyperparam",
"homepage": "https://hyperparam.app",
@ -54,10 +54,10 @@
"test": "vitest run"
},
"devDependencies": {
"@types/node": "24.0.7",
"@types/node": "24.0.10",
"@vitest/coverage-v8": "3.2.4",
"eslint": "9.30.0",
"eslint-plugin-jsdoc": "51.3.1",
"eslint": "9.30.1",
"eslint-plugin-jsdoc": "51.3.3",
"hyparquet-compressors": "1.1.1",
"typescript": "5.8.3",
"vitest": "3.2.4"

@ -37,11 +37,7 @@ describe('parquetRead test files', () => {
rowEnd: numRows,
onComplete(rows) {
const base = filename.replace('.parquet', '')
if (filename === 'issue97.parquet') {
// issue97 has no rows
const expected = fileToJson(`test/files/${base}.json`)
expect(toJson(rows)).toEqual(expected)
} else {
if (rows.length) {
const expected = [fileToJson(`test/files/${base}.json`).at(-1)]
expect(toJson(rows)).toEqual(expected)
}