@duckdb/duckdb-wasm-shell
Advanced tools
Comparing version 1.15.0 to 1.16.0
@@ -29,3 +29,3 @@ "use strict"; | ||
name: "@duckdb/duckdb-wasm-shell", | ||
version: "1.15.0", | ||
version: "1.16.0", | ||
description: "", | ||
@@ -54,3 +54,3 @@ author: "Andre Kohn <kohn.a@outlook.com>", | ||
dependencies: { | ||
"@duckdb/duckdb-wasm": "^1.15.0", | ||
"@duckdb/duckdb-wasm": "^1.16.0", | ||
xterm: "^4.19.0", | ||
@@ -62,3 +62,3 @@ "xterm-addon-fit": "^0.5.0", | ||
devDependencies: { | ||
esbuild: "^0.14.48", | ||
esbuild: "^0.14.49", | ||
eslint: "^8.19.0", | ||
@@ -362,3 +362,3 @@ "eslint-plugin-jasmine": "^4.1.3", | ||
} | ||
function __wbg_adapter_209(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_211(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h5c71afac6a955823(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -368,2 +368,39 @@ } | ||
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" }); | ||
var DuckDBConfig = class { | ||
static __wrap(ptr) { | ||
const obj = Object.create(DuckDBConfig.prototype); | ||
obj.ptr = ptr; | ||
return obj; | ||
} | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
return ptr; | ||
} | ||
free() { | ||
const ptr = this.__destroy_into_raw(); | ||
wasm.__wbg_duckdbconfig_free(ptr); | ||
} | ||
get path() { | ||
try { | ||
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); | ||
wasm.duckdbconfig_path(retptr, this.ptr); | ||
var r0 = getInt32Memory0()[retptr / 4 + 0]; | ||
var r1 = getInt32Memory0()[retptr / 4 + 1]; | ||
let v0; | ||
if (r0 !== 0) { | ||
v0 = getStringFromWasm0(r0, r1).slice(); | ||
wasm.__wbindgen_free(r0, r1 * 1); | ||
} | ||
return v0; | ||
} finally { | ||
wasm.__wbindgen_add_to_stack_pointer(16); | ||
} | ||
} | ||
set path(path) { | ||
var ptr0 = isLikeNone(path) ? 0 : passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
wasm.duckdbconfig_set_path(this.ptr, ptr0, len0); | ||
} | ||
}; | ||
async function load(module, imports) { | ||
@@ -461,26 +498,2 @@ if (typeof Response === "function" && module instanceof Response) { | ||
}; | ||
imports.wbg.__wbg_backgroundColor_13124d7a2f6922da = function(arg0, arg1) { | ||
var ret = getObject(arg1).backgroundColor; | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_fontFamily_bf454fed644c371e = function(arg0, arg1) { | ||
var ret = getObject(arg1).fontFamily; | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_withWebGL_23ecf5d40e6afbed = function(arg0) { | ||
var ret = getObject(arg0).withWebGL; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_getPlatformFeatures_c95d7aa09758c47e = function() { | ||
return handleError(function() { | ||
var ret = (0, import_duckdb_wasm.getPlatformFeatures)(); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_bigInt64Array_c5434225e36e999d = function(arg0) { | ||
@@ -490,6 +503,2 @@ var ret = getObject(arg0).bigInt64Array; | ||
}; | ||
imports.wbg.__wbg_crossOriginIsolated_8ef3a49137dfb764 = function(arg0) { | ||
var ret = getObject(arg0).crossOriginIsolated; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_wasmThreads_ee9dc3f62d002e58 = function(arg0) { | ||
@@ -499,2 +508,6 @@ var ret = getObject(arg0).wasmThreads; | ||
}; | ||
imports.wbg.__wbg_wasmExceptions_fd3690b4fcea2b6c = function(arg0) { | ||
var ret = getObject(arg0).wasmExceptions; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_wasmSIMD_65312a153e3a0ea1 = function(arg0) { | ||
@@ -508,9 +521,15 @@ var ret = getObject(arg0).wasmSIMD; | ||
}; | ||
imports.wbg.__wbg_wasmExceptions_fd3690b4fcea2b6c = function(arg0) { | ||
var ret = getObject(arg0).wasmExceptions; | ||
imports.wbg.__wbg_crossOriginIsolated_8ef3a49137dfb764 = function(arg0) { | ||
var ret = getObject(arg0).crossOriginIsolated; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_getPlatformFeatures_c95d7aa09758c47e = function() { | ||
return handleError(function() { | ||
var ret = (0, import_duckdb_wasm.getPlatformFeatures)(); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_open_1c24085b4339ac18 = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2)); | ||
return handleError(function(arg0, arg1) { | ||
var ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1)); | ||
return addHeapObject(ret); | ||
@@ -555,17 +574,35 @@ }, arguments); | ||
}; | ||
imports.wbg.__wbg_getVersion_498e84d9ed3a6710 = function() { | ||
return handleError(function(arg0) { | ||
var ret = getObject(arg0).getVersion(); | ||
imports.wbg.__wbg_backgroundColor_13124d7a2f6922da = function(arg0, arg1) { | ||
var ret = getObject(arg1).backgroundColor; | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_fontFamily_bf454fed644c371e = function(arg0, arg1) { | ||
var ret = getObject(arg1).fontFamily; | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_withWebGL_23ecf5d40e6afbed = function(arg0) { | ||
var ret = getObject(arg0).withWebGL; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_disconnect_503fc005d621c8c7 = function() { | ||
return handleError(function(arg0, arg1) { | ||
var ret = getObject(arg0).disconnect(arg1 >>> 0); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_tokenize_17d3fb98b81f8e3b = function() { | ||
imports.wbg.__wbg_exportFileStatistics_047e5ff39e3cd97e = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).tokenize(getStringFromWasm0(arg1, arg2)); | ||
var ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2)); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_disconnect_503fc005d621c8c7 = function() { | ||
return handleError(function(arg0, arg1) { | ||
var ret = getObject(arg0).disconnect(arg1 >>> 0); | ||
imports.wbg.__wbg_getVersion_498e84d9ed3a6710 = function() { | ||
return handleError(function(arg0) { | ||
var ret = getObject(arg0).getVersion(); | ||
return addHeapObject(ret); | ||
@@ -586,2 +623,8 @@ }, arguments); | ||
}; | ||
imports.wbg.__wbg_tokenize_17d3fb98b81f8e3b = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).tokenize(getStringFromWasm0(arg1, arg2)); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_runQuery_73797dc478f1bce2 = function() { | ||
@@ -593,8 +636,2 @@ return handleError(function(arg0, arg1, arg2, arg3) { | ||
}; | ||
imports.wbg.__wbg_getFeatureFlags_3fbe38b898027f8e = function() { | ||
return handleError(function(arg0) { | ||
var ret = getObject(arg0).getFeatureFlags(); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_pushInputToHistory_be6169df38305347 = function() { | ||
@@ -606,5 +643,5 @@ return handleError(function(arg0, arg1, arg2) { | ||
}; | ||
imports.wbg.__wbg_exportFileStatistics_047e5ff39e3cd97e = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2)); | ||
imports.wbg.__wbg_getFeatureFlags_3fbe38b898027f8e = function() { | ||
return handleError(function(arg0) { | ||
var ret = getObject(arg0).getFeatureFlags(); | ||
return addHeapObject(ret); | ||
@@ -655,2 +692,10 @@ }, arguments); | ||
}; | ||
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
var ret = JSON.stringify(obj === void 0 ? null : obj); | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_log_39e5c6dfbf35ce2a = function(arg0, arg1) { | ||
@@ -665,10 +710,2 @@ console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
var ret = JSON.stringify(obj === void 0 ? null : obj); | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
}; | ||
imports.wbg.__wbg_blockStats_b4d97ec10e70983d = function(arg0) { | ||
@@ -833,3 +870,3 @@ var ret = getObject(arg0).blockStats; | ||
try { | ||
return __wbg_adapter_209(a, state0.b, arg02, arg12); | ||
return __wbg_adapter_211(a, state0.b, arg02, arg12); | ||
} finally { | ||
@@ -931,8 +968,8 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper651 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 135, __wbg_adapter_24); | ||
imports.wbg.__wbindgen_closure_wrapper646 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 127, __wbg_adapter_24); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper976 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 160, __wbg_adapter_27); | ||
imports.wbg.__wbindgen_closure_wrapper979 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_27); | ||
return addHeapObject(ret); | ||
@@ -939,0 +976,0 @@ }; |
{ | ||
"name": "@duckdb/duckdb-wasm-shell", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "author": "Andre Kohn <kohn.a@outlook.com>", | ||
"dependencies": { | ||
"@duckdb/duckdb-wasm": "^1.15.0", | ||
"@duckdb/duckdb-wasm": "^1.16.0", | ||
"xterm": "^4.19.0", | ||
@@ -35,3 +35,3 @@ "xterm-addon-fit": "^0.5.0", | ||
"devDependencies": { | ||
"esbuild": "^0.14.48", | ||
"esbuild": "^0.14.49", | ||
"eslint": "^8.19.0", | ||
@@ -38,0 +38,0 @@ "eslint-plugin-jasmine": "^4.1.3", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2303401
3677
Updated@duckdb/duckdb-wasm@^1.16.0