New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apache-arrow/esnext-umd

Package Overview
Dependencies
Maintainers
6
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apache-arrow/esnext-umd - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0

Arrow.externs.js

4

bin/arrow2csv.js

@@ -54,3 +54,3 @@ #! /usr/bin/env node

if (err) {
console.error(`${err && err.stack || err}`);
console.error(`${err?.stack || err}`);
}

@@ -131,3 +131,3 @@ return process.exitCode || 1;

transform(batch, _enc, cb) {
batch = !(state.schema && state.schema.length) ? batch : batch.select(...state.schema);
batch = !state.schema?.length ? batch : batch.select(...state.schema);
if (state.closed) {

@@ -134,0 +134,0 @@ return cb(undefined, null);

{
"version": "4.0.1",
"version": "5.0.0",
"name": "@apache-arrow/esnext-umd",

@@ -8,2 +8,3 @@ "unpkg": "Arrow.js",

"main": "Arrow.js",
"type": "commonjs",
"license": "Apache-2.0",

@@ -26,4 +27,3 @@ "description": "Apache Arrow columnar in-memory format",

"@types/flatbuffers": "^1.10.0",
"@types/node": "^14.14.37",
"@types/text-encoding-utf-8": "^1.0.1",
"@types/node": "^15.6.1",
"command-line-args": "5.1.1",

@@ -34,4 +34,3 @@ "command-line-usage": "6.1.1",

"pad-left": "^2.1.0",
"text-encoding-utf-8": "^1.0.2",
"tslib": "^2.2.0"
"tslib": "^2.3.0"
},

@@ -38,0 +37,0 @@ "bin": {

@@ -150,43 +150,2 @@ <!---

### Usage with MapD Core
```js
import MapD from 'rxjs-mapd';
import { Table } from 'apache-arrow';
const port = 9091;
const host = `localhost`;
const db = `mapd`;
const user = `mapd`;
const password = `HyperInteractive`;
MapD.open(host, port)
.connect(db, user, password)
.flatMap((session) =>
// queryDF returns Arrow buffers
session.queryDF(`
SELECT origin_city
FROM flights
WHERE dest_city ILIKE 'dallas'
LIMIT 5`
).disconnect()
)
.map(([schema, records]) =>
// Create Arrow Table from results
Table.from([schema, records]))
.map((table) =>
// Stringify the table to CSV with row numbers
table.toString({ index: true }))
.subscribe((csvStr) =>
console.log(csvStr));
/*
Index, origin_city
0, Oklahoma City
1, Oklahoma City
2, Oklahoma City
3, San Antonio
4, San Antonio
*/
```
# Getting involved

@@ -245,2 +204,8 @@

### Supported Browsers and Platforms
The bundles we compile support moderns browser released in the last 5 years. This includes supported versions of
Firefox, Chrome, Edge, and Safari. We do not actively support Internet Explorer.
Apache Arrow also works on [maintained versions of Node](https://nodejs.org/en/about/releases/).
# People

@@ -250,4 +215,5 @@

* Brian Hulette, _committer_
* Paul Taylor, Graphistry, Inc., _committer_
* Brian Hulette, _committer_
* Paul Taylor, _committer_
* Dominik Moritz, _committer_

@@ -261,12 +227,8 @@ # Powered By Apache Arrow in JS

* [Apache Arrow](https://arrow.apache.org) -- Parent project for Powering Columnar In-Memory Analytics, including affiliated open source projects
* [rxjs-mapd](https://github.com/graphistry/rxjs-mapd) -- A MapD Core node-driver that returns query results as Arrow columns
* [Perspective](https://github.com/jpmorganchase/perspective) -- Perspective is a streaming data visualization engine by J.P. Morgan for JavaScript for building real-time & user-configurable analytics entirely in the browser.
* [Falcon](https://github.com/uwdata/falcon) is a visualization tool for linked interactions across multiple aggregate visualizations of millions or billions of records.
* [Vega](https://github.com/vega) is an ecosystem of tools for interactive visualizations on the web. The Vega team implemented an [Arrow loader](https://github.com/vega/vega-loader-arrow).
* [Arquero](https://github.com/uwdata/arquero) is a library for query processing and transformation of array-backed data tables.
* [OmniSci](https://github.com/omnisci/mapd-connector) is a GPU database. Its JavaScript connector returns Arrow dataframes.
## Companies & Organizations
* [CCRi](https://www.ccri.com/) -- Commonwealth Computer Research Inc, or CCRi, is a Central Virginia based data science and software engineering company
* [GOAI](https://gpuopenanalytics.com/) -- GPU Open Analytics Initiative standardizes on Arrow as part of creating common data frameworks that enable developers and statistical researchers to accelerate data science on GPUs
* [Graphistry, Inc.](https://www.graphistry.com/) - An end-to-end GPU accelerated visual investigation platform used by teams for security, anti-fraud, and related investigations. Graphistry uses Arrow in its NodeJS GPU backend and client libraries, and is an early contributing member to GOAI and Arrow\[JS\] working to bring these technologies to the enterprise.
# License

@@ -273,0 +235,0 @@

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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