diff --git a/README.md b/README.md index f32b22e..857f079 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ const output = snappyUncompress(compressed, outputLength) Hysnappy was built specifically to accelerate the the [hyparquet](https://github.com/hyparam/hyparquet) parquet parsing library. -The library exports a loader function `snappyUncompressor()` which loads the WASM module once, and returns a pre-loaded version of `snappyUncompress` function. +Hysnappy exports a loader function `snappyUncompressor()` which loads the WASM module once, and returns a pre-loaded version of `snappyUncompress` function. To use hysnappy with hyparquet: diff --git a/hysnappy.d.ts b/hysnappy.d.ts index a71f573..7de7f34 100644 --- a/hysnappy.d.ts +++ b/hysnappy.d.ts @@ -4,7 +4,7 @@ * @param {Uint8Array} input * @param {Uint8Array} output */ -export async function snappyUncompress(input: Uint8Array, outputLength: number): Uint8Array +export function snappyUncompress(input: Uint8Array, outputLength: number): Uint8Array /** * Load wasm and return uncompressor function. diff --git a/package.json b/package.json index 1b72249..92e4ee6 100644 --- a/package.json +++ b/package.json @@ -31,11 +31,11 @@ "devDependencies": { "@babel/eslint-parser": "7.24.1", "@types/node": "20.12.7", - "@vitest/coverage-v8": "1.5.0", + "@vitest/coverage-v8": "1.5.2", "eslint": "8.57.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-jsdoc": "48.2.3", "snappyjs": "0.7.0", - "vitest": "1.5.0" + "vitest": "1.5.2" } } diff --git a/tsconfig.json b/tsconfig.json index 97a29a8..1225936 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "module": "nodenext", "noEmit": true, "resolveJsonModule": true, - "skipLibCheck": true, + "skipLibCheck": false, "strict": true, "target": "esnext" },