@duckdb/duckdb-wasm-shell
Advanced tools
Comparing version 1.29.1-dev21.0 to 1.29.1-dev23.0
@@ -36,3 +36,3 @@ "use strict"; | ||
name: "@duckdb/duckdb-wasm-shell", | ||
version: "1.29.1-dev21.0", | ||
version: "1.29.1-dev23.0", | ||
description: "", | ||
@@ -61,3 +61,3 @@ author: "Andre Kohn <kohn.a@outlook.com>", | ||
dependencies: { | ||
"@duckdb/duckdb-wasm": "^1.29.1-dev21.0", | ||
"@duckdb/duckdb-wasm": "^1.29.1-dev23.0", | ||
xterm: "^5.3.0", | ||
@@ -314,21 +314,2 @@ "xterm-addon-fit": "^0.8.0", | ||
} | ||
var cachedUint32Memory0 = null; | ||
function getUint32Memory0() { | ||
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { | ||
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); | ||
} | ||
return cachedUint32Memory0; | ||
} | ||
function passArray32ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 4, 4) >>> 0; | ||
getUint32Memory0().set(arg, ptr / 4); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function embed(elem, runtime, options) { | ||
@@ -389,3 +370,22 @@ try { | ||
} | ||
function __wbg_adapter_210(arg0, arg1, arg2, arg3) { | ||
var cachedUint32Memory0 = null; | ||
function getUint32Memory0() { | ||
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { | ||
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); | ||
} | ||
return cachedUint32Memory0; | ||
} | ||
function passArray32ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 4, 4) >>> 0; | ||
getUint32Memory0().set(arg, ptr / 4); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function passArray8ToWasm0(arg, malloc) { | ||
const ptr = malloc(arg.length * 1, 1) >>> 0; | ||
getUint8Memory0().set(arg, ptr / 1); | ||
WASM_VECTOR_LEN = arg.length; | ||
return ptr; | ||
} | ||
function __wbg_adapter_213(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h6ec9b37957db5671(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -487,2 +487,8 @@ } | ||
}; | ||
imports.wbg.__wbg_registerOPFSFileName_8efb2b5d0df8d9a7 = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).registerOPFSFileName(getStringFromWasm0(arg1, arg2)); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() { | ||
@@ -652,63 +658,14 @@ return handleError(function(arg0, arg1, arg2) { | ||
}; | ||
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) { | ||
const ret = getObject(arg0).blockStats; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) { | ||
const ret = getObject(arg0).totalFileWrites; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsAhead; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsCold; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsCached; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) { | ||
const ret = getObject(arg0).totalPageAccesses; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) { | ||
const ret = getObject(arg0).totalPageLoads; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) { | ||
const ret = getObject(arg0).blockSize; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() { | ||
return handleError(function(arg0, arg1) { | ||
const ret = getObject(arg0).disconnect(arg1 >>> 0); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon; | ||
} catch (e) { | ||
result = false; | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = result; | ||
const ret = false; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon; | ||
} catch (e) { | ||
result = false; | ||
} | ||
const ret = result; | ||
return ret; | ||
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) { | ||
getObject(arg0).rows = arg1 >>> 0; | ||
}; | ||
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) { | ||
getObject(arg0).allowProposedApi = arg1 !== 0; | ||
}; | ||
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) { | ||
@@ -720,10 +677,17 @@ getObject(arg0).cursorBlink = arg1 !== 0; | ||
}; | ||
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) { | ||
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0; | ||
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) { | ||
const ret = getObject(arg1).fontFamily; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) { | ||
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2); | ||
}; | ||
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) { | ||
getObject(arg0).fontSize = arg1 >>> 0; | ||
}; | ||
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) { | ||
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2); | ||
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) { | ||
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0; | ||
}; | ||
@@ -733,7 +697,7 @@ imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) { | ||
}; | ||
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) { | ||
getObject(arg0).rows = arg1 >>> 0; | ||
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) { | ||
getObject(arg0).allowProposedApi = arg1 !== 0; | ||
}; | ||
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) { | ||
getObject(arg0).theme = getObject(arg1); | ||
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) { | ||
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2); | ||
}; | ||
@@ -743,8 +707,2 @@ imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) { | ||
}; | ||
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) { | ||
getObject(arg0).background = getStringFromWasm0(arg1, arg2); | ||
}; | ||
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) { | ||
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2); | ||
}; | ||
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) { | ||
@@ -757,12 +715,25 @@ const ret = getObject(arg1).backgroundColor; | ||
}; | ||
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) { | ||
const ret = getObject(arg1).fontFamily; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) { | ||
getObject(arg0).background = getStringFromWasm0(arg1, arg2); | ||
}; | ||
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) { | ||
getObject(arg0).theme = getObject(arg1); | ||
}; | ||
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) { | ||
getObject(arg0).open(takeObject(arg1)); | ||
}; | ||
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) { | ||
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon; | ||
} catch (e) { | ||
result = false; | ||
} | ||
const ret = result; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) { | ||
@@ -775,30 +746,21 @@ getObject(arg0).loadAddon(takeObject(arg1)); | ||
}; | ||
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) { | ||
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) { | ||
console.warn(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) { | ||
let result; | ||
try { | ||
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon; | ||
} catch (e) { | ||
result = false; | ||
} | ||
const ret = false; | ||
const ret = result; | ||
return ret; | ||
}; | ||
imports.wbg.__wbg_new_79cc836771d68198 = function() { | ||
const ret = new import_xterm_addon_fit.FitAddon(); | ||
return addHeapObject(ret); | ||
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() { | ||
return handleError(function(arg0, arg1) { | ||
const ret = getObject(arg0).disconnect(arg1 >>> 0); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) { | ||
const ret = import_duckdb_wasm.PACKAGE_NAME; | ||
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = JSON.stringify(obj === void 0 ? null : obj); | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
@@ -809,4 +771,4 @@ const len1 = WASM_VECTOR_LEN; | ||
}; | ||
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) { | ||
const ret = import_duckdb_wasm.PACKAGE_VERSION; | ||
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) { | ||
const ret = import_duckdb_wasm.PACKAGE_NAME; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
@@ -817,5 +779,4 @@ const len1 = WASM_VECTOR_LEN; | ||
}; | ||
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) { | ||
const obj = getObject(arg1); | ||
const ret = JSON.stringify(obj === void 0 ? null : obj); | ||
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) { | ||
const ret = import_duckdb_wasm.PACKAGE_VERSION; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
@@ -826,2 +787,47 @@ const len1 = WASM_VECTOR_LEN; | ||
}; | ||
imports.wbg.__wbg_new_79cc836771d68198 = function() { | ||
const ret = new import_xterm_addon_fit.FitAddon(); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) { | ||
const ret = getObject(arg0).blockStats; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) { | ||
const ret = getObject(arg0).totalFileWrites; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsAhead; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsCold; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) { | ||
const ret = getObject(arg0).totalFileReadsCached; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) { | ||
const ret = getObject(arg0).totalPageAccesses; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) { | ||
const ret = getObject(arg0).totalPageLoads; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) { | ||
const ret = getObject(arg0).blockSize; | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) { | ||
console.log(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) { | ||
console.warn(getStringFromWasm0(arg0, arg1)); | ||
}; | ||
imports.wbg.__wbg_new_abda76e883ba8a5f = function() { | ||
@@ -964,3 +970,3 @@ const ret = new Error(); | ||
try { | ||
return __wbg_adapter_210(a, state0.b, arg02, arg12); | ||
return __wbg_adapter_213(a, state0.b, arg02, arg12); | ||
} finally { | ||
@@ -1017,8 +1023,8 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper551 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 154, __wbg_adapter_22); | ||
imports.wbg.__wbindgen_closure_wrapper450 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 135, __wbg_adapter_22); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper907 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25); | ||
imports.wbg.__wbindgen_closure_wrapper916 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 188, __wbg_adapter_25); | ||
return addHeapObject(ret); | ||
@@ -1025,0 +1031,0 @@ }; |
{ | ||
"name": "@duckdb/duckdb-wasm-shell", | ||
"version": "1.29.1-dev21.0", | ||
"version": "1.29.1-dev23.0", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "author": "Andre Kohn <kohn.a@outlook.com>", | ||
"dependencies": { | ||
"@duckdb/duckdb-wasm": "^1.29.1-dev21.0", | ||
"@duckdb/duckdb-wasm": "^1.29.1-dev23.0", | ||
"xterm": "^5.3.0", | ||
@@ -30,0 +30,0 @@ "xterm-addon-fit": "^0.8.0", |
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
1575538
4045