@duckdb/duckdb-wasm 1.17.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/duckdb-browser-blocking.cjs +11 -11
- package/dist/duckdb-browser-blocking.cjs.map +3 -3
- package/dist/duckdb-browser-blocking.mjs +11 -11
- package/dist/duckdb-browser-blocking.mjs.map +3 -3
- package/dist/duckdb-browser-coi.pthread.worker.js +10 -10
- package/dist/duckdb-browser-coi.pthread.worker.js.map +3 -3
- package/dist/duckdb-browser-coi.worker.js +10 -10
- package/dist/duckdb-browser-coi.worker.js.map +3 -3
- package/dist/duckdb-browser-eh.worker.js +8 -8
- package/dist/duckdb-browser-eh.worker.js.map +3 -3
- package/dist/duckdb-browser-mvp.worker.js +8 -8
- package/dist/duckdb-browser-mvp.worker.js.map +3 -3
- package/dist/duckdb-browser.cjs +1 -1
- package/dist/duckdb-browser.cjs.map +4 -4
- package/dist/duckdb-browser.mjs +1 -1
- package/dist/duckdb-browser.mjs.map +4 -4
- package/dist/duckdb-coi.wasm +0 -0
- package/dist/duckdb-eh.wasm +0 -0
- package/dist/duckdb-mvp.wasm +0 -0
- package/dist/duckdb-node-blocking.cjs +4 -4
- package/dist/duckdb-node-blocking.cjs.map +4 -4
- package/dist/duckdb-node-eh.worker.cjs +4 -4
- package/dist/duckdb-node-eh.worker.cjs.map +4 -4
- package/dist/duckdb-node-mvp.worker.cjs +3 -3
- package/dist/duckdb-node-mvp.worker.cjs.map +4 -4
- package/dist/duckdb-node.cjs +1 -1
- package/dist/duckdb-node.cjs.map +4 -4
- package/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/tests-browser.js +1769 -1515
- package/dist/tests-browser.js.map +3 -3
- package/dist/tests-node.cjs +1796 -1524
- package/dist/tests-node.cjs.map +4 -4
- package/dist/types/src/bindings/bindings_base.d.ts +4 -4
- package/dist/types/src/bindings/bindings_interface.d.ts +3 -3
- package/dist/types/src/bindings/runtime.d.ts +6 -4
- package/dist/types/src/bindings/runtime_node.d.ts +1 -0
- package/dist/types/src/bindings/web_file.d.ts +2 -6
- package/dist/types/src/parallel/async_bindings.d.ts +3 -2
- package/dist/types/src/parallel/async_bindings_interface.d.ts +3 -2
- package/dist/types/src/parallel/worker_request.d.ts +3 -2
- package/dist/types/src/targets/duckdb-browser-blocking.d.ts +1 -0
- package/dist/types/src/targets/duckdb-node-blocking.d.ts +1 -0
- package/dist/types/src/targets/duckdb.d.ts +1 -1
- package/package.json +17 -17
|
@@ -4,7 +4,7 @@ import { Logger } from '../log';
|
|
|
4
4
|
import { InstantiationProgress } from './progress';
|
|
5
5
|
import { DuckDBBindings } from './bindings_interface';
|
|
6
6
|
import { DuckDBConnection } from './connection';
|
|
7
|
-
import { DuckDBRuntime } from './runtime';
|
|
7
|
+
import { DuckDBRuntime, DuckDBDataProtocol } from './runtime';
|
|
8
8
|
import { CSVInsertOptions, JSONInsertOptions, ArrowInsertOptions } from './insert_options';
|
|
9
9
|
import { ScriptTokens } from './tokens';
|
|
10
10
|
import { FileStatistics } from './file_stats';
|
|
@@ -48,7 +48,7 @@ export declare abstract class DuckDBBindingsBase implements DuckDBBindings {
|
|
|
48
48
|
protected onInstantiationProgress: ((p: InstantiationProgress) => void)[];
|
|
49
49
|
/** Instantiate the database */
|
|
50
50
|
instantiate(onProgress?: (progress: InstantiationProgress) => void): Promise<this>;
|
|
51
|
-
/** Open a database
|
|
51
|
+
/** Open a database with a config */
|
|
52
52
|
open(config: DuckDBConfig): void;
|
|
53
53
|
/** Reset the database */
|
|
54
54
|
reset(): void;
|
|
@@ -98,13 +98,13 @@ export declare abstract class DuckDBBindingsBase implements DuckDBBindings {
|
|
|
98
98
|
/** Glob file infos */
|
|
99
99
|
globFiles(path: string): WebFile[];
|
|
100
100
|
/** Register a file object URL */
|
|
101
|
-
registerFileURL(name: string, url?:
|
|
101
|
+
registerFileURL(name: string, url: string, proto: DuckDBDataProtocol, directIO?: boolean): void;
|
|
102
102
|
/** Register file text */
|
|
103
103
|
registerFileText(name: string, text: string): void;
|
|
104
104
|
/** Register a file buffer */
|
|
105
105
|
registerFileBuffer(name: string, buffer: Uint8Array): void;
|
|
106
106
|
/** Register a file object URL */
|
|
107
|
-
registerFileHandle<HandleType>(name: string, handle: HandleType): void;
|
|
107
|
+
registerFileHandle<HandleType>(name: string, handle: HandleType, protocol: DuckDBDataProtocol, directIO: boolean): void;
|
|
108
108
|
/** Drop file */
|
|
109
109
|
dropFile(name: string): void;
|
|
110
110
|
/** Drop files */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DuckDBConfig, DuckDBConnection, FileStatistics, InstantiationProgress } from '.';
|
|
1
|
+
import { DuckDBConfig, DuckDBConnection, DuckDBDataProtocol, FileStatistics, InstantiationProgress } from '.';
|
|
2
2
|
import { CSVInsertOptions, JSONInsertOptions, ArrowInsertOptions } from './insert_options';
|
|
3
3
|
import { ScriptTokens } from './tokens';
|
|
4
4
|
import { WebFile } from './web_file';
|
|
@@ -26,10 +26,10 @@ export interface DuckDBBindings {
|
|
|
26
26
|
insertArrowFromIPCStream(conn: number, buffer: Uint8Array, options?: ArrowInsertOptions): void;
|
|
27
27
|
insertCSVFromPath(conn: number, path: string, options: CSVInsertOptions): void;
|
|
28
28
|
insertJSONFromPath(conn: number, path: string, options: JSONInsertOptions): void;
|
|
29
|
-
registerFileURL(name: string, url
|
|
29
|
+
registerFileURL(name: string, url: string, proto: DuckDBDataProtocol, directIO: boolean): void;
|
|
30
30
|
registerFileText(name: string, text: string): void;
|
|
31
31
|
registerFileBuffer(name: string, buffer: Uint8Array): void;
|
|
32
|
-
registerFileHandle<HandleType>(name: string, handle: HandleType): void;
|
|
32
|
+
registerFileHandle<HandleType>(name: string, handle: HandleType, protocol: DuckDBDataProtocol, directIO: boolean): void;
|
|
33
33
|
globFiles(path: string): WebFile[];
|
|
34
34
|
dropFile(name: string): void;
|
|
35
35
|
dropFiles(): void;
|
|
@@ -12,9 +12,11 @@ export declare function readString(mod: DuckDBModule, begin: number, length: num
|
|
|
12
12
|
/** The data protocol */
|
|
13
13
|
export declare enum DuckDBDataProtocol {
|
|
14
14
|
BUFFER = 0,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
NODE_FS = 1,
|
|
16
|
+
BROWSER_FILEREADER = 2,
|
|
17
|
+
BROWSER_FSACCESS = 3,
|
|
18
|
+
HTTP = 4,
|
|
19
|
+
S3 = 5
|
|
18
20
|
}
|
|
19
21
|
/** File flags for opening files*/
|
|
20
22
|
export declare enum FileFlags {
|
|
@@ -40,7 +42,6 @@ export interface DuckDBFileInfo {
|
|
|
40
42
|
fileName: string;
|
|
41
43
|
dataProtocol: DuckDBDataProtocol;
|
|
42
44
|
dataUrl: string | null;
|
|
43
|
-
dataNativeFd: number | null;
|
|
44
45
|
allowFullHttpReads?: boolean;
|
|
45
46
|
s3Config?: S3Config;
|
|
46
47
|
}
|
|
@@ -59,6 +60,7 @@ export interface DuckDBRuntime {
|
|
|
59
60
|
_files?: Map<string, any>;
|
|
60
61
|
_udfFunctions: Map<number, UDFFunction>;
|
|
61
62
|
testPlatformFeature(mod: DuckDBModule, feature: number): boolean;
|
|
63
|
+
getDefaultDataProtocol(mod: DuckDBModule): number;
|
|
62
64
|
openFile(mod: DuckDBModule, fileId: number, flags: FileFlags): void;
|
|
63
65
|
syncFile(mod: DuckDBModule, fileId: number): void;
|
|
64
66
|
closeFile(mod: DuckDBModule, fileId: number): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DuckDBRuntime, DuckDBFileInfo } from './runtime';
|
|
2
2
|
import { DuckDBModule } from './duckdb_module';
|
|
3
3
|
export declare const NODE_RUNTIME: DuckDBRuntime & {
|
|
4
|
+
_filesById: Map<number, any>;
|
|
4
5
|
_fileInfoCache: Map<number, DuckDBFileInfo>;
|
|
5
6
|
resolveFileInfo(mod: DuckDBModule, fileId: number): DuckDBFileInfo | null;
|
|
6
7
|
};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
BUFFER = 0,
|
|
3
|
-
NATIVE = 1,
|
|
4
|
-
HTTP = 2
|
|
5
|
-
}
|
|
1
|
+
import { DuckDBDataProtocol } from './runtime';
|
|
6
2
|
export interface WebFile {
|
|
7
3
|
fileName: string;
|
|
8
|
-
dataProtocol:
|
|
4
|
+
dataProtocol: DuckDBDataProtocol;
|
|
9
5
|
fileId?: number;
|
|
10
6
|
fileSize?: number;
|
|
11
7
|
dataUrl?: string;
|
|
@@ -8,6 +8,7 @@ import { FileStatistics } from '../bindings/file_stats';
|
|
|
8
8
|
import { DuckDBConfig } from '../bindings/config';
|
|
9
9
|
import { InstantiationProgress } from '../bindings/progress';
|
|
10
10
|
import { WebFile } from '../bindings/web_file';
|
|
11
|
+
import { DuckDBDataProtocol } from '../bindings';
|
|
11
12
|
export declare class AsyncDuckDB implements AsyncDuckDBBindings {
|
|
12
13
|
/** The message handler */
|
|
13
14
|
protected readonly _onMessageHandler: (event: MessageEvent) => void;
|
|
@@ -97,13 +98,13 @@ export declare class AsyncDuckDB implements AsyncDuckDBBindings {
|
|
|
97
98
|
/** Register file text */
|
|
98
99
|
registerFileText(name: string, text: string): Promise<void>;
|
|
99
100
|
/** Register a file path. */
|
|
100
|
-
registerFileURL(name: string, url: string): Promise<void>;
|
|
101
|
+
registerFileURL(name: string, url: string, proto: DuckDBDataProtocol, directIO: boolean): Promise<void>;
|
|
101
102
|
/** Register an empty file buffer. */
|
|
102
103
|
registerEmptyFileBuffer(name: string): Promise<void>;
|
|
103
104
|
/** Register a file buffer. */
|
|
104
105
|
registerFileBuffer(name: string, buffer: Uint8Array): Promise<void>;
|
|
105
106
|
/** Register a file handle. */
|
|
106
|
-
registerFileHandle<HandleType>(name: string, handle: HandleType): Promise<void>;
|
|
107
|
+
registerFileHandle<HandleType>(name: string, handle: HandleType, protocol: DuckDBDataProtocol, directIO: boolean): Promise<void>;
|
|
107
108
|
/** Enable file statistics */
|
|
108
109
|
collectFileStatistics(name: string, enable: boolean): Promise<void>;
|
|
109
110
|
/** Export file statistics */
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Logger } from '../log';
|
|
2
2
|
import { CSVInsertOptions, JSONInsertOptions } from '../bindings/insert_options';
|
|
3
|
+
import { DuckDBDataProtocol } from '../bindings';
|
|
3
4
|
/** An interface for the async DuckDB bindings */
|
|
4
5
|
export interface AsyncDuckDBBindings {
|
|
5
6
|
logger: Logger;
|
|
6
|
-
registerFileURL(name: string, url: string,
|
|
7
|
+
registerFileURL(name: string, url: string, proto: DuckDBDataProtocol, directIO: boolean): Promise<void>;
|
|
7
8
|
registerFileBuffer(name: string, buffer: Uint8Array): Promise<void>;
|
|
8
|
-
registerFileHandle<HandleType>(name: string, handle: HandleType): Promise<void>;
|
|
9
|
+
registerFileHandle<HandleType>(name: string, handle: HandleType, protocol: DuckDBDataProtocol, directIO: boolean): Promise<void>;
|
|
9
10
|
copyFileToPath(name: string, out: string): Promise<void>;
|
|
10
11
|
copyFileToBuffer(name: string): Promise<Uint8Array>;
|
|
11
12
|
disconnect(conn: number): Promise<void>;
|
|
@@ -5,6 +5,7 @@ import { FileStatistics } from '../bindings/file_stats';
|
|
|
5
5
|
import { DuckDBConfig } from '../bindings/config';
|
|
6
6
|
import { WebFile } from '../bindings/web_file';
|
|
7
7
|
import { InstantiationProgress } from '../bindings/progress';
|
|
8
|
+
import { DuckDBDataProtocol } from '../bindings';
|
|
8
9
|
export declare type ConnectionID = number;
|
|
9
10
|
export declare type StatementID = number;
|
|
10
11
|
export declare enum WorkerRequestType {
|
|
@@ -89,10 +90,10 @@ export declare type WorkerRequestVariant = WorkerRequest<WorkerRequestType.CLOSE
|
|
|
89
90
|
number,
|
|
90
91
|
Uint8Array,
|
|
91
92
|
ArrowInsertOptions | undefined
|
|
92
|
-
]> | WorkerRequest<WorkerRequestType.INSERT_CSV_FROM_PATH, [number, string, CSVInsertOptions]> | WorkerRequest<WorkerRequestType.INSERT_JSON_FROM_PATH, [number, string, JSONInsertOptions]> | WorkerRequest<WorkerRequestType.INSTANTIATE, [string, string | null]> | WorkerRequest<WorkerRequestType.OPEN, DuckDBConfig> | WorkerRequest<WorkerRequestType.PING, null> | WorkerRequest<WorkerRequestType.POLL_PENDING_QUERY, number> | WorkerRequest<WorkerRequestType.REGISTER_FILE_BUFFER, [string, Uint8Array]> | WorkerRequest<WorkerRequestType.REGISTER_FILE_HANDLE, [string, any]> | WorkerRequest<WorkerRequestType.REGISTER_FILE_URL, [string, string]> | WorkerRequest<WorkerRequestType.RESET, null> | WorkerRequest<WorkerRequestType.RUN_PREPARED, [number, number, any[]]> | WorkerRequest<WorkerRequestType.RUN_QUERY, [number, string]> | WorkerRequest<WorkerRequestType.SEND_PREPARED, [number, number, any[]]> | WorkerRequest<WorkerRequestType.START_PENDING_QUERY, [number, string]> | WorkerRequest<WorkerRequestType.TOKENIZE, string>;
|
|
93
|
+
]> | WorkerRequest<WorkerRequestType.INSERT_CSV_FROM_PATH, [number, string, CSVInsertOptions]> | WorkerRequest<WorkerRequestType.INSERT_JSON_FROM_PATH, [number, string, JSONInsertOptions]> | WorkerRequest<WorkerRequestType.INSTANTIATE, [string, string | null]> | WorkerRequest<WorkerRequestType.OPEN, DuckDBConfig> | WorkerRequest<WorkerRequestType.PING, null> | WorkerRequest<WorkerRequestType.POLL_PENDING_QUERY, number> | WorkerRequest<WorkerRequestType.REGISTER_FILE_BUFFER, [string, Uint8Array]> | WorkerRequest<WorkerRequestType.REGISTER_FILE_HANDLE, [string, any, DuckDBDataProtocol, boolean]> | WorkerRequest<WorkerRequestType.REGISTER_FILE_URL, [string, string, DuckDBDataProtocol, boolean]> | WorkerRequest<WorkerRequestType.RESET, null> | WorkerRequest<WorkerRequestType.RUN_PREPARED, [number, number, any[]]> | WorkerRequest<WorkerRequestType.RUN_QUERY, [number, string]> | WorkerRequest<WorkerRequestType.SEND_PREPARED, [number, number, any[]]> | WorkerRequest<WorkerRequestType.START_PENDING_QUERY, [number, string]> | WorkerRequest<WorkerRequestType.TOKENIZE, string>;
|
|
93
94
|
export declare type WorkerResponseVariant = WorkerResponse<WorkerResponseType.CONNECTION_INFO, number> | WorkerResponse<WorkerResponseType.ERROR, any> | WorkerResponse<WorkerResponseType.FEATURE_FLAGS, number> | WorkerResponse<WorkerResponseType.FILE_BUFFER, Uint8Array> | WorkerResponse<WorkerResponseType.FILE_INFOS, WebFile[]> | WorkerResponse<WorkerResponseType.FILE_SIZE, number> | WorkerResponse<WorkerResponseType.FILE_STATISTICS, FileStatistics> | WorkerResponse<WorkerResponseType.INSTANTIATE_PROGRESS, InstantiationProgress> | WorkerResponse<WorkerResponseType.LOG, LogEntryVariant> | WorkerResponse<WorkerResponseType.OK, null> | WorkerResponse<WorkerResponseType.PREPARED_STATEMENT_ID, number> | WorkerResponse<WorkerResponseType.QUERY_PLAN, Uint8Array> | WorkerResponse<WorkerResponseType.QUERY_RESULT, Uint8Array> | WorkerResponse<WorkerResponseType.QUERY_RESULT_CHUNK, Uint8Array> | WorkerResponse<WorkerResponseType.QUERY_RESULT_HEADER, Uint8Array> | WorkerResponse<WorkerResponseType.QUERY_RESULT_HEADER_OR_NULL, Uint8Array | null> | WorkerResponse<WorkerResponseType.SCRIPT_TOKENS, ScriptTokens> | WorkerResponse<WorkerResponseType.SUCCESS, boolean> | WorkerResponse<WorkerResponseType.TABLE_NAMES, string[]> | WorkerResponse<WorkerResponseType.VERSION_STRING, string>;
|
|
94
95
|
export declare type WorkerTaskVariant = WorkerTask<WorkerRequestType.COLLECT_FILE_STATISTICS, [string, boolean], null> | WorkerTask<WorkerRequestType.CLOSE_PREPARED, [number, number], null> | WorkerTask<WorkerRequestType.CONNECT, null, ConnectionID> | WorkerTask<WorkerRequestType.COPY_FILE_TO_BUFFER, string, Uint8Array> | WorkerTask<WorkerRequestType.COPY_FILE_TO_PATH, [string, string], null> | WorkerTask<WorkerRequestType.CREATE_PREPARED, [number, string], number> | WorkerTask<WorkerRequestType.DISCONNECT, ConnectionID, null> | WorkerTask<WorkerRequestType.DROP_FILE, string, null> | WorkerTask<WorkerRequestType.DROP_FILES, null, null> | WorkerTask<WorkerRequestType.EXPORT_FILE_STATISTICS, string, FileStatistics> | WorkerTask<WorkerRequestType.FETCH_QUERY_RESULTS, ConnectionID, Uint8Array> | WorkerTask<WorkerRequestType.FLUSH_FILES, null, null> | WorkerTask<WorkerRequestType.GET_FEATURE_FLAGS, null, number> | WorkerTask<WorkerRequestType.GET_TABLE_NAMES, [number, string], string[]> | WorkerTask<WorkerRequestType.GET_VERSION, null, string> | WorkerTask<WorkerRequestType.INSERT_ARROW_FROM_IPC_STREAM, [
|
|
95
96
|
number,
|
|
96
97
|
Uint8Array,
|
|
97
98
|
ArrowInsertOptions | undefined
|
|
98
|
-
], null> | WorkerTask<WorkerRequestType.INSERT_CSV_FROM_PATH, [number, string, CSVInsertOptions], null> | WorkerTask<WorkerRequestType.INSERT_JSON_FROM_PATH, [number, string, JSONInsertOptions], null> | WorkerTask<WorkerRequestType.INSTANTIATE, [string, string | null], null> | WorkerTask<WorkerRequestType.OPEN, DuckDBConfig, null> | WorkerTask<WorkerRequestType.PING, null, null> | WorkerTask<WorkerRequestType.REGISTER_FILE_BUFFER, [string, Uint8Array], null> | WorkerTask<WorkerRequestType.REGISTER_FILE_HANDLE, [string, any], null> | WorkerTask<WorkerRequestType.REGISTER_FILE_URL, [string, string], null> | WorkerTask<WorkerRequestType.GLOB_FILE_INFOS, string, WebFile[]> | WorkerTask<WorkerRequestType.RESET, null, null> | WorkerTask<WorkerRequestType.RUN_PREPARED, [number, number, any[]], Uint8Array> | WorkerTask<WorkerRequestType.RUN_QUERY, [ConnectionID, string], Uint8Array> | WorkerTask<WorkerRequestType.SEND_PREPARED, [number, number, any[]], Uint8Array> | WorkerTask<WorkerRequestType.START_PENDING_QUERY, [ConnectionID, string], Uint8Array | null> | WorkerTask<WorkerRequestType.POLL_PENDING_QUERY, ConnectionID, Uint8Array | null> | WorkerTask<WorkerRequestType.CANCEL_PENDING_QUERY, ConnectionID, boolean> | WorkerTask<WorkerRequestType.TOKENIZE, string, ScriptTokens>;
|
|
99
|
+
], null> | WorkerTask<WorkerRequestType.INSERT_CSV_FROM_PATH, [number, string, CSVInsertOptions], null> | WorkerTask<WorkerRequestType.INSERT_JSON_FROM_PATH, [number, string, JSONInsertOptions], null> | WorkerTask<WorkerRequestType.INSTANTIATE, [string, string | null], null> | WorkerTask<WorkerRequestType.OPEN, DuckDBConfig, null> | WorkerTask<WorkerRequestType.PING, null, null> | WorkerTask<WorkerRequestType.REGISTER_FILE_BUFFER, [string, Uint8Array], null> | WorkerTask<WorkerRequestType.REGISTER_FILE_HANDLE, [string, any, DuckDBDataProtocol, boolean], null> | WorkerTask<WorkerRequestType.REGISTER_FILE_URL, [string, string, DuckDBDataProtocol, boolean], null> | WorkerTask<WorkerRequestType.GLOB_FILE_INFOS, string, WebFile[]> | WorkerTask<WorkerRequestType.RESET, null, null> | WorkerTask<WorkerRequestType.RUN_PREPARED, [number, number, any[]], Uint8Array> | WorkerTask<WorkerRequestType.RUN_QUERY, [ConnectionID, string], Uint8Array> | WorkerTask<WorkerRequestType.SEND_PREPARED, [number, number, any[]], Uint8Array> | WorkerTask<WorkerRequestType.START_PENDING_QUERY, [ConnectionID, string], Uint8Array | null> | WorkerTask<WorkerRequestType.POLL_PENDING_QUERY, ConnectionID, Uint8Array | null> | WorkerTask<WorkerRequestType.CANCEL_PENDING_QUERY, ConnectionID, boolean> | WorkerTask<WorkerRequestType.TOKENIZE, string, ScriptTokens>;
|
|
@@ -3,6 +3,7 @@ export * from '../log';
|
|
|
3
3
|
export * from '../platform';
|
|
4
4
|
export * from '../status';
|
|
5
5
|
export * from '../version';
|
|
6
|
+
export { DuckDBDataProtocol } from '../bindings/runtime';
|
|
6
7
|
export { DEFAULT_RUNTIME } from '../bindings/runtime';
|
|
7
8
|
export { BROWSER_RUNTIME } from '../bindings/runtime_browser';
|
|
8
9
|
import { Logger } from '../log';
|
|
@@ -3,6 +3,7 @@ export * from '../log';
|
|
|
3
3
|
export * from '../platform';
|
|
4
4
|
export * from '../status';
|
|
5
5
|
export * from '../version';
|
|
6
|
+
export { DuckDBDataProtocol } from '../bindings/runtime';
|
|
6
7
|
export { DEFAULT_RUNTIME } from '../bindings/runtime';
|
|
7
8
|
export { NODE_RUNTIME } from '../bindings/runtime_node';
|
|
8
9
|
import { Logger } from '../log';
|
|
@@ -5,4 +5,4 @@ export * from '../parallel';
|
|
|
5
5
|
export * from '../platform';
|
|
6
6
|
export * from '../version';
|
|
7
7
|
export * from '../worker';
|
|
8
|
-
export { InstantiationProgress, InstantiationProgressHandler } from '../bindings';
|
|
8
|
+
export { InstantiationProgress, InstantiationProgressHandler, DuckDBDataProtocol } from '../bindings';
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duckdb/duckdb-wasm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "DuckDB powered by WebAssembly",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/duckdb/duckdb-wasm.git"
|
|
@@ -27,35 +27,35 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/emscripten": "^1.39.6",
|
|
30
|
-
"@types/jasmine": "^4.3.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
32
|
-
"@typescript-eslint/parser": "^5.
|
|
33
|
-
"esbuild": "^0.15.
|
|
34
|
-
"eslint": "^8.
|
|
30
|
+
"@types/jasmine": "^4.3.1",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
32
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
33
|
+
"esbuild": "^0.15.12",
|
|
34
|
+
"eslint": "^8.31.0",
|
|
35
35
|
"eslint-plugin-jasmine": "^4.1.3",
|
|
36
|
-
"eslint-plugin-react": "^7.
|
|
37
|
-
"fast-glob": "^3.2.
|
|
38
|
-
"jasmine": "^4.
|
|
36
|
+
"eslint-plugin-react": "^7.32.2",
|
|
37
|
+
"fast-glob": "^3.2.12",
|
|
38
|
+
"jasmine": "^4.5.0",
|
|
39
39
|
"jasmine-core": "^4.3.0",
|
|
40
40
|
"jasmine-spec-reporter": "^7.0.0",
|
|
41
41
|
"js-sha256": "^0.9.0",
|
|
42
|
-
"karma": "^6.4.
|
|
42
|
+
"karma": "^6.4.1",
|
|
43
43
|
"karma-chrome-launcher": "^3.1.1",
|
|
44
44
|
"karma-coverage": "^2.2.0",
|
|
45
45
|
"karma-firefox-launcher": "^2.1.2",
|
|
46
46
|
"karma-jasmine": "^5.1.0",
|
|
47
47
|
"karma-jasmine-html-reporter": "^2.0.0",
|
|
48
48
|
"karma-sourcemap-loader": "^0.3.8",
|
|
49
|
-
"karma-spec-reporter": "^0.0.
|
|
49
|
+
"karma-spec-reporter": "^0.0.36",
|
|
50
50
|
"make-dir": "^3.1.0",
|
|
51
51
|
"nyc": "^15.1.0",
|
|
52
|
-
"prettier": "^2.
|
|
53
|
-
"puppeteer": "^
|
|
52
|
+
"prettier": "^2.8.3",
|
|
53
|
+
"puppeteer": "^19.2.0",
|
|
54
54
|
"rimraf": "^3.0.2",
|
|
55
55
|
"s3rver": "^3.7.1",
|
|
56
|
-
"typedoc": "^0.23.
|
|
57
|
-
"typescript": "^4.
|
|
58
|
-
"wasm-feature-detect": "^1.
|
|
56
|
+
"typedoc": "^0.23.24",
|
|
57
|
+
"typescript": "^4.8.4",
|
|
58
|
+
"wasm-feature-detect": "^1.4.0",
|
|
59
59
|
"web-worker": "^1.2.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|