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

@apache-arrow/es5-umd

Package Overview
Dependencies
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 14.0.2 to 15.0.0

Arrow.d.ts

86

Arrow.externs.js

@@ -179,2 +179,6 @@ // Licensed to the Apache Software Foundation (ASF) under one

/** @type {?} */
Type[19] = function() {};
/** @type {?} */
Type[20] = function() {};
/** @type {?} */
Type.NONE = function() {};

@@ -218,2 +222,6 @@ /** @type {?} */

/** @type {?} */
Type.LargeBinary = function() {};
/** @type {?} */
Type.LargeUtf8 = function() {};
/** @type {?} */
Type.Dictionary = function() {};

@@ -398,4 +406,8 @@ /** @type {?} */

/** @type {?} */
DataType.isLargeBinary = function() {};
/** @type {?} */
DataType.isUtf8 = function() {};
/** @type {?} */
DataType.isLargeUtf8 = function() {};
/** @type {?} */
DataType.isBool = function() {};

@@ -433,19 +445,13 @@ /** @type {?} */

/** @type {?} */
DataType.prototype.typeId;
/** @type {?} */
DataType.prototype.children;
/** @type {?} */
DataType.prototype.ArrayType;
/** @type {?} */
DataType.prototype.OffsetArrayType;
var Null = function() {};
/** @type {?} */
Null.prototype.typeId;
var Bool = function() {};
/** @type {?} */
Bool.prototype.typeId;
/** @type {?} */
Bool.prototype.ArrayType;
var Int = function() {};
/** @type {?} */
Int.prototype.typeId;
/** @type {?} */
Int.prototype.ArrayType;

@@ -482,4 +488,2 @@ /** @type {?} */

/** @type {?} */
Float.prototype.typeId;
/** @type {?} */
Float.prototype.ArrayType;

@@ -499,14 +503,18 @@ /** @type {?} */

/** @type {?} */
Utf8.prototype.typeId;
Utf8.prototype.ArrayType;
var LargeUtf8 = function() {};
/** @type {?} */
Utf8.prototype.ArrayType;
LargeUtf8.prototype.ArrayType;
/** @type {?} */
LargeUtf8.prototype.OffsetArrayType;
var Binary = function() {};
/** @type {?} */
Binary.prototype.typeId;
Binary.prototype.ArrayType;
var LargeBinary = function() {};
/** @type {?} */
Binary.prototype.ArrayType;
LargeBinary.prototype.ArrayType;
/** @type {?} */
LargeBinary.prototype.OffsetArrayType;
var FixedSizeBinary = function() {};
/** @type {?} */
FixedSizeBinary.prototype.typeId;
/** @type {?} */
FixedSizeBinary.prototype.byteWidth;

@@ -517,4 +525,2 @@ /** @type {?} */

/** @type {?} */
Date_.prototype.typeId;
/** @type {?} */
Date_.prototype.unit;

@@ -527,4 +533,2 @@ /** @type {?} */

/** @type {?} */
Timestamp.prototype.typeId;
/** @type {?} */
Timestamp.prototype.unit;

@@ -541,4 +545,2 @@ /** @type {?} */

/** @type {?} */
Time.prototype.typeId;
/** @type {?} */
Time.prototype.ArrayType;

@@ -555,4 +557,2 @@ /** @type {?} */

/** @type {?} */
Decimal.prototype.typeId;
/** @type {?} */
Decimal.prototype.scale;

@@ -565,4 +565,2 @@ /** @type {?} */

/** @type {?} */
List.prototype.typeId;
/** @type {?} */
List.prototype.valueType;

@@ -577,4 +575,2 @@ /** @type {?} */

/** @type {?} */
Struct.prototype.typeId;
/** @type {?} */
Struct.prototype.children;

@@ -588,4 +584,2 @@ var StructRow = function() {};

/** @type {?} */
Union.prototype.typeId;
/** @type {?} */
Union.prototype.mode;

@@ -604,4 +598,2 @@ /** @type {?} */

/** @type {?} */
Dictionary.prototype.typeId;
/** @type {?} */
Dictionary.prototype.children;

@@ -622,4 +614,2 @@ /** @type {?} */

/** @type {?} */
Interval.prototype.typeId;
/** @type {?} */
Interval.prototype.unit;

@@ -632,4 +622,2 @@ /** @type {?} */

/** @type {?} */
Duration.prototype.typeId;
/** @type {?} */
Duration.prototype.unit;

@@ -644,4 +632,2 @@ /** @type {?} */

/** @type {?} */
FixedSizeList.prototype.typeId;
/** @type {?} */
FixedSizeList.prototype.valueType;

@@ -658,4 +644,2 @@ /** @type {?} */

/** @type {?} */
Map_.prototype.typeId;
/** @type {?} */
Map_.prototype.keyType;

@@ -695,4 +679,2 @@ /** @type {?} */

/** @type {?} */
Table.prototype.getByteLength;
/** @type {?} */
Table.prototype.toArray;

@@ -783,4 +765,8 @@ /** @type {?} */

/** @type {?} */
Visitor.prototype.visitLargeUtf8;
/** @type {?} */
Visitor.prototype.visitBinary;
/** @type {?} */
Visitor.prototype.visitLargeBinary;
/** @type {?} */
Visitor.prototype.visitFixedSizeBinary;

@@ -873,2 +859,4 @@ /** @type {?} */

/** @type {?} */
Vector.prototype.nullable;
/** @type {?} */
Vector.prototype.nullCount;

@@ -890,4 +878,2 @@ /** @type {?} */

/** @type {?} */
Vector.prototype.getByteLength;
/** @type {?} */
Vector.prototype.concat;

@@ -1141,4 +1127,2 @@ /** @type {?} */

/** @type {?} */
RecordBatch.prototype.getByteLength;
/** @type {?} */
RecordBatch.prototype.toArray;

@@ -1349,2 +1333,7 @@ /** @type {?} */

BinaryBuilder.prototype.setValue;
var LargeBinaryBuilder = function() {};
/** @type {?} */
LargeBinaryBuilder.prototype.byteLength;
/** @type {?} */
LargeBinaryBuilder.prototype.setValue;
var BoolBuilder = function() {};

@@ -1469,2 +1458,7 @@ /** @type {?} */

Utf8Builder.prototype.setValue;
var LargeUtf8Builder = function() {};
/** @type {?} */
LargeUtf8Builder.prototype.byteLength;
/** @type {?} */
LargeUtf8Builder.prototype.setValue;
var BaseInt64 = function() {};

@@ -1471,0 +1465,0 @@ /** @type {?} */

@@ -22,11 +22,10 @@ #! /usr/bin/env node

/* eslint-disable unicorn/no-array-for-each */
var fs = tslib_1.__importStar(require("fs"));
var stream = tslib_1.__importStar(require("stream"));
var fs = require("fs");
var stream = require("stream");
var Arrow_js_1 = require("../Arrow.js");
var command_line_usage_1 = tslib_1.__importDefault(require("command-line-usage"));
var command_line_args_1 = tslib_1.__importDefault(require("command-line-args"));
var pad_left_1 = tslib_1.__importDefault(require("pad-left"));
var commandLineUsage = require("command-line-usage");
var commandLineArgs = require("command-line-args");
// @ts-ignore
var json_bignum_1 = require("json-bignum");
var argv = (0, command_line_args_1.default)(cliOpts(), { partial: true });
var argv = commandLineArgs(cliOpts(), { partial: true });
var files = argv.help ? [] : tslib_1.__spreadArray(tslib_1.__spreadArray([], tslib_1.__read((argv.file || [])), false), tslib_1.__read((argv._unknown || [])), false).filter(Boolean);

@@ -348,3 +347,3 @@ var state = tslib_1.__assign(tslib_1.__assign({}, argv), { closed: false, maxColWidths: [10] });

