@duckdb/duckdb-wasm-shell 1.28.1-dev226.0 → 1.28.1-dev232.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.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@duckdb/duckdb-wasm-shell",
|
|
4
|
-
version: "1.28.1-
|
|
4
|
+
version: "1.28.1-dev232.0",
|
|
5
5
|
description: "",
|
|
6
6
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
7
7
|
license: "MIT",
|
|
@@ -25,7 +25,7 @@ var package_default = {
|
|
|
25
25
|
"csv"
|
|
26
26
|
],
|
|
27
27
|
dependencies: {
|
|
28
|
-
"@duckdb/duckdb-wasm": "^1.28.1-
|
|
28
|
+
"@duckdb/duckdb-wasm": "^1.28.1-dev232.0",
|
|
29
29
|
xterm: "^5.3.0",
|
|
30
30
|
"xterm-addon-fit": "^0.8.0",
|
|
31
31
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -270,18 +270,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
270
270
|
return real;
|
|
271
271
|
}
|
|
272
272
|
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
273
|
-
const ret = wasm.
|
|
273
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfec68d83424365d2(arg0, arg1, addHeapObject(arg2));
|
|
274
274
|
return ret !== 0;
|
|
275
275
|
}
|
|
276
276
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
277
|
-
wasm.
|
|
278
|
-
}
|
|
279
|
-
function handleError(f, args) {
|
|
280
|
-
try {
|
|
281
|
-
return f.apply(this, args);
|
|
282
|
-
} catch (e) {
|
|
283
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
284
|
-
}
|
|
277
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h722a5ebb874f0c20(arg0, arg1, addHeapObject(arg2));
|
|
285
278
|
}
|
|
286
279
|
var cachedUint32Memory0 = null;
|
|
287
280
|
function getUint32Memory0() {
|
|
@@ -302,6 +295,13 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
302
295
|
WASM_VECTOR_LEN = arg.length;
|
|
303
296
|
return ptr;
|
|
304
297
|
}
|
|
298
|
+
function handleError(f, args) {
|
|
299
|
+
try {
|
|
300
|
+
return f.apply(this, args);
|
|
301
|
+
} catch (e) {
|
|
302
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
305
|
function embed(elem, runtime, options) {
|
|
306
306
|
try {
|
|
307
307
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -350,8 +350,8 @@ function configureDatabase(db) {
|
|
|
350
350
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
351
351
|
return takeObject(ret);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
wasm.
|
|
353
|
+
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
354
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h636b3344f508d451(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
355
355
|
}
|
|
356
356
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
357
357
|
var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
|
|
@@ -611,24 +611,6 @@ function __wbg_get_imports() {
|
|
|
611
611
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
612
612
|
getObject(arg0).fit();
|
|
613
613
|
};
|
|
614
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
615
|
-
const ret = PACKAGE_VERSION2;
|
|
616
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
617
|
-
const len1 = WASM_VECTOR_LEN;
|
|
618
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
619
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
620
|
-
};
|
|
621
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
622
|
-
const ret = PACKAGE_NAME2;
|
|
623
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
624
|
-
const len1 = WASM_VECTOR_LEN;
|
|
625
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
626
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
627
|
-
};
|
|
628
|
-
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
629
|
-
const ret = new FitAddon();
|
|
630
|
-
return addHeapObject(ret);
|
|
631
|
-
};
|
|
632
614
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
633
615
|
const obj = takeObject(arg0).original;
|
|
634
616
|
if (obj.cnt-- == 1) {
|
|
@@ -638,25 +620,15 @@ function __wbg_get_imports() {
|
|
|
638
620
|
const ret = false;
|
|
639
621
|
return ret;
|
|
640
622
|
};
|
|
641
|
-
imports.wbg.
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
const ret =
|
|
649
|
-
|
|
650
|
-
const len1 = WASM_VECTOR_LEN;
|
|
651
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
652
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
653
|
-
};
|
|
654
|
-
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
655
|
-
const ret = getObject(arg1).fontFamily;
|
|
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;
|
|
623
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
624
|
+
let result;
|
|
625
|
+
try {
|
|
626
|
+
result = getObject(arg0) instanceof WebglAddon;
|
|
627
|
+
} catch (e) {
|
|
628
|
+
result = false;
|
|
629
|
+
}
|
|
630
|
+
const ret = result;
|
|
631
|
+
return ret;
|
|
660
632
|
};
|
|
661
633
|
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
662
634
|
let result;
|
|
@@ -668,6 +640,18 @@ function __wbg_get_imports() {
|
|
|
668
640
|
const ret = result;
|
|
669
641
|
return ret;
|
|
670
642
|
};
|
|
643
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
644
|
+
const obj = getObject(arg1);
|
|
645
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
646
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
647
|
+
const len1 = WASM_VECTOR_LEN;
|
|
648
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
649
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
650
|
+
};
|
|
651
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
652
|
+
const ret = new FitAddon();
|
|
653
|
+
return addHeapObject(ret);
|
|
654
|
+
};
|
|
671
655
|
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
672
656
|
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
673
657
|
};
|
|
@@ -704,6 +688,34 @@ function __wbg_get_imports() {
|
|
|
704
688
|
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
705
689
|
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
706
690
|
};
|
|
691
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
692
|
+
const ret = PACKAGE_NAME2;
|
|
693
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
694
|
+
const len1 = WASM_VECTOR_LEN;
|
|
695
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
696
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
697
|
+
};
|
|
698
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
699
|
+
const ret = PACKAGE_VERSION2;
|
|
700
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
701
|
+
const len1 = WASM_VECTOR_LEN;
|
|
702
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
703
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
704
|
+
};
|
|
705
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
706
|
+
const ret = getObject(arg1).backgroundColor;
|
|
707
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
708
|
+
const len1 = WASM_VECTOR_LEN;
|
|
709
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
710
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
711
|
+
};
|
|
712
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
713
|
+
const ret = getObject(arg1).fontFamily;
|
|
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
|
+
};
|
|
707
719
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
708
720
|
getObject(arg0).open(takeObject(arg1));
|
|
709
721
|
};
|
|
@@ -714,15 +726,9 @@ function __wbg_get_imports() {
|
|
|
714
726
|
const ret = new WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
715
727
|
return addHeapObject(ret);
|
|
716
728
|
};
|
|
717
|
-
imports.wbg.
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
result = getObject(arg0) instanceof WebglAddon;
|
|
721
|
-
} catch (e) {
|
|
722
|
-
result = false;
|
|
723
|
-
}
|
|
724
|
-
const ret = result;
|
|
725
|
-
return ret;
|
|
729
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
730
|
+
const ret = new WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
731
|
+
return addHeapObject(ret);
|
|
726
732
|
};
|
|
727
733
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
728
734
|
const ret = getObject(arg0).blockStats;
|
|
@@ -756,9 +762,11 @@ function __wbg_get_imports() {
|
|
|
756
762
|
const ret = getObject(arg0).blockSize;
|
|
757
763
|
return addHeapObject(ret);
|
|
758
764
|
};
|
|
759
|
-
imports.wbg.
|
|
760
|
-
|
|
761
|
-
|
|
765
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
766
|
+
return handleError(function(arg0, arg1) {
|
|
767
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
768
|
+
return addHeapObject(ret);
|
|
769
|
+
}, arguments);
|
|
762
770
|
};
|
|
763
771
|
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
764
772
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
@@ -769,14 +777,6 @@ function __wbg_get_imports() {
|
|
|
769
777
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
770
778
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
771
779
|
};
|
|
772
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
773
|
-
const obj = getObject(arg1);
|
|
774
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
775
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
776
|
-
const len1 = WASM_VECTOR_LEN;
|
|
777
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
778
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
779
|
-
};
|
|
780
780
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
781
781
|
const ret = new Error();
|
|
782
782
|
return addHeapObject(ret);
|
|
@@ -907,14 +907,6 @@ function __wbg_get_imports() {
|
|
|
907
907
|
return addHeapObject(ret);
|
|
908
908
|
}, arguments);
|
|
909
909
|
};
|
|
910
|
-
imports.wbg.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
|
|
911
|
-
const ret = getObject(arg0).getTimezoneOffset();
|
|
912
|
-
return ret;
|
|
913
|
-
};
|
|
914
|
-
imports.wbg.__wbg_newwithyearmonthdayhrminsec_b540984d0081e7ed = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
915
|
-
const ret = new Date(arg0 >>> 0, arg1, arg2, arg3, arg4, arg5);
|
|
916
|
-
return addHeapObject(ret);
|
|
917
|
-
};
|
|
918
910
|
imports.wbg.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
|
|
919
911
|
try {
|
|
920
912
|
var state0 = { a: arg0, b: arg1 };
|
|
@@ -922,7 +914,7 @@ function __wbg_get_imports() {
|
|
|
922
914
|
const a = state0.a;
|
|
923
915
|
state0.a = 0;
|
|
924
916
|
try {
|
|
925
|
-
return
|
|
917
|
+
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
926
918
|
} finally {
|
|
927
919
|
state0.a = a;
|
|
928
920
|
}
|
|
@@ -974,12 +966,12 @@ function __wbg_get_imports() {
|
|
|
974
966
|
const ret = wasm.memory;
|
|
975
967
|
return addHeapObject(ret);
|
|
976
968
|
};
|
|
977
|
-
imports.wbg.
|
|
978
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
969
|
+
imports.wbg.__wbindgen_closure_wrapper457 = function(arg0, arg1, arg2) {
|
|
970
|
+
const ret = makeMutClosure(arg0, arg1, 145, __wbg_adapter_22);
|
|
979
971
|
return addHeapObject(ret);
|
|
980
972
|
};
|
|
981
|
-
imports.wbg.
|
|
982
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
973
|
+
imports.wbg.__wbindgen_closure_wrapper917 = function(arg0, arg1, arg2) {
|
|
974
|
+
const ret = makeMutClosure(arg0, arg1, 207, __wbg_adapter_25);
|
|
983
975
|
return addHeapObject(ret);
|
|
984
976
|
};
|
|
985
977
|
return imports;
|