@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.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-dev231.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-dev231.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,18 +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._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfec68d83424365d2(arg0, arg1, addHeapObject(arg2));
|
|
307
307
|
return ret !== 0;
|
|
308
308
|
}
|
|
309
309
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
310
|
-
wasm.
|
|
311
|
-
}
|
|
312
|
-
function handleError(f, args) {
|
|
313
|
-
try {
|
|
314
|
-
return f.apply(this, args);
|
|
315
|
-
} catch (e) {
|
|
316
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
317
|
-
}
|
|
310
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h722a5ebb874f0c20(arg0, arg1, addHeapObject(arg2));
|
|
318
311
|
}
|
|
319
312
|
var cachedUint32Memory0 = null;
|
|
320
313
|
function getUint32Memory0() {
|
|
@@ -335,6 +328,13 @@
|
|
|
335
328
|
WASM_VECTOR_LEN = arg.length;
|
|
336
329
|
return ptr;
|
|
337
330
|
}
|
|
331
|
+
function handleError(f, args) {
|
|
332
|
+
try {
|
|
333
|
+
return f.apply(this, args);
|
|
334
|
+
} catch (e) {
|
|
335
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
338
|
function embed(elem, runtime, options) {
|
|
339
339
|
try {
|
|
340
340
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -383,8 +383,8 @@
|
|
|
383
383
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
384
384
|
return takeObject(ret);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
wasm.
|
|
386
|
+
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
387
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h636b3344f508d451(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" });
|
|
@@ -644,24 +644,6 @@
|
|
|
644
644
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
645
645
|
getObject(arg0).fit();
|
|
646
646
|
};
|
|
647
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
648
|
-
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
649
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
650
|
-
const len1 = WASM_VECTOR_LEN;
|
|
651
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
652
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
653
|
-
};
|
|
654
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
655
|
-
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
656
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
657
|
-
const len1 = WASM_VECTOR_LEN;
|
|
658
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
659
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
660
|
-
};
|
|
661
|
-
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
662
|
-
const ret = new import_xterm_addon_fit.FitAddon();
|
|
663
|
-
return addHeapObject(ret);
|
|
664
|
-
};
|
|
665
647
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
666
648
|
const obj = takeObject(arg0).original;
|
|
667
649
|
if (obj.cnt-- == 1) {
|
|
@@ -671,25 +653,15 @@
|
|
|
671
653
|
const ret = false;
|
|
672
654
|
return ret;
|
|
673
655
|
};
|
|
674
|
-
imports.wbg.
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
const ret =
|
|
682
|
-
|
|
683
|
-
const len1 = WASM_VECTOR_LEN;
|
|
684
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
685
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
686
|
-
};
|
|
687
|
-
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
688
|
-
const ret = getObject(arg1).fontFamily;
|
|
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;
|
|
656
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
657
|
+
let result;
|
|
658
|
+
try {
|
|
659
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
660
|
+
} catch (e) {
|
|
661
|
+
result = false;
|
|
662
|
+
}
|
|
663
|
+
const ret = result;
|
|
664
|
+
return ret;
|
|
693
665
|
};
|
|
694
666
|
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
695
667
|
let result;
|
|
@@ -701,6 +673,18 @@
|
|
|
701
673
|
const ret = result;
|
|
702
674
|
return ret;
|
|
703
675
|
};
|
|
676
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
677
|
+
const obj = getObject(arg1);
|
|
678
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
679
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
680
|
+
const len1 = WASM_VECTOR_LEN;
|
|
681
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
682
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
683
|
+
};
|
|
684
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
685
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
686
|
+
return addHeapObject(ret);
|
|
687
|
+
};
|
|
704
688
|
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
705
689
|
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
706
690
|
};
|
|
@@ -737,6 +721,34 @@
|
|
|
737
721
|
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
738
722
|
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
739
723
|
};
|
|
724
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
725
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
726
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
727
|
+
const len1 = WASM_VECTOR_LEN;
|
|
728
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
729
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
730
|
+
};
|
|
731
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
732
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
733
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
734
|
+
const len1 = WASM_VECTOR_LEN;
|
|
735
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
736
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
737
|
+
};
|
|
738
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
739
|
+
const ret = getObject(arg1).backgroundColor;
|
|
740
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
741
|
+
const len1 = WASM_VECTOR_LEN;
|
|
742
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
743
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
744
|
+
};
|
|
745
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
746
|
+
const ret = getObject(arg1).fontFamily;
|
|
747
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
748
|
+
const len1 = WASM_VECTOR_LEN;
|
|
749
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
750
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
751
|
+
};
|
|
740
752
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
741
753
|
getObject(arg0).open(takeObject(arg1));
|
|
742
754
|
};
|
|
@@ -747,15 +759,9 @@
|
|
|
747
759
|
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
748
760
|
return addHeapObject(ret);
|
|
749
761
|
};
|
|
750
|
-
imports.wbg.
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
754
|
-
} catch (e) {
|
|
755
|
-
result = false;
|
|
756
|
-
}
|
|
757
|
-
const ret = result;
|
|
758
|
-
return ret;
|
|
762
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
763
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
764
|
+
return addHeapObject(ret);
|
|
759
765
|
};
|
|
760
766
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
761
767
|
const ret = getObject(arg0).blockStats;
|
|
@@ -789,9 +795,11 @@
|
|
|
789
795
|
const ret = getObject(arg0).blockSize;
|
|
790
796
|
return addHeapObject(ret);
|
|
791
797
|
};
|
|
792
|
-
imports.wbg.
|
|
793
|
-
|
|
794
|
-
|
|
798
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
799
|
+
return handleError(function(arg0, arg1) {
|
|
800
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
801
|
+
return addHeapObject(ret);
|
|
802
|
+
}, arguments);
|
|
795
803
|
};
|
|
796
804
|
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
797
805
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
@@ -802,14 +810,6 @@
|
|
|
802
810
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
803
811
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
804
812
|
};
|
|
805
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
806
|
-
const obj = getObject(arg1);
|
|
807
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
808
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
809
|
-
const len1 = WASM_VECTOR_LEN;
|
|
810
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
811
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
812
|
-
};
|
|
813
813
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
814
814
|
const ret = new Error();
|
|
815
815
|
return addHeapObject(ret);
|
|
@@ -940,14 +940,6 @@
|
|
|
940
940
|
return addHeapObject(ret);
|
|
941
941
|
}, arguments);
|
|
942
942
|
};
|
|
943
|
-
imports.wbg.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
|
|
944
|
-
const ret = getObject(arg0).getTimezoneOffset();
|
|
945
|
-
return ret;
|
|
946
|
-
};
|
|
947
|
-
imports.wbg.__wbg_newwithyearmonthdayhrminsec_b540984d0081e7ed = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
948
|
-
const ret = new Date(arg0 >>> 0, arg1, arg2, arg3, arg4, arg5);
|
|
949
|
-
return addHeapObject(ret);
|
|
950
|
-
};
|
|
951
943
|
imports.wbg.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
|
|
952
944
|
try {
|
|
953
945
|
var state0 = { a: arg0, b: arg1 };
|
|
@@ -955,7 +947,7 @@
|
|
|
955
947
|
const a = state0.a;
|
|
956
948
|
state0.a = 0;
|
|
957
949
|
try {
|
|
958
|
-
return
|
|
950
|
+
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
959
951
|
} finally {
|
|
960
952
|
state0.a = a;
|
|
961
953
|
}
|
|
@@ -1007,12 +999,12 @@
|
|
|
1007
999
|
const ret = wasm.memory;
|
|
1008
1000
|
return addHeapObject(ret);
|
|
1009
1001
|
};
|
|
1010
|
-
imports.wbg.
|
|
1011
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1002
|
+
imports.wbg.__wbindgen_closure_wrapper457 = function(arg0, arg1, arg2) {
|
|
1003
|
+
const ret = makeMutClosure(arg0, arg1, 145, __wbg_adapter_22);
|
|
1012
1004
|
return addHeapObject(ret);
|
|
1013
1005
|
};
|
|
1014
|
-
imports.wbg.
|
|
1015
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1006
|
+
imports.wbg.__wbindgen_closure_wrapper917 = function(arg0, arg1, arg2) {
|
|
1007
|
+
const ret = makeMutClosure(arg0, arg1, 207, __wbg_adapter_25);
|
|
1016
1008
|
return addHeapObject(ret);
|
|
1017
1009
|
};
|
|
1018
1010
|
return imports;
|