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

@dsnp/parquetjs

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dsnp/parquetjs - npm Package Compare versions

Comparing version 0.0.0-81e38e to 0.0.0-98871a

11

dist/lib/reader.js
'use strict';
const fs = require('fs');
const thrift = require('thrift');
const Int64 = require('node-int64');

@@ -14,3 +12,2 @@ const parquet_thrift = require('../gen-nodejs/parquet_types');

const bloomFilterReader = require('./bloomFilterIO/bloomFilterReader');
const groupBy = require("lodash/groupBy");
const fetch = require('cross-fetch');

@@ -200,3 +197,9 @@ const { getBloomFiltersFor, } = bloomFilterReader;

const bloomFilterData = await getBloomFiltersFor(columnNames, this.envelopeReader);
return groupBy(bloomFilterData, 'columnName');
return bloomFilterData.reduce((acc, value) => {
if (acc[value.columnName])
acc[value.columnName].push(value);
else
acc[value.columnName] = [value];
return acc;
}, {});
}

@@ -203,0 +206,0 @@ /**

@@ -5,3 +5,3 @@ {

"main": "dist/parquet.js",
"version": "0.0.0-81e38e",
"version": "0.0.0-98871a",
"homepage": "https://github.com/LibertyDSNP/parquetjs",

@@ -18,21 +18,9 @@ "license": "MIT",

"dependencies": {
"@types/bson": "^4.0.3",
"@types/long": "^4.0.1",
"@types/node": "^14.14.35",
"@types/thrift": "^0.10.10",
"assert": "^2.0.0",
"browserify-zlib": "^0.2.0",
"bson": "4.4.0",
"cross-fetch": "^3.1.4",
"esbuild": "^0.12.11",
"events": "^3.3.0",
"int53": "^0.2.4",
"lodash": "^4.17.21",
"long": "^4.0.0",
"object-stream": "0.0.1",
"path-browserify": "^1.0.1",
"readable-stream": "^3.6.0",
"snappyjs": "^0.6.0",
"thrift": "0.14.1",
"util": "^0.12.4",
"varint": "^5.0.0",

@@ -46,5 +34,10 @@ "wasm-brotli": "^2.0.2",

"@babel/preset-typescript": "^7.14.5",
"@types/bson": "^4.0.3",
"@types/chai": "^4.2.16",
"@types/long": "^4.0.1",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.35",
"@types/sinon": "^10.0.0",
"@types/thrift": "^0.10.10",
"assert": "^2.0.0",
"babel-loader": "^8.2.2",

@@ -56,4 +49,6 @@ "babel-plugin-add-module-exports": "^1.0.4",

"core-js": "^3.15.1",
"esbuild": "^0.12.20",
"mocha": "8.3.2",
"msw": "^0.29.0",
"object-stream": "0.0.1",
"process": "^0.11.10",

@@ -60,0 +55,0 @@ "regenerator-runtime": "^0.13.7",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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