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

@geoarrow/flatgeobuf-wasm

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoarrow/flatgeobuf-wasm - npm Package Compare versions

Comparing version 0.2.0-beta.2 to 0.2.0-beta.4

111

bundler/index_bg.wasm.d.ts
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function __wbg_geotable_free(a: number): void;
export function geotable_intoTable(a: number): number;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function set_panic_hook(): void;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function __wbg_timestamp_free(a: number): void;

@@ -21,8 +19,8 @@ export function __wbg_duration_free(a: number): void;

export function __wbg_runendencoded_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_time64_free(a: number): void;
export function __wbg_time32_free(a: number): void;
export function __wbg_list_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_null_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_int16_free(a: number): void;

@@ -65,3 +63,2 @@ export function __wbg_int32_free(a: number): void;

export function largebinarydata_to_ffi(a: number, b: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_uint16data_free(a: number): void;

@@ -71,10 +68,48 @@ export function __wbg_uint32data_free(a: number): void;

export function __wbg_uint8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int32data_free(a: number): void;
export function __wbg_int64data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_float64data_free(a: number): void;
export function __wbg_utf8data_free(a: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_largeutf8data_free(a: number): void;
export function __wbg_largebinarydata_free(a: number): void;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_arrayAddrs(a: number, b: number): void;
export function ffitable_drop(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number, b: number): void;
export function table_intoFFI(a: number, b: number): void;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function table_numBatches(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_schemaAddr(a: number): number;
export function __wbg_ffiarrowschema_free(a: number): void;
export function ffiarrowschema_addr(a: number): number;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffirecordbatch_arrayAddr(a: number): number;
export function __wbg_booleanvector_free(a: number): void;

@@ -97,16 +132,2 @@ export function __wbg_uint8vector_free(a: number): void;

export function __wbg_largebinaryvector_free(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number): number;
export function table_intoFFI(a: number): number;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_drop(a: number): void;
export function table_numBatches(a: number): number;
export function __wbg_field_free(a: number): void;

@@ -116,13 +137,6 @@ export function field_to_ffi(a: number, b: number): void;

export function field_with_name(a: number, b: number, c: number, d: number): void;
export function field_data_type(a: number): number;
export function field_data_type(a: number, b: number): void;
export function field_is_nullable(a: number): number;
export function field_metadata(a: number, b: number): void;
export function field_with_metadata(a: number, b: number, c: number): void;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_recordbatch_free(a: number): void;

@@ -138,33 +152,12 @@ export function recordbatch_numRows(a: number): number;

export function recordbatch_get_array_memory_size(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_arrayAddr(a: number): number;
export function ffirecordbatch_schemaAddr(a: number): number;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowschema_free(a: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffiarrowarraystream_free(a: number): void;
export function ffiarrowarraystream_addr(a: number): number;
export function ffiarrowarraystream_get_schema(a: number, b: number): void;
export function ffiarrowarraystream_get_next(a: number, b: number): void;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_ffivector_free(a: number): void;
export function ffivector_schemaAddr(a: number): number;
export function ffivector_arrayAddr(a: number, b: number, c: number): void;
export function __wbg_ffiarrowarraystreamreader_free(a: number): void;
export function ffiarrowarraystreamreader_tmp(a: number): void;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffiarrowschema_addr(a: number): number;
export function ffivector_schemaAddr(a: number): number;
export function __wbindgen_malloc(a: number, b: number): number;

@@ -171,0 +164,0 @@ export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;

/* tslint:disable */
/* eslint-disable */
/**
*/
export function set_panic_hook(): void;
/**
* Read a FlatGeobuf file into GeoArrow memory

@@ -26,6 +23,9 @@ *

* @param {number | undefined} [batch_size]
* @returns {GeoTable}
* @returns {Table}
*/
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable;
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): Table;
/**
*/
export function set_panic_hook(): void;
/**
* Returns a handle to this wasm instance's `WebAssembly.Memory`

@@ -43,15 +43,2 @@ * @returns {Memory}

*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
/**
*/
export enum DateUnit {
Day = 0,
Millisecond = 1,
}
/**
*/
export enum UnionMode {

@@ -63,7 +50,5 @@ Sparse = 0,

*/
export enum TimeUnit {
Second = 0,
export enum DateUnit {
Day = 0,
Millisecond = 1,
Microsecond = 2,
Nanosecond = 3,
}

@@ -153,2 +138,10 @@ /**

*/
export enum TimeUnit {
Second = 0,
Millisecond = 1,
Microsecond = 2,
Nanosecond = 3,
}
/**
*/
export enum BufferType {

@@ -187,16 +180,23 @@ /**

}
/**
*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
export type FieldMetadata = Map<string, string>;
export type FunctionTable = WebAssembly.Table;
export type SchemaMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type FunctionTable = WebAssembly.Table;
export type FieldMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type SchemaMetadata = Map<string, string>;

@@ -329,27 +329,2 @@

*/
export class FFIArrowArrayStream {
free(): void;
/**
* @returns {number}
*/
addr(): number;
/**
* @returns {FFIArrowSchema}
*/
get_schema(): FFIArrowSchema;
/**
* @returns {FFIArrowArray | undefined}
*/
get_next(): FFIArrowArray | undefined;
}
/**
*/
export class FFIArrowArrayStreamReader {
free(): void;
/**
*/
tmp(): void;
}
/**
*/
export class FFIArrowSchema {

@@ -386,3 +361,3 @@ free(): void;

/**
* A pointer to an Arrow `Data`` in WebAssembly memory.
* An Arrow array including associated field metadata.
*

@@ -520,6 +495,11 @@ * Using [`arrow-js-ffi`](https://github.com/kylebarron/arrow-js-ffi), you can view or copy Arrow

/**
* @returns {Uint32Array}
*/
arrayAddrs(): Uint32Array;
/**
*/
drop(): void;
}
/**
* A chunked Arrow array including associated field metadata
*/

@@ -656,12 +636,2 @@ export class FFIVector {

/**
*/
export class GeoTable {
free(): void;
/**
* Consume this GeoTable and convert into a non-spatial Arrow Table
* @returns {Table}
*/
intoTable(): Table;
}
/**
* A signed 16-bit integer.

@@ -668,0 +638,0 @@ */

/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function __wbg_geotable_free(a: number): void;
export function geotable_intoTable(a: number): number;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function set_panic_hook(): void;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function __wbg_timestamp_free(a: number): void;

@@ -21,8 +19,8 @@ export function __wbg_duration_free(a: number): void;

export function __wbg_runendencoded_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_time64_free(a: number): void;
export function __wbg_time32_free(a: number): void;
export function __wbg_list_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_null_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_int16_free(a: number): void;

@@ -65,3 +63,2 @@ export function __wbg_int32_free(a: number): void;

export function largebinarydata_to_ffi(a: number, b: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_uint16data_free(a: number): void;

@@ -71,10 +68,48 @@ export function __wbg_uint32data_free(a: number): void;

export function __wbg_uint8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int32data_free(a: number): void;
export function __wbg_int64data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_float64data_free(a: number): void;
export function __wbg_utf8data_free(a: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_largeutf8data_free(a: number): void;
export function __wbg_largebinarydata_free(a: number): void;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_arrayAddrs(a: number, b: number): void;
export function ffitable_drop(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number, b: number): void;
export function table_intoFFI(a: number, b: number): void;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function table_numBatches(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_schemaAddr(a: number): number;
export function __wbg_ffiarrowschema_free(a: number): void;
export function ffiarrowschema_addr(a: number): number;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffirecordbatch_arrayAddr(a: number): number;
export function __wbg_booleanvector_free(a: number): void;

@@ -97,16 +132,2 @@ export function __wbg_uint8vector_free(a: number): void;

export function __wbg_largebinaryvector_free(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number): number;
export function table_intoFFI(a: number): number;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_drop(a: number): void;
export function table_numBatches(a: number): number;
export function __wbg_field_free(a: number): void;

@@ -116,13 +137,6 @@ export function field_to_ffi(a: number, b: number): void;

export function field_with_name(a: number, b: number, c: number, d: number): void;
export function field_data_type(a: number): number;
export function field_data_type(a: number, b: number): void;
export function field_is_nullable(a: number): number;
export function field_metadata(a: number, b: number): void;
export function field_with_metadata(a: number, b: number, c: number): void;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_recordbatch_free(a: number): void;

@@ -138,33 +152,12 @@ export function recordbatch_numRows(a: number): number;

export function recordbatch_get_array_memory_size(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_arrayAddr(a: number): number;
export function ffirecordbatch_schemaAddr(a: number): number;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowschema_free(a: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffiarrowarraystream_free(a: number): void;
export function ffiarrowarraystream_addr(a: number): number;
export function ffiarrowarraystream_get_schema(a: number, b: number): void;
export function ffiarrowarraystream_get_next(a: number, b: number): void;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_ffivector_free(a: number): void;
export function ffivector_schemaAddr(a: number): number;
export function ffivector_arrayAddr(a: number, b: number, c: number): void;
export function __wbg_ffiarrowarraystreamreader_free(a: number): void;
export function ffiarrowarraystreamreader_tmp(a: number): void;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffiarrowschema_addr(a: number): number;
export function ffivector_schemaAddr(a: number): number;
export function __wbindgen_malloc(a: number, b: number): number;

@@ -171,0 +164,0 @@ export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;

/* tslint:disable */
/* eslint-disable */
/**
*/
export function set_panic_hook(): void;
/**
* Read a FlatGeobuf file into GeoArrow memory

@@ -26,6 +23,9 @@ *

* @param {number | undefined} [batch_size]
* @returns {GeoTable}
* @returns {Table}
*/
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable;
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): Table;
/**
*/
export function set_panic_hook(): void;
/**
* Returns a handle to this wasm instance's `WebAssembly.Memory`

@@ -43,30 +43,2 @@ * @returns {Memory}

*/
export enum TimeUnit {
Second = 0,
Millisecond = 1,
Microsecond = 2,
Nanosecond = 3,
}
/**
*/
export enum Precision {
Half = 0,
Single = 1,
Double = 2,
}
/**
*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
/**
*/
export enum DateUnit {
Day = 0,
Millisecond = 1,
}
/**
*/
export enum Type {

@@ -185,16 +157,44 @@ /**

}
/**
*/
export enum TimeUnit {
Second = 0,
Millisecond = 1,
Microsecond = 2,
Nanosecond = 3,
}
/**
*/
export enum Precision {
Half = 0,
Single = 1,
Double = 2,
}
/**
*/
export enum DateUnit {
Day = 0,
Millisecond = 1,
}
/**
*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
export type FieldMetadata = Map<string, string>;
export type FunctionTable = WebAssembly.Table;
export type SchemaMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type FunctionTable = WebAssembly.Table;
export type FieldMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type SchemaMetadata = Map<string, string>;

@@ -327,27 +327,2 @@

*/
export class FFIArrowArrayStream {
free(): void;
/**
* @returns {number}
*/
addr(): number;
/**
* @returns {FFIArrowSchema}
*/
get_schema(): FFIArrowSchema;
/**
* @returns {FFIArrowArray | undefined}
*/
get_next(): FFIArrowArray | undefined;
}
/**
*/
export class FFIArrowArrayStreamReader {
free(): void;
/**
*/
tmp(): void;
}
/**
*/
export class FFIArrowSchema {

@@ -384,3 +359,3 @@ free(): void;

/**
* A pointer to an Arrow `Data`` in WebAssembly memory.
* An Arrow array including associated field metadata.
*

@@ -518,6 +493,11 @@ * Using [`arrow-js-ffi`](https://github.com/kylebarron/arrow-js-ffi), you can view or copy Arrow

/**
* @returns {Uint32Array}
*/
arrayAddrs(): Uint32Array;
/**
*/
drop(): void;
}
/**
* A chunked Arrow array including associated field metadata
*/

@@ -654,12 +634,2 @@ export class FFIVector {

/**
*/
export class GeoTable {
free(): void;
/**
* Consume this GeoTable and convert into a non-spatial Arrow Table
* @returns {Table}
*/
intoTable(): Table;
}
/**
* A signed 16-bit integer.

@@ -1331,6 +1301,4 @@ */

readonly memory: WebAssembly.Memory;
readonly __wbg_geotable_free: (a: number) => void;
readonly geotable_intoTable: (a: number) => number;
readonly readFlatGeobuf: (a: number, b: number, c: number, d: number, e: number) => void;
readonly set_panic_hook: () => void;
readonly readFlatGeobuf: (a: number, b: number, c: number, d: number, e: number) => void;
readonly __wbg_timestamp_free: (a: number) => void;

@@ -1349,8 +1317,8 @@ readonly __wbg_duration_free: (a: number) => void;

readonly __wbg_runendencoded_free: (a: number) => void;
readonly __wbg_decimal256_free: (a: number) => void;
readonly __wbg_time64_free: (a: number) => void;
readonly __wbg_time32_free: (a: number) => void;
readonly __wbg_list_free: (a: number) => void;
readonly __wbg_decimal256_free: (a: number) => void;
readonly __wbg_int8_free: (a: number) => void;
readonly __wbg_null_free: (a: number) => void;
readonly __wbg_int8_free: (a: number) => void;
readonly __wbg_int16_free: (a: number) => void;

@@ -1393,3 +1361,2 @@ readonly __wbg_int32_free: (a: number) => void;

readonly largebinarydata_to_ffi: (a: number, b: number) => void;
readonly __wbg_listdata_free: (a: number) => void;
readonly __wbg_uint16data_free: (a: number) => void;

@@ -1399,10 +1366,48 @@ readonly __wbg_uint32data_free: (a: number) => void;

readonly __wbg_uint8data_free: (a: number) => void;
readonly __wbg_int16data_free: (a: number) => void;
readonly __wbg_int8data_free: (a: number) => void;
readonly __wbg_int32data_free: (a: number) => void;
readonly __wbg_int64data_free: (a: number) => void;
readonly __wbg_int8data_free: (a: number) => void;
readonly __wbg_int16data_free: (a: number) => void;
readonly __wbg_float64data_free: (a: number) => void;
readonly __wbg_utf8data_free: (a: number) => void;
readonly __wbg_listdata_free: (a: number) => void;
readonly __wbg_largeutf8data_free: (a: number) => void;
readonly __wbg_largebinarydata_free: (a: number) => void;
readonly uint8data_to_typed_array: (a: number, b: number) => void;
readonly uint16data_to_typed_array: (a: number, b: number) => void;
readonly uint32data_to_typed_array: (a: number, b: number) => void;
readonly uint64data_to_typed_array: (a: number, b: number) => void;
readonly int8data_to_typed_array: (a: number, b: number) => void;
readonly int16data_to_typed_array: (a: number, b: number) => void;
readonly int32data_to_typed_array: (a: number, b: number) => void;
readonly int64data_to_typed_array: (a: number, b: number) => void;
readonly float32data_to_typed_array: (a: number, b: number) => void;
readonly float64data_to_typed_array: (a: number, b: number) => void;
readonly __wbg_ffiarrowarray_free: (a: number) => void;
readonly ffiarrowarray_addr: (a: number) => number;
readonly __wbg_ffidata_free: (a: number) => void;
readonly ffidata_arrayAddr: (a: number) => number;
readonly ffidata_schema_addr: (a: number) => number;
readonly __wbg_ffitable_free: (a: number) => void;
readonly ffitable_numBatches: (a: number) => number;
readonly ffitable_schemaAddr: (a: number) => number;
readonly ffitable_arrayAddr: (a: number, b: number) => number;
readonly ffitable_arrayAddrs: (a: number, b: number) => void;
readonly ffitable_drop: (a: number) => void;
readonly __wbg_table_free: (a: number) => void;
readonly table_schema: (a: number) => number;
readonly table_recordBatch: (a: number, b: number) => number;
readonly table_toFFI: (a: number, b: number) => void;
readonly table_intoFFI: (a: number, b: number) => void;
readonly table_intoIPCStream: (a: number, b: number) => void;
readonly table_fromIPCStream: (a: number, b: number, c: number) => void;
readonly table_get_array_memory_size: (a: number) => number;
readonly table_numBatches: (a: number) => number;
readonly __wbg_ffirecordbatch_free: (a: number) => void;
readonly ffirecordbatch_schemaAddr: (a: number) => number;
readonly __wbg_ffiarrowschema_free: (a: number) => void;
readonly ffiarrowschema_addr: (a: number) => number;
readonly wasmMemory: () => number;
readonly _functionTable: () => number;
readonly ffirecordbatch_arrayAddr: (a: number) => number;
readonly __wbg_booleanvector_free: (a: number) => void;

@@ -1425,16 +1430,2 @@ readonly __wbg_uint8vector_free: (a: number) => void;

readonly __wbg_largebinaryvector_free: (a: number) => void;
readonly __wbg_table_free: (a: number) => void;
readonly table_schema: (a: number) => number;
readonly table_recordBatch: (a: number, b: number) => number;
readonly table_toFFI: (a: number) => number;
readonly table_intoFFI: (a: number) => number;
readonly table_intoIPCStream: (a: number, b: number) => void;
readonly table_fromIPCStream: (a: number, b: number, c: number) => void;
readonly table_get_array_memory_size: (a: number) => number;
readonly __wbg_ffitable_free: (a: number) => void;
readonly ffitable_numBatches: (a: number) => number;
readonly ffitable_schemaAddr: (a: number) => number;
readonly ffitable_arrayAddr: (a: number, b: number) => number;
readonly ffitable_drop: (a: number) => void;
readonly table_numBatches: (a: number) => number;
readonly __wbg_field_free: (a: number) => void;

@@ -1444,13 +1435,6 @@ readonly field_to_ffi: (a: number, b: number) => void;

readonly field_with_name: (a: number, b: number, c: number, d: number) => void;
readonly field_data_type: (a: number) => number;
readonly field_data_type: (a: number, b: number) => void;
readonly field_is_nullable: (a: number) => number;
readonly field_metadata: (a: number, b: number) => void;
readonly field_with_metadata: (a: number, b: number, c: number) => void;
readonly __wbg_schema_free: (a: number) => void;
readonly schema_to_ffi: (a: number, b: number) => void;
readonly schema_field: (a: number, b: number) => number;
readonly schema_field_with_name: (a: number, b: number, c: number, d: number) => void;
readonly schema_with_metadata: (a: number, b: number, c: number) => void;
readonly schema_index_of: (a: number, b: number, c: number, d: number) => void;
readonly schema_metadata: (a: number, b: number) => void;
readonly __wbg_recordbatch_free: (a: number) => void;

@@ -1466,33 +1450,12 @@ readonly recordbatch_numRows: (a: number) => number;

readonly recordbatch_get_array_memory_size: (a: number) => number;
readonly __wbg_ffirecordbatch_free: (a: number) => void;
readonly ffirecordbatch_arrayAddr: (a: number) => number;
readonly ffirecordbatch_schemaAddr: (a: number) => number;
readonly uint8data_to_typed_array: (a: number, b: number) => void;
readonly uint16data_to_typed_array: (a: number, b: number) => void;
readonly uint32data_to_typed_array: (a: number, b: number) => void;
readonly uint64data_to_typed_array: (a: number, b: number) => void;
readonly int8data_to_typed_array: (a: number, b: number) => void;
readonly int16data_to_typed_array: (a: number, b: number) => void;
readonly int32data_to_typed_array: (a: number, b: number) => void;
readonly int64data_to_typed_array: (a: number, b: number) => void;
readonly float32data_to_typed_array: (a: number, b: number) => void;
readonly float64data_to_typed_array: (a: number, b: number) => void;
readonly __wbg_ffiarrowschema_free: (a: number) => void;
readonly __wbg_ffiarrowarray_free: (a: number) => void;
readonly ffiarrowarray_addr: (a: number) => number;
readonly __wbg_ffiarrowarraystream_free: (a: number) => void;
readonly ffiarrowarraystream_addr: (a: number) => number;
readonly ffiarrowarraystream_get_schema: (a: number, b: number) => void;
readonly ffiarrowarraystream_get_next: (a: number, b: number) => void;
readonly __wbg_ffidata_free: (a: number) => void;
readonly ffidata_arrayAddr: (a: number) => number;
readonly ffidata_schema_addr: (a: number) => number;
readonly __wbg_schema_free: (a: number) => void;
readonly schema_to_ffi: (a: number, b: number) => void;
readonly schema_field: (a: number, b: number) => number;
readonly schema_field_with_name: (a: number, b: number, c: number, d: number) => void;
readonly schema_with_metadata: (a: number, b: number, c: number) => void;
readonly schema_index_of: (a: number, b: number, c: number, d: number) => void;
readonly schema_metadata: (a: number, b: number) => void;
readonly __wbg_ffivector_free: (a: number) => void;
readonly ffivector_schemaAddr: (a: number) => number;
readonly ffivector_arrayAddr: (a: number, b: number, c: number) => void;
readonly __wbg_ffiarrowarraystreamreader_free: (a: number) => void;
readonly ffiarrowarraystreamreader_tmp: (a: number) => void;
readonly wasmMemory: () => number;
readonly _functionTable: () => number;
readonly ffiarrowschema_addr: (a: number) => number;
readonly ffivector_schemaAddr: (a: number) => number;
readonly __wbindgen_malloc: (a: number, b: number) => number;

@@ -1499,0 +1462,0 @@ readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;

/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function __wbg_geotable_free(a: number): void;
export function geotable_intoTable(a: number): number;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function set_panic_hook(): void;
export function readFlatGeobuf(a: number, b: number, c: number, d: number, e: number): void;
export function __wbg_timestamp_free(a: number): void;

@@ -21,8 +19,8 @@ export function __wbg_duration_free(a: number): void;

export function __wbg_runendencoded_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_time64_free(a: number): void;
export function __wbg_time32_free(a: number): void;
export function __wbg_list_free(a: number): void;
export function __wbg_decimal256_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_null_free(a: number): void;
export function __wbg_int8_free(a: number): void;
export function __wbg_int16_free(a: number): void;

@@ -65,3 +63,2 @@ export function __wbg_int32_free(a: number): void;

export function largebinarydata_to_ffi(a: number, b: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_uint16data_free(a: number): void;

@@ -71,10 +68,48 @@ export function __wbg_uint32data_free(a: number): void;

export function __wbg_uint8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int32data_free(a: number): void;
export function __wbg_int64data_free(a: number): void;
export function __wbg_int8data_free(a: number): void;
export function __wbg_int16data_free(a: number): void;
export function __wbg_float64data_free(a: number): void;
export function __wbg_utf8data_free(a: number): void;
export function __wbg_listdata_free(a: number): void;
export function __wbg_largeutf8data_free(a: number): void;
export function __wbg_largebinarydata_free(a: number): void;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_arrayAddrs(a: number, b: number): void;
export function ffitable_drop(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number, b: number): void;
export function table_intoFFI(a: number, b: number): void;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function table_numBatches(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_schemaAddr(a: number): number;
export function __wbg_ffiarrowschema_free(a: number): void;
export function ffiarrowschema_addr(a: number): number;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffirecordbatch_arrayAddr(a: number): number;
export function __wbg_booleanvector_free(a: number): void;

@@ -97,16 +132,2 @@ export function __wbg_uint8vector_free(a: number): void;

export function __wbg_largebinaryvector_free(a: number): void;
export function __wbg_table_free(a: number): void;
export function table_schema(a: number): number;
export function table_recordBatch(a: number, b: number): number;
export function table_toFFI(a: number): number;
export function table_intoFFI(a: number): number;
export function table_intoIPCStream(a: number, b: number): void;
export function table_fromIPCStream(a: number, b: number, c: number): void;
export function table_get_array_memory_size(a: number): number;
export function __wbg_ffitable_free(a: number): void;
export function ffitable_numBatches(a: number): number;
export function ffitable_schemaAddr(a: number): number;
export function ffitable_arrayAddr(a: number, b: number): number;
export function ffitable_drop(a: number): void;
export function table_numBatches(a: number): number;
export function __wbg_field_free(a: number): void;

@@ -116,13 +137,6 @@ export function field_to_ffi(a: number, b: number): void;

export function field_with_name(a: number, b: number, c: number, d: number): void;
export function field_data_type(a: number): number;
export function field_data_type(a: number, b: number): void;
export function field_is_nullable(a: number): number;
export function field_metadata(a: number, b: number): void;
export function field_with_metadata(a: number, b: number, c: number): void;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_recordbatch_free(a: number): void;

@@ -138,33 +152,12 @@ export function recordbatch_numRows(a: number): number;

export function recordbatch_get_array_memory_size(a: number): number;
export function __wbg_ffirecordbatch_free(a: number): void;
export function ffirecordbatch_arrayAddr(a: number): number;
export function ffirecordbatch_schemaAddr(a: number): number;
export function uint8data_to_typed_array(a: number, b: number): void;
export function uint16data_to_typed_array(a: number, b: number): void;
export function uint32data_to_typed_array(a: number, b: number): void;
export function uint64data_to_typed_array(a: number, b: number): void;
export function int8data_to_typed_array(a: number, b: number): void;
export function int16data_to_typed_array(a: number, b: number): void;
export function int32data_to_typed_array(a: number, b: number): void;
export function int64data_to_typed_array(a: number, b: number): void;
export function float32data_to_typed_array(a: number, b: number): void;
export function float64data_to_typed_array(a: number, b: number): void;
export function __wbg_ffiarrowschema_free(a: number): void;
export function __wbg_ffiarrowarray_free(a: number): void;
export function ffiarrowarray_addr(a: number): number;
export function __wbg_ffiarrowarraystream_free(a: number): void;
export function ffiarrowarraystream_addr(a: number): number;
export function ffiarrowarraystream_get_schema(a: number, b: number): void;
export function ffiarrowarraystream_get_next(a: number, b: number): void;
export function __wbg_ffidata_free(a: number): void;
export function ffidata_arrayAddr(a: number): number;
export function ffidata_schema_addr(a: number): number;
export function __wbg_schema_free(a: number): void;
export function schema_to_ffi(a: number, b: number): void;
export function schema_field(a: number, b: number): number;
export function schema_field_with_name(a: number, b: number, c: number, d: number): void;
export function schema_with_metadata(a: number, b: number, c: number): void;
export function schema_index_of(a: number, b: number, c: number, d: number): void;
export function schema_metadata(a: number, b: number): void;
export function __wbg_ffivector_free(a: number): void;
export function ffivector_schemaAddr(a: number): number;
export function ffivector_arrayAddr(a: number, b: number, c: number): void;
export function __wbg_ffiarrowarraystreamreader_free(a: number): void;
export function ffiarrowarraystreamreader_tmp(a: number): void;
export function wasmMemory(): number;
export function _functionTable(): number;
export function ffiarrowschema_addr(a: number): number;
export function ffivector_schemaAddr(a: number): number;
export function __wbindgen_malloc(a: number, b: number): number;

@@ -171,0 +164,0 @@ export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;

/* tslint:disable */
/* eslint-disable */
/**
*/
export function set_panic_hook(): void;
/**
* Read a FlatGeobuf file into GeoArrow memory

@@ -26,6 +23,9 @@ *

* @param {number | undefined} [batch_size]
* @returns {GeoTable}
* @returns {Table}
*/
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): GeoTable;
export function readFlatGeobuf(file: Uint8Array, batch_size?: number): Table;
/**
*/
export function set_panic_hook(): void;
/**
* Returns a handle to this wasm instance's `WebAssembly.Memory`

@@ -43,18 +43,39 @@ * @returns {Memory}

*/
export enum UnionMode {
Sparse = 0,
Dense = 1,
export enum DateUnit {
Day = 0,
Millisecond = 1,
}
/**
*/
export enum Precision {
Half = 0,
Single = 1,
Double = 2,
export enum BufferType {
/**
*
* * used in List type, Dense Union and variable length primitive types (String, Binary)
*
*/
Offset = 0,
/**
*
* * actual data, either fixed width primitive types in slots or variable width delimited by an OFFSET vector
*
*/
Data = 1,
/**
*
* * Bit vector indicating if each value is null
*
*/
Validity = 2,
/**
*
* * Type vector used in Union type
*
*/
Type = 3,
}
/**
*/
export enum DateUnit {
Day = 0,
Millisecond = 1,
export enum UnionMode {
Sparse = 0,
Dense = 1,
}

@@ -71,2 +92,16 @@ /**

*/
export enum Precision {
Half = 0,
Single = 1,
Double = 2,
}
/**
*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
/**
*/
export enum Type {

@@ -151,51 +186,16 @@ /**

}
/**
*/
export enum IntervalUnit {
YearMonth = 0,
DayTime = 1,
MonthDayNano = 2,
}
/**
*/
export enum BufferType {
/**
*
* * used in List type, Dense Union and variable length primitive types (String, Binary)
*
*/
Offset = 0,
/**
*
* * actual data, either fixed width primitive types in slots or variable width delimited by an OFFSET vector
*
*/
Data = 1,
/**
*
* * Bit vector indicating if each value is null
*
*/
Validity = 2,
/**
*
* * Type vector used in Union type
*
*/
Type = 3,
}
export type FieldMetadata = Map<string, string>;
export type FunctionTable = WebAssembly.Table;
export type SchemaMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type FunctionTable = WebAssembly.Table;
export type FieldMetadata = Map<string, string>;
export type Memory = WebAssembly.Memory;
export type SchemaMetadata = Map<string, string>;

@@ -328,27 +328,2 @@

*/
export class FFIArrowArrayStream {
free(): void;
/**
* @returns {number}
*/
addr(): number;
/**
* @returns {FFIArrowSchema}
*/
get_schema(): FFIArrowSchema;
/**
* @returns {FFIArrowArray | undefined}
*/
get_next(): FFIArrowArray | undefined;
}
/**
*/
export class FFIArrowArrayStreamReader {
free(): void;
/**
*/
tmp(): void;
}
/**
*/
export class FFIArrowSchema {

@@ -385,3 +360,3 @@ free(): void;

/**
* A pointer to an Arrow `Data`` in WebAssembly memory.
* An Arrow array including associated field metadata.
*

@@ -519,6 +494,11 @@ * Using [`arrow-js-ffi`](https://github.com/kylebarron/arrow-js-ffi), you can view or copy Arrow

/**
* @returns {Uint32Array}
*/
arrayAddrs(): Uint32Array;
/**
*/
drop(): void;
}
/**
* A chunked Arrow array including associated field metadata
*/

@@ -655,12 +635,2 @@ export class FFIVector {

/**
*/
export class GeoTable {
free(): void;
/**
* Consume this GeoTable and convert into a non-spatial Arrow Table
* @returns {Table}
*/
intoTable(): Table;
}
/**
* A signed 16-bit integer.

@@ -667,0 +637,0 @@ */

@@ -7,3 +7,3 @@ {

"description": "Efficient, vectorized geospatial operations in WebAssembly.",
"version": "0.2.0-beta.2",
"version": "0.2.0-beta.4",
"license": "MIT OR Apache-2.0",

@@ -10,0 +10,0 @@ "repository": {

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 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