@duckdb/duckdb-wasm-shell 1.28.1-dev172.0 → 1.28.1-dev175.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 +81 -81
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +81 -81
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +82 -82
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
// package.json
|
|
34
34
|
var package_default = {
|
|
35
35
|
name: "@duckdb/duckdb-wasm-shell",
|
|
36
|
-
version: "1.28.1-
|
|
36
|
+
version: "1.28.1-dev175.0",
|
|
37
37
|
description: "",
|
|
38
38
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
39
39
|
license: "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"csv"
|
|
58
58
|
],
|
|
59
59
|
dependencies: {
|
|
60
|
-
"@duckdb/duckdb-wasm": "^1.28.1-
|
|
60
|
+
"@duckdb/duckdb-wasm": "^1.28.1-dev175.0",
|
|
61
61
|
xterm: "^5.3.0",
|
|
62
62
|
"xterm-addon-fit": "^0.8.0",
|
|
63
63
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -303,11 +303,11 @@
|
|
|
303
303
|
return real;
|
|
304
304
|
}
|
|
305
305
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
306
|
-
const ret = wasm.
|
|
306
|
+
const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h742f8e578a3a9eff(arg0, arg1, addHeapObject(arg2));
|
|
307
307
|
return ret !== 0;
|
|
308
308
|
}
|
|
309
309
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
310
|
-
wasm.
|
|
310
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h79d35ec3de1ace5c(arg0, arg1, addHeapObject(arg2));
|
|
311
311
|
}
|
|
312
312
|
function handleError(f, args) {
|
|
313
313
|
try {
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
return takeObject(ret);
|
|
385
385
|
}
|
|
386
386
|
function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
|
|
387
|
-
wasm.
|
|
387
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h54cfe2cd262729d7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
388
388
|
}
|
|
389
389
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
390
390
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -653,29 +653,13 @@
|
|
|
653
653
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
654
654
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
655
655
|
};
|
|
656
|
-
imports.wbg.
|
|
657
|
-
|
|
658
|
-
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
659
|
-
return addHeapObject(ret);
|
|
660
|
-
}, arguments);
|
|
661
|
-
};
|
|
662
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
663
|
-
const obj = getObject(arg1);
|
|
664
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
656
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
657
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
665
658
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
666
659
|
const len1 = WASM_VECTOR_LEN;
|
|
667
660
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
668
661
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
669
662
|
};
|
|
670
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
671
|
-
const obj = takeObject(arg0).original;
|
|
672
|
-
if (obj.cnt-- == 1) {
|
|
673
|
-
obj.a = 0;
|
|
674
|
-
return true;
|
|
675
|
-
}
|
|
676
|
-
const ret = false;
|
|
677
|
-
return ret;
|
|
678
|
-
};
|
|
679
663
|
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
680
664
|
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
681
665
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -683,15 +667,32 @@
|
|
|
683
667
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
684
668
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
685
669
|
};
|
|
686
|
-
imports.wbg.
|
|
687
|
-
const ret =
|
|
688
|
-
|
|
689
|
-
const len1 = WASM_VECTOR_LEN;
|
|
690
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
691
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
670
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
671
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
672
|
+
return addHeapObject(ret);
|
|
692
673
|
};
|
|
693
|
-
imports.wbg.
|
|
694
|
-
|
|
674
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
675
|
+
let result;
|
|
676
|
+
try {
|
|
677
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
678
|
+
} catch (e) {
|
|
679
|
+
result = false;
|
|
680
|
+
}
|
|
681
|
+
const ret = result;
|
|
682
|
+
return ret;
|
|
683
|
+
};
|
|
684
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
685
|
+
let result;
|
|
686
|
+
try {
|
|
687
|
+
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
|
|
688
|
+
} catch (e) {
|
|
689
|
+
result = false;
|
|
690
|
+
}
|
|
691
|
+
const ret = result;
|
|
692
|
+
return ret;
|
|
693
|
+
};
|
|
694
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
695
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
695
696
|
};
|
|
696
697
|
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
697
698
|
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
@@ -699,64 +700,36 @@
|
|
|
699
700
|
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
700
701
|
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
701
702
|
};
|
|
702
|
-
imports.wbg.
|
|
703
|
-
|
|
704
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
705
|
-
const len1 = WASM_VECTOR_LEN;
|
|
706
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
707
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
708
|
-
};
|
|
709
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
710
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
703
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
704
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
711
705
|
};
|
|
712
706
|
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
713
707
|
getObject(arg0).fontSize = arg1 >>> 0;
|
|
714
708
|
};
|
|
715
|
-
imports.wbg.
|
|
716
|
-
getObject(arg0).
|
|
709
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
710
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
717
711
|
};
|
|
718
712
|
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
719
713
|
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
720
714
|
};
|
|
721
|
-
imports.wbg.
|
|
722
|
-
getObject(arg0).
|
|
715
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
716
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
723
717
|
};
|
|
724
|
-
imports.wbg.
|
|
725
|
-
getObject(arg0).
|
|
718
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
719
|
+
getObject(arg0).theme = getObject(arg1);
|
|
726
720
|
};
|
|
727
721
|
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
728
722
|
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
729
723
|
};
|
|
730
|
-
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
731
|
-
const ret = getObject(arg1).backgroundColor;
|
|
732
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
733
|
-
const len1 = WASM_VECTOR_LEN;
|
|
734
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
735
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
736
|
-
};
|
|
737
724
|
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
738
725
|
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
739
726
|
};
|
|
740
|
-
imports.wbg.
|
|
741
|
-
getObject(arg0).
|
|
727
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
728
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
742
729
|
};
|
|
743
730
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
744
731
|
getObject(arg0).open(takeObject(arg1));
|
|
745
732
|
};
|
|
746
|
-
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
747
|
-
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
748
|
-
return addHeapObject(ret);
|
|
749
|
-
};
|
|
750
|
-
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
751
|
-
let result;
|
|
752
|
-
try {
|
|
753
|
-
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
754
|
-
} catch (e) {
|
|
755
|
-
result = false;
|
|
756
|
-
}
|
|
757
|
-
const ret = result;
|
|
758
|
-
return ret;
|
|
759
|
-
};
|
|
760
733
|
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
761
734
|
getObject(arg0).loadAddon(takeObject(arg1));
|
|
762
735
|
};
|
|
@@ -764,20 +737,47 @@
|
|
|
764
737
|
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
765
738
|
return addHeapObject(ret);
|
|
766
739
|
};
|
|
767
|
-
imports.wbg.
|
|
768
|
-
const ret = new
|
|
740
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
741
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
769
742
|
return addHeapObject(ret);
|
|
770
743
|
};
|
|
771
|
-
imports.wbg.
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
}
|
|
776
|
-
|
|
744
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
745
|
+
return handleError(function(arg0, arg1) {
|
|
746
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
747
|
+
return addHeapObject(ret);
|
|
748
|
+
}, arguments);
|
|
749
|
+
};
|
|
750
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
751
|
+
const obj = getObject(arg1);
|
|
752
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
753
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
754
|
+
const len1 = WASM_VECTOR_LEN;
|
|
755
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
756
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
757
|
+
};
|
|
758
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
759
|
+
const obj = takeObject(arg0).original;
|
|
760
|
+
if (obj.cnt-- == 1) {
|
|
761
|
+
obj.a = 0;
|
|
762
|
+
return true;
|
|
777
763
|
}
|
|
778
|
-
const ret =
|
|
764
|
+
const ret = false;
|
|
779
765
|
return ret;
|
|
780
766
|
};
|
|
767
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
768
|
+
const ret = getObject(arg1).fontFamily;
|
|
769
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
770
|
+
const len1 = WASM_VECTOR_LEN;
|
|
771
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
772
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
773
|
+
};
|
|
774
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
775
|
+
const ret = getObject(arg1).backgroundColor;
|
|
776
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
777
|
+
const len1 = WASM_VECTOR_LEN;
|
|
778
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
779
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
780
|
+
};
|
|
781
781
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
782
782
|
const ret = getObject(arg0).blockStats;
|
|
783
783
|
return addHeapObject(ret);
|
|
@@ -1007,11 +1007,11 @@
|
|
|
1007
1007
|
const ret = wasm.memory;
|
|
1008
1008
|
return addHeapObject(ret);
|
|
1009
1009
|
};
|
|
1010
|
-
imports.wbg.
|
|
1011
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1010
|
+
imports.wbg.__wbindgen_closure_wrapper582 = function(arg0, arg1, arg2) {
|
|
1011
|
+
const ret = makeMutClosure(arg0, arg1, 187, __wbg_adapter_22);
|
|
1012
1012
|
return addHeapObject(ret);
|
|
1013
1013
|
};
|
|
1014
|
-
imports.wbg.
|
|
1014
|
+
imports.wbg.__wbindgen_closure_wrapper979 = function(arg0, arg1, arg2) {
|
|
1015
1015
|
const ret = makeMutClosure(arg0, arg1, 208, __wbg_adapter_25);
|
|
1016
1016
|
return addHeapObject(ret);
|
|
1017
1017
|
};
|