@dsnp/parquetjs
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -9,3 +9,3 @@ "use strict"; | ||
const snappyjs_1 = __importDefault(require("snappyjs")); | ||
const wasm_brotli_1 = require("wasm-brotli"); | ||
const brotli_wasm_1 = require("brotli-wasm"); | ||
// LZO compression is disabled. See: https://github.com/LibertyDSNP/parquetjs/issues/18 | ||
@@ -51,3 +51,3 @@ exports.PARQUET_COMPRESSION_METHODS = { | ||
async function deflate_brotli(value) { | ||
const compressedContent = await (0, wasm_brotli_1.compress)(value /*, { | ||
const compressedContent = await (0, brotli_wasm_1.compress)(value /*, { | ||
mode: 0, | ||
@@ -81,3 +81,3 @@ quality: 8, | ||
async function inflate_brotli(value) { | ||
const uncompressedContent = await (0, wasm_brotli_1.decompress)(value); | ||
const uncompressedContent = await (0, brotli_wasm_1.decompress)(value); | ||
return Buffer.from(uncompressedContent); | ||
@@ -84,0 +84,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"types": "dist/parquet.d.ts", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"homepage": "https://github.com/LibertyDSNP/parquetjs", | ||
@@ -23,2 +23,3 @@ "license": "MIT", | ||
"@types/thrift": "^0.10.11", | ||
"brotli-wasm": "^2.0.1", | ||
"browserify-zlib": "^0.2.0", | ||
@@ -32,3 +33,2 @@ "bson": "4.6.3", | ||
"varint": "^6.0.0", | ||
"wasm-brotli": "^2.0.2", | ||
"xxhash-wasm": "^1.0.2" | ||
@@ -35,0 +35,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Addedbrotli-wasm@^2.0.1
+ Addedbrotli-wasm@2.0.1(transitive)
- Removedwasm-brotli@^2.0.2
- Removedwasm-brotli@2.0.2(transitive)