@duckdb/duckdb-wasm-shell 1.28.1-dev173.0 → 1.28.1-dev178.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 +82 -82
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +82 -82
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +83 -83
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +3 -3
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-dev178.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-dev178.0",
|
|
71
71
|
xterm: "^5.3.0",
|
|
72
72
|
"xterm-addon-fit": "^0.8.0",
|
|
73
73
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -82,7 +82,7 @@ var package_default = {
|
|
|
82
82
|
"jasmine-core": "^5.1.2",
|
|
83
83
|
"jasmine-spec-reporter": "^7.0.0",
|
|
84
84
|
"make-dir": "^4.0.0",
|
|
85
|
-
prettier: "^3.2.
|
|
85
|
+
prettier: "^3.2.5",
|
|
86
86
|
rimraf: "^5.0.5",
|
|
87
87
|
"wasm-pack": "^0.12.1"
|
|
88
88
|
},
|
|
@@ -313,11 +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.wasm_bindgen__convert__closures__invoke1_mut__h742f8e578a3a9eff(arg0, arg1, addHeapObject(arg2));
|
|
317
317
|
return ret !== 0;
|
|
318
318
|
}
|
|
319
319
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
320
|
-
wasm.
|
|
320
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h79d35ec3de1ace5c(arg0, arg1, addHeapObject(arg2));
|
|
321
321
|
}
|
|
322
322
|
function handleError(f, args) {
|
|
323
323
|
try {
|
|
@@ -394,7 +394,7 @@ function configureDatabase(db) {
|
|
|
394
394
|
return takeObject(ret);
|
|
395
395
|
}
|
|
396
396
|
function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
|
|
397
|
-
wasm.
|
|
397
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h54cfe2cd262729d7(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" });
|
|
@@ -663,29 +663,13 @@ function __wbg_get_imports() {
|
|
|
663
663
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
664
664
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
665
665
|
};
|
|
666
|
-
imports.wbg.
|
|
667
|
-
|
|
668
|
-
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
669
|
-
return addHeapObject(ret);
|
|
670
|
-
}, arguments);
|
|
671
|
-
};
|
|
672
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
673
|
-
const obj = getObject(arg1);
|
|
674
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
666
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
667
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
675
668
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
676
669
|
const len1 = WASM_VECTOR_LEN;
|
|
677
670
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
678
671
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
679
672
|
};
|
|
680
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
681
|
-
const obj = takeObject(arg0).original;
|
|
682
|
-
if (obj.cnt-- == 1) {
|
|
683
|
-
obj.a = 0;
|
|
684
|
-
return true;
|
|
685
|
-
}
|
|
686
|
-
const ret = false;
|
|
687
|
-
return ret;
|
|
688
|
-
};
|
|
689
673
|
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
690
674
|
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
691
675
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -693,15 +677,32 @@ function __wbg_get_imports() {
|
|
|
693
677
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
694
678
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
695
679
|
};
|
|
696
|
-
imports.wbg.
|
|
697
|
-
const ret =
|
|
698
|
-
|
|
699
|
-
const len1 = WASM_VECTOR_LEN;
|
|
700
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
701
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
680
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
681
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
682
|
+
return addHeapObject(ret);
|
|
702
683
|
};
|
|
703
|
-
imports.wbg.
|
|
704
|
-
|
|
684
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
685
|
+
let result;
|
|
686
|
+
try {
|
|
687
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
688
|
+
} catch (e) {
|
|
689
|
+
result = false;
|
|
690
|
+
}
|
|
691
|
+
const ret = result;
|
|
692
|
+
return ret;
|
|
693
|
+
};
|
|
694
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
695
|
+
let result;
|
|
696
|
+
try {
|
|
697
|
+
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
|
|
698
|
+
} catch (e) {
|
|
699
|
+
result = false;
|
|
700
|
+
}
|
|
701
|
+
const ret = result;
|
|
702
|
+
return ret;
|
|
703
|
+
};
|
|
704
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
705
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
705
706
|
};
|
|
706
707
|
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
707
708
|
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
@@ -709,64 +710,36 @@ function __wbg_get_imports() {
|
|
|
709
710
|
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
710
711
|
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
711
712
|
};
|
|
712
|
-
imports.wbg.
|
|
713
|
-
|
|
714
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
715
|
-
const len1 = WASM_VECTOR_LEN;
|
|
716
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
717
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
718
|
-
};
|
|
719
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
720
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
713
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
714
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
721
715
|
};
|
|
722
716
|
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
723
717
|
getObject(arg0).fontSize = arg1 >>> 0;
|
|
724
718
|
};
|
|
725
|
-
imports.wbg.
|
|
726
|
-
getObject(arg0).
|
|
719
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
720
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
727
721
|
};
|
|
728
722
|
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
729
723
|
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
730
724
|
};
|
|
731
|
-
imports.wbg.
|
|
732
|
-
getObject(arg0).
|
|
725
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
726
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
733
727
|
};
|
|
734
|
-
imports.wbg.
|
|
735
|
-
getObject(arg0).
|
|
728
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
729
|
+
getObject(arg0).theme = getObject(arg1);
|
|
736
730
|
};
|
|
737
731
|
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
738
732
|
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
739
733
|
};
|
|
740
|
-
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
741
|
-
const ret = getObject(arg1).backgroundColor;
|
|
742
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
743
|
-
const len1 = WASM_VECTOR_LEN;
|
|
744
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
745
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
746
|
-
};
|
|
747
734
|
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
748
735
|
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
749
736
|
};
|
|
750
|
-
imports.wbg.
|
|
751
|
-
getObject(arg0).
|
|
737
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
738
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
752
739
|
};
|
|
753
740
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
754
741
|
getObject(arg0).open(takeObject(arg1));
|
|
755
742
|
};
|
|
756
|
-
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
757
|
-
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
758
|
-
return addHeapObject(ret);
|
|
759
|
-
};
|
|
760
|
-
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
761
|
-
let result;
|
|
762
|
-
try {
|
|
763
|
-
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
764
|
-
} catch (e) {
|
|
765
|
-
result = false;
|
|
766
|
-
}
|
|
767
|
-
const ret = result;
|
|
768
|
-
return ret;
|
|
769
|
-
};
|
|
770
743
|
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
771
744
|
getObject(arg0).loadAddon(takeObject(arg1));
|
|
772
745
|
};
|
|
@@ -774,20 +747,47 @@ function __wbg_get_imports() {
|
|
|
774
747
|
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
775
748
|
return addHeapObject(ret);
|
|
776
749
|
};
|
|
777
|
-
imports.wbg.
|
|
778
|
-
const ret = new
|
|
750
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
751
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
779
752
|
return addHeapObject(ret);
|
|
780
753
|
};
|
|
781
|
-
imports.wbg.
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
}
|
|
786
|
-
|
|
754
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
755
|
+
return handleError(function(arg0, arg1) {
|
|
756
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
757
|
+
return addHeapObject(ret);
|
|
758
|
+
}, arguments);
|
|
759
|
+
};
|
|
760
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
761
|
+
const obj = getObject(arg1);
|
|
762
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
763
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
764
|
+
const len1 = WASM_VECTOR_LEN;
|
|
765
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
766
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
767
|
+
};
|
|
768
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
769
|
+
const obj = takeObject(arg0).original;
|
|
770
|
+
if (obj.cnt-- == 1) {
|
|
771
|
+
obj.a = 0;
|
|
772
|
+
return true;
|
|
787
773
|
}
|
|
788
|
-
const ret =
|
|
774
|
+
const ret = false;
|
|
789
775
|
return ret;
|
|
790
776
|
};
|
|
777
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
778
|
+
const ret = getObject(arg1).fontFamily;
|
|
779
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
780
|
+
const len1 = WASM_VECTOR_LEN;
|
|
781
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
782
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
783
|
+
};
|
|
784
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
785
|
+
const ret = getObject(arg1).backgroundColor;
|
|
786
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
787
|
+
const len1 = WASM_VECTOR_LEN;
|
|
788
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
789
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
790
|
+
};
|
|
791
791
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
792
792
|
const ret = getObject(arg0).blockStats;
|
|
793
793
|
return addHeapObject(ret);
|
|
@@ -1017,11 +1017,11 @@ function __wbg_get_imports() {
|
|
|
1017
1017
|
const ret = wasm.memory;
|
|
1018
1018
|
return addHeapObject(ret);
|
|
1019
1019
|
};
|
|
1020
|
-
imports.wbg.
|
|
1021
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1020
|
+
imports.wbg.__wbindgen_closure_wrapper582 = function(arg0, arg1, arg2) {
|
|
1021
|
+
const ret = makeMutClosure(arg0, arg1, 187, __wbg_adapter_22);
|
|
1022
1022
|
return addHeapObject(ret);
|
|
1023
1023
|
};
|
|
1024
|
-
imports.wbg.
|
|
1024
|
+
imports.wbg.__wbindgen_closure_wrapper979 = function(arg0, arg1, arg2) {
|
|
1025
1025
|
const ret = makeMutClosure(arg0, arg1, 208, __wbg_adapter_25);
|
|
1026
1026
|
return addHeapObject(ret);
|
|
1027
1027
|
};
|