Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyparquet

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyparquet - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

8

package.json
{
"name": "hyparquet",
"version": "0.1.3",
"version": "0.1.4",
"description": "parquet file parser for javascript",

@@ -30,5 +30,5 @@ "keywords": [

"devDependencies": {
"@types/node": "20.10.8",
"@types/node": "20.11.0",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@vitest/coverage-v8": "1.1.3",
"@vitest/coverage-v8": "1.2.0",
"eslint": "8.56.0",

@@ -39,4 +39,4 @@ "eslint-plugin-import": "2.29.1",

"typescript": "5.3.3",
"vitest": "1.1.3"
"vitest": "1.2.0"
}
}

@@ -5,5 +5,6 @@ # hyparquet

[![npm](https://img.shields.io/npm/v/hyparquet)](https://www.npmjs.com/package/hyparquet)
[![workflow status](https://github.com/hyparam/hyparquet/actions/workflows/ci.yml/badge.svg)](https://github.com/hyparam/hyparquet/actions)
[![mit license](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![workflow status](https://github.com/hyparam/hyparquet/actions/workflows/ci.yml/badge.svg)](https://github.com/hyparam/hyparquet/actions)
[![npm](https://img.shields.io/npm/v/hyparquet)](https://www.npmjs.com/package/hyparquet)
![dependencies](https://img.shields.io/badge/Dependencies-0-blueviolet)

@@ -10,0 +11,0 @@ JavaScript parser for [Apache Parquet](https://parquet.apache.org) files.

@@ -26,5 +26,8 @@ import { deserializeTCompactProtocol } from './thrift.js'

const metadataLength = view.getUint32(view.byteLength - 8, true)
if (metadataLength <= 0 || metadataLength > metadataLengthOffset) {
throw new Error('parquet file invalid metadata length')
if (metadataLength <= 0) {
throw new Error('parquet invalid metadata length')
}
if (metadataLength > view.byteLength - 8) {
throw new Error('parquet metadata length exceeds buffer size')
}

@@ -99,3 +102,4 @@ const metadataOffset = metadataLengthOffset - metadataLength

created_by,
metadata_length: metadataLength,
}
}

@@ -18,2 +18,3 @@ /**

created_by?: string
metadata_length: number
}

@@ -20,0 +21,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc