@duckdb/duckdb-wasm-shell 1.28.1-dev223.0 → 1.28.1-dev231.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/dist/shell.cjs +75 -83
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +75 -83
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +75 -83
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.cjs
CHANGED
|
@@ -43,7 +43,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
43
43
|
// package.json
|
|
44
44
|
var package_default = {
|
|
45
45
|
name: "@duckdb/duckdb-wasm-shell",
|
|
46
|
-
version: "1.28.1-
|
|
46
|
+
version: "1.28.1-dev231.0",
|
|
47
47
|
description: "",
|
|
48
48
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
49
49
|
license: "MIT",
|
|
@@ -67,7 +67,7 @@ var package_default = {
|
|
|
67
67
|
"csv"
|
|
68
68
|
],
|
|
69
69
|
dependencies: {
|
|
70
|
-
"@duckdb/duckdb-wasm": "^1.28.1-
|
|
70
|
+
"@duckdb/duckdb-wasm": "^1.28.1-dev231.0",
|
|
71
71
|
xterm: "^5.3.0",
|
|
72
72
|
"xterm-addon-fit": "^0.8.0",
|
|
73
73
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -313,18 +313,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
313
313
|
return real;
|
|
314
314
|
}
|
|
315
315
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
316
|
-
const ret = wasm.
|
|
316
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfec68d83424365d2(arg0, arg1, addHeapObject(arg2));
|
|
317
317
|
return ret !== 0;
|
|
318
318
|
}
|
|
319
319
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
320
|
-
wasm.
|
|
321
|
-
}
|
|
322
|
-
function handleError(f, args) {
|
|
323
|
-
try {
|
|
324
|
-
return f.apply(this, args);
|
|
325
|
-
} catch (e) {
|
|
326
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
327
|
-
}
|
|
320
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h722a5ebb874f0c20(arg0, arg1, addHeapObject(arg2));
|
|
328
321
|
}
|
|
329
322
|
var cachedUint32Memory0 = null;
|
|
330
323
|
function getUint32Memory0() {
|
|
@@ -345,6 +338,13 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
345
338
|
WASM_VECTOR_LEN = arg.length;
|
|
346
339
|
return ptr;
|
|
347
340
|
}
|
|
341
|
+
function handleError(f, args) {
|
|
342
|
+
try {
|
|
343
|
+
return f.apply(this, args);
|
|
344
|
+
} catch (e) {
|
|
345
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
348
|
function embed(elem, runtime, options) {
|
|
349
349
|
try {
|
|
350
350
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -393,8 +393,8 @@ function configureDatabase(db) {
|
|
|
393
393
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
394
394
|
return takeObject(ret);
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
wasm.
|
|
396
|
+
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
397
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h636b3344f508d451(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
398
398
|
}
|
|
399
399
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
400
400
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -654,24 +654,6 @@ function __wbg_get_imports() {
|
|
|
654
654
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
655
655
|
getObject(arg0).fit();
|
|
656
656
|
};
|
|
657
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
658
|
-
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
659
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
660
|
-
const len1 = WASM_VECTOR_LEN;
|
|
661
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
662
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
663
|
-
};
|
|
664
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
665
|
-
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
666
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
667
|
-
const len1 = WASM_VECTOR_LEN;
|
|
668
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
669
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
670
|
-
};
|
|
671
|
-
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
672
|
-
const ret = new import_xterm_addon_fit.FitAddon();
|
|
673
|
-
return addHeapObject(ret);
|
|
674
|
-
};
|
|
675
657
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
676
658
|
const obj = takeObject(arg0).original;
|
|
677
659
|
if (obj.cnt-- == 1) {
|
|
@@ -681,25 +663,15 @@ function __wbg_get_imports() {
|
|
|
681
663
|
const ret = false;
|
|
682
664
|
return ret;
|
|
683
665
|
};
|
|
684
|
-
imports.wbg.
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
const ret =
|
|
692
|
-
|
|
693
|
-
const len1 = WASM_VECTOR_LEN;
|
|
694
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
695
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
696
|
-
};
|
|
697
|
-
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
698
|
-
const ret = getObject(arg1).fontFamily;
|
|
699
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
700
|
-
const len1 = WASM_VECTOR_LEN;
|
|
701
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
702
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
666
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
667
|
+
let result;
|
|
668
|
+
try {
|
|
669
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
670
|
+
} catch (e) {
|
|
671
|
+
result = false;
|
|
672
|
+
}
|
|
673
|
+
const ret = result;
|
|
674
|
+
return ret;
|
|
703
675
|
};
|
|
704
676
|
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
705
677
|
let result;
|
|
@@ -711,6 +683,18 @@ function __wbg_get_imports() {
|
|
|
711
683
|
const ret = result;
|
|
712
684
|
return ret;
|
|
713
685
|
};
|
|
686
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
687
|
+
const obj = getObject(arg1);
|
|
688
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
689
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
690
|
+
const len1 = WASM_VECTOR_LEN;
|
|
691
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
692
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
693
|
+
};
|
|
694
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
695
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
696
|
+
return addHeapObject(ret);
|
|
697
|
+
};
|
|
714
698
|
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
715
699
|
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
716
700
|
};
|
|
@@ -747,6 +731,34 @@ function __wbg_get_imports() {
|
|
|
747
731
|
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
748
732
|
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
749
733
|
};
|
|
734
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
735
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
736
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
737
|
+
const len1 = WASM_VECTOR_LEN;
|
|
738
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
739
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
740
|
+
};
|
|
741
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
742
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
743
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
744
|
+
const len1 = WASM_VECTOR_LEN;
|
|
745
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
746
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
747
|
+
};
|
|
748
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
749
|
+
const ret = getObject(arg1).backgroundColor;
|
|
750
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
751
|
+
const len1 = WASM_VECTOR_LEN;
|
|
752
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
753
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
754
|
+
};
|
|
755
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
756
|
+
const ret = getObject(arg1).fontFamily;
|
|
757
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
758
|
+
const len1 = WASM_VECTOR_LEN;
|
|
759
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
760
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
761
|
+
};
|
|
750
762
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
751
763
|
getObject(arg0).open(takeObject(arg1));
|
|
752
764
|
};
|
|
@@ -757,15 +769,9 @@ function __wbg_get_imports() {
|
|
|
757
769
|
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
758
770
|
return addHeapObject(ret);
|
|
759
771
|
};
|
|
760
|
-
imports.wbg.
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
764
|
-
} catch (e) {
|
|
765
|
-
result = false;
|
|
766
|
-
}
|
|
767
|
-
const ret = result;
|
|
768
|
-
return ret;
|
|
772
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
773
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
774
|
+
return addHeapObject(ret);
|
|
769
775
|
};
|
|
770
776
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
771
777
|
const ret = getObject(arg0).blockStats;
|
|
@@ -799,9 +805,11 @@ function __wbg_get_imports() {
|
|
|
799
805
|
const ret = getObject(arg0).blockSize;
|
|
800
806
|
return addHeapObject(ret);
|
|
801
807
|
};
|
|
802
|
-
imports.wbg.
|
|
803
|
-
|
|
804
|
-
|
|
808
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
809
|
+
return handleError(function(arg0, arg1) {
|
|
810
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
811
|
+
return addHeapObject(ret);
|
|
812
|
+
}, arguments);
|
|
805
813
|
};
|
|
806
814
|
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
807
815
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
@@ -812,14 +820,6 @@ function __wbg_get_imports() {
|
|
|
812
820
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
813
821
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
814
822
|
};
|
|
815
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
816
|
-
const obj = getObject(arg1);
|
|
817
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
818
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
819
|
-
const len1 = WASM_VECTOR_LEN;
|
|
820
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
821
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
822
|
-
};
|
|
823
823
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
824
824
|
const ret = new Error();
|
|
825
825
|
return addHeapObject(ret);
|
|
@@ -950,14 +950,6 @@ function __wbg_get_imports() {
|
|
|
950
950
|
return addHeapObject(ret);
|
|
951
951
|
}, arguments);
|
|
952
952
|
};
|
|
953
|
-
imports.wbg.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
|
|
954
|
-
const ret = getObject(arg0).getTimezoneOffset();
|
|
955
|
-
return ret;
|
|
956
|
-
};
|
|
957
|
-
imports.wbg.__wbg_newwithyearmonthdayhrminsec_b540984d0081e7ed = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
958
|
-
const ret = new Date(arg0 >>> 0, arg1, arg2, arg3, arg4, arg5);
|
|
959
|
-
return addHeapObject(ret);
|
|
960
|
-
};
|
|
961
953
|
imports.wbg.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
|
|
962
954
|
try {
|
|
963
955
|
var state0 = { a: arg0, b: arg1 };
|
|
@@ -965,7 +957,7 @@ function __wbg_get_imports() {
|
|
|
965
957
|
const a = state0.a;
|
|
966
958
|
state0.a = 0;
|
|
967
959
|
try {
|
|
968
|
-
return
|
|
960
|
+
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
969
961
|
} finally {
|
|
970
962
|
state0.a = a;
|
|
971
963
|
}
|
|
@@ -1017,12 +1009,12 @@ function __wbg_get_imports() {
|
|
|
1017
1009
|
const ret = wasm.memory;
|
|
1018
1010
|
return addHeapObject(ret);
|
|
1019
1011
|
};
|
|
1020
|
-
imports.wbg.
|
|
1021
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1012
|
+
imports.wbg.__wbindgen_closure_wrapper457 = function(arg0, arg1, arg2) {
|
|
1013
|
+
const ret = makeMutClosure(arg0, arg1, 145, __wbg_adapter_22);
|
|
1022
1014
|
return addHeapObject(ret);
|
|
1023
1015
|
};
|
|
1024
|
-
imports.wbg.
|
|
1025
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1016
|
+
imports.wbg.__wbindgen_closure_wrapper917 = function(arg0, arg1, arg2) {
|
|
1017
|
+
const ret = makeMutClosure(arg0, arg1, 207, __wbg_adapter_25);
|
|
1026
1018
|
return addHeapObject(ret);
|
|
1027
1019
|
};
|
|
1028
1020
|
return imports;
|