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

@loaders.gl/arrow

Package Overview
Dependencies
Maintainers
9
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/arrow - npm Package Compare versions

Comparing version 4.0.0-alpha.25 to 4.0.0-alpha.26

dist/es5/lib/arrow-table.js

2

dist/arrow-loader.d.ts
import type { Loader, LoaderOptions } from '@loaders.gl/loader-utils';
import type { ArrowTable } from '@loaders.gl/schema';
import type { ArrowTable } from './lib/arrow-table';
export type ArrowLoaderOptions = LoaderOptions & {

@@ -4,0 +4,0 @@ arrow?: {

@@ -7,3 +7,3 @@ "use strict";

exports.ArrowLoader = void 0;
var VERSION = typeof "4.0.0-alpha.25" !== 'undefined' ? "4.0.0-alpha.25" : 'latest';
var VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
var ArrowLoader = {

@@ -10,0 +10,0 @@ name: 'Apache Arrow',

@@ -8,3 +8,3 @@ "use strict";

var _encodeArrow = require("./lib/encode-arrow");
var VERSION = typeof "4.0.0-alpha.25" !== 'undefined' ? "4.0.0-alpha.25" : 'latest';
var VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
var ArrowWriter = {

@@ -11,0 +11,0 @@ name: 'Apache Arrow',

@@ -16,4 +16,4 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _schema = require("@loaders.gl/schema");
var _apacheArrow = require("apache-arrow");
var _schema = require("@loaders.gl/schema");
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }

@@ -20,0 +20,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

@@ -1,2 +0,2 @@

const VERSION = typeof "4.0.0-alpha.25" !== 'undefined' ? "4.0.0-alpha.25" : 'latest';
const VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
export const ArrowLoader = {

@@ -3,0 +3,0 @@ name: 'Apache Arrow',

import { encodeArrowSync } from './lib/encode-arrow';
const VERSION = typeof "4.0.0-alpha.25" !== 'undefined' ? "4.0.0-alpha.25" : 'latest';
const VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
export const ArrowWriter = {

@@ -4,0 +4,0 @@ name: 'Apache Arrow',

import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { ColumnarTableBatchAggregator } from '@loaders.gl/schema';
import { Table as ApacheArrowTable, Schema, Field, RecordBatch, Struct, makeVector, makeData, Float32 } from 'apache-arrow';
import { ColumnarTableBatchAggregator } from '@loaders.gl/schema';
export class ArrowTableBatchAggregator extends ColumnarTableBatchAggregator {

@@ -5,0 +5,0 @@ constructor(schema, options) {

import type { LoaderWithParser } from '@loaders.gl/loader-utils';
import type { ArrowLoaderOptions } from './arrow-loader';
import { ArrowTable, ArrowTableBatch, ColumnarTable, ObjectRowTable } from '@loaders.gl/schema';
import type { ArrowTableBatch, ColumnarTable, ObjectRowTable } from '@loaders.gl/schema';
import type { ArrowTable } from './lib/arrow-table';
import { ArrowLoader as ArrowWorkerLoader } from './arrow-loader';
export type { ArrowTable, ArrowTableBatch } from './lib/arrow-table';
export { VECTOR_TYPES } from './types';

@@ -6,0 +8,0 @@ export { ArrowWriter } from './arrow-writer';

@@ -1,4 +0,4 @@

import type { ArrowTableBatch } from '@loaders.gl/schema';
import { ColumnarTableBatchAggregator } from '@loaders.gl/schema';
import type { ArrowTableBatch } from './arrow-table';
import { Schema } from 'apache-arrow';
import { ColumnarTableBatchAggregator } from '@loaders.gl/schema';
export declare class ArrowTableBatchAggregator extends ColumnarTableBatchAggregator {

@@ -5,0 +5,0 @@ arrowSchema: Schema | null;

@@ -1,3 +0,4 @@

import type { ColumnarTable, ObjectRowTable, ArrowTable } from '@loaders.gl/schema';
import type { ColumnarTable, ObjectRowTable } from '@loaders.gl/schema';
import type { Table as ApacheArrowTable } from 'apache-arrow';
import type { ArrowTable } from './arrow-table';
/**

@@ -4,0 +5,0 @@ * Wrap an apache arrow table in a loaders.gl table wrapper.

@@ -1,2 +0,2 @@

import { ArrowTableBatch } from '@loaders.gl/schema';
import type { ArrowTableBatch } from './arrow-table';
/**

@@ -3,0 +3,0 @@ */

@@ -1,4 +0,5 @@

import type { ArrowTable, ColumnarTable, ObjectRowTable } from '@loaders.gl/schema';
import type { ColumnarTable, ObjectRowTable } from '@loaders.gl/schema';
import type { ArrowTable } from './arrow-table';
import type { ArrowLoaderOptions } from '../arrow-loader';
export default function parseArrowSync(arrayBuffer: any, options?: ArrowLoaderOptions): ArrowTable | ColumnarTable | ObjectRowTable;
//# sourceMappingURL=parse-arrow-sync.d.ts.map
{
"name": "@loaders.gl/arrow",
"version": "4.0.0-alpha.25",
"version": "4.0.0-alpha.26",
"description": "Simple columnar table loader for the Apache Arrow format",

@@ -42,7 +42,7 @@ "license": "MIT",

"dependencies": {
"@loaders.gl/loader-utils": "4.0.0-alpha.25",
"@loaders.gl/schema": "4.0.0-alpha.25",
"@loaders.gl/loader-utils": "4.0.0-alpha.26",
"@loaders.gl/schema": "4.0.0-alpha.26",
"apache-arrow": "^13.0.0"
},
"gitHead": "40135f391b869388dbbcd615bbe51178d0c370be"
"gitHead": "91adce71f74dacc7c8bfc379f0d122f2beae70d9"
}
// loaders.gl, MIT license
import type {Loader, LoaderOptions} from '@loaders.gl/loader-utils';
import type {ArrowTable} from '@loaders.gl/schema';
import type {ArrowTable} from './lib/arrow-table';

@@ -5,0 +5,0 @@ // __VERSION__ is injected by babel-plugin-version-inline

@@ -0,4 +1,8 @@

// loaders.gl, MIT
import type {LoaderWithParser} from '@loaders.gl/loader-utils';
import type {ArrowLoaderOptions} from './arrow-loader';
import {ArrowTable, ArrowTableBatch, ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {ArrowTableBatch, ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {ArrowTable} from './lib/arrow-table';
import {TableBatchBuilder} from '@loaders.gl/schema';

@@ -15,2 +19,3 @@ import {ArrowLoader as ArrowWorkerLoader} from './arrow-loader';

// Types
export type {ArrowTable, ArrowTableBatch} from './lib/arrow-table';
export {VECTOR_TYPES} from './types';

@@ -17,0 +22,0 @@

@@ -1,2 +0,3 @@

import type {ArrowTableBatch} from '@loaders.gl/schema';
import {ColumnarTableBatchAggregator} from '@loaders.gl/schema';
import type {ArrowTableBatch} from './arrow-table';
import {

@@ -13,3 +14,2 @@ Table as ApacheArrowTable,

} from 'apache-arrow';
import {ColumnarTableBatchAggregator} from '@loaders.gl/schema';

@@ -16,0 +16,0 @@ export class ArrowTableBatchAggregator extends ColumnarTableBatchAggregator {

// loaders.gl, MIT license
import type {ColumnarTable, ObjectRowTable, ArrowTable} from '@loaders.gl/schema';
import type {ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {Table as ApacheArrowTable} from 'apache-arrow';
import type {ArrowTable} from './arrow-table';

@@ -5,0 +6,0 @@ /**

// TODO - this import defeats the sophisticated typescript checking in ArrowJS
import {ArrowTableBatch} from '@loaders.gl/schema';
import type {ArrowTableBatch} from './arrow-table';
import {RecordBatchReader, Table as ApacheArrowTable} from 'apache-arrow';

@@ -4,0 +4,0 @@ // import {isIterable} from '@loaders.gl/core';

@@ -1,2 +0,3 @@

import type {ArrowTable, ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {ColumnarTable, ObjectRowTable} from '@loaders.gl/schema';
import type {ArrowTable} from './arrow-table';
import {convertTable} from '@loaders.gl/schema';

@@ -3,0 +4,0 @@ import {tableFromIPC} from 'apache-arrow';

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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