if (sep === void 0) { sep = ' | '; }
return " ".concat((0, pad_left_1.default)('', maxColWidths.reduce(function (x, y) { return x + y; }, -2 + maxColWidths.length * sep.length), hr));
return " ".concat(''.padStart(maxColWidths.reduce(function (x, y) { return x + y; }, -2 + maxColWidths.length * sep.length), hr));
}

@@ -355,3 +354,3 @@ function formatRow(row, maxColWidths, sep) {

if (sep === void 0) { sep = ' | '; }
return "".concat(row.map(function (x, j) { return (0, pad_left_1.default)(x, maxColWidths[j]); }).join(sep));
return row.map(function (x, j) { return x.padStart(maxColWidths[j]); }).join(sep);
}

@@ -486,3 +485,3 @@ function formatMetadataValue(value) {

function print_usage() {
console.log((0, command_line_usage_1.default)([
console.log(commandLineUsage([
{

@@ -489,0 +488,0 @@ header: 'arrow2csv',

Apache Arrow
Copyright 2016-2019 The Apache Software Foundation
Copyright 2016-2024 The Apache Software Foundation

@@ -4,0 +4,0 @@ This product includes software developed at

{
"version": "14.0.2",
"version": "15.0.0",
"name": "@apache-arrow/es5-umd",

@@ -25,16 +25,15 @@ "unpkg": "Arrow.js",

"dependencies": {
"@types/command-line-args": "5.2.0",
"@types/command-line-usage": "5.0.2",
"@types/node": "20.3.0",
"@types/pad-left": "2.1.1",
"command-line-args": "5.2.1",
"command-line-usage": "7.0.1",
"flatbuffers": "23.5.26",
"@swc/helpers": "^0.5.2",
"@types/command-line-args": "^5.2.1",
"@types/command-line-usage": "^5.0.2",
"@types/node": "^20.6.0",
"command-line-args": "^5.2.1",
"command-line-usage": "^7.0.1",
"flatbuffers": "^23.5.26",
"json-bignum": "^0.0.3",
"pad-left": "^2.1.0",
"tslib": "^2.5.3"
"tslib": "^2.6.2"
},
"bin": {
"arrow2csv": "bin/arrow2csv.js"
"arrow2csv": "bin/arrow2csv.cjs"
}
}

@@ -154,3 +154,3 @@ <!---

const uft8Vector = vectorFromArray(['foo', 'bar', 'baz'], new Utf8);
const utf8Vector = vectorFromArray(['foo', 'bar', 'baz'], new Utf8);

@@ -163,3 +163,3 @@ const dictionaryVector1 = vectorFromArray(

data: [0, 1, 2, 0, 1], // indexes into the dictionary
dictionary: uft8Vector,
dictionary: utf8Vector,
type: new Dictionary(new Utf8, new Uint8)

@@ -166,0 +166,0 @@ });

@@ -26,5 +26,4 @@ #! /usr/bin/env node

import commandLineUsage from 'command-line-usage';
import commandLineArgs from 'command-line-args';
import padLeft from 'pad-left';
import * as commandLineUsage from 'command-line-usage';
import * as commandLineArgs from 'command-line-args';
// @ts-ignore

@@ -194,7 +193,7 @@ import { parse as bignumJSONParse } from 'json-bignum';

function horizontalRule(maxColWidths: number[], hr = '', sep = ' | ') {
return ` ${padLeft('', maxColWidths.reduce((x, y) => x + y, -2 + maxColWidths.length * sep.length), hr)}`;
return ` ${''.padStart(maxColWidths.reduce((x, y) => x + y, -2 + maxColWidths.length * sep.length), hr)}`;
}
function formatRow(row: string[] = [], maxColWidths: number[] = [], sep = ' | ') {
return `${row.map((x, j) => padLeft(x, maxColWidths[j])).join(sep)}`;
return row.map((x, j) => x.padStart(maxColWidths[j])).join(sep);
}

@@ -201,0 +200,0 @@

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