@duckdb/duckdb-wasm-shell 1.29.1-dev12.0 → 1.29.1-dev126.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/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +54 -48
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +54 -48
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +54 -48
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" height="20" role="img" aria-label="duckdb: v1.2.1-dev140"><title>duckdb: v1.2.1-dev140</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="140" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="49" height="20" fill="#555"/><rect x="49" width="91" height="20" fill="#007ec6"/><rect width="140" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="255" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">duckdb</text><text x="255" y="140" transform="scale(.1)" fill="#fff" textLength="390">duckdb</text><text aria-hidden="true" x="935" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="810">v1.2.1-dev140</text><text x="935" y="140" transform="scale(.1)" fill="#fff" textLength="810">v1.2.1-dev140</text></g></svg>
|
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.29.1-
|
|
46
|
+
version: "1.29.1-dev126.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.29.1-
|
|
70
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev126.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,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._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbcab8150e904b6b6(arg0, arg1, addHeapObject(arg2));
|
|
317
317
|
return ret !== 0;
|
|
318
318
|
}
|
|
319
319
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
320
|
-
wasm.
|
|
320
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he614c323b7a46a07(arg0, arg1, addHeapObject(arg2));
|
|
321
321
|
}
|
|
322
322
|
function embed(elem, runtime, options) {
|
|
323
323
|
try {
|
|
@@ -393,8 +393,8 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
393
393
|
WASM_VECTOR_LEN = arg.length;
|
|
394
394
|
return ptr;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
wasm.
|
|
396
|
+
function __wbg_adapter_213(arg0, arg1, arg2, arg3) {
|
|
397
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h371e4fd76bd48373(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" });
|
|
@@ -490,6 +490,12 @@ function __wbg_get_imports() {
|
|
|
490
490
|
return addHeapObject(ret);
|
|
491
491
|
}, arguments);
|
|
492
492
|
};
|
|
493
|
+
imports.wbg.__wbg_registerOPFSFileName_8efb2b5d0df8d9a7 = function() {
|
|
494
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
495
|
+
const ret = getObject(arg0).registerOPFSFileName(getStringFromWasm0(arg1, arg2));
|
|
496
|
+
return addHeapObject(ret);
|
|
497
|
+
}, arguments);
|
|
498
|
+
};
|
|
493
499
|
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
|
|
494
500
|
return handleError(function(arg0, arg1, arg2) {
|
|
495
501
|
const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
@@ -572,6 +578,12 @@ function __wbg_get_imports() {
|
|
|
572
578
|
return addHeapObject(ret);
|
|
573
579
|
}, arguments);
|
|
574
580
|
};
|
|
581
|
+
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
582
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
583
|
+
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
584
|
+
return addHeapObject(ret);
|
|
585
|
+
}, arguments);
|
|
586
|
+
};
|
|
575
587
|
imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
|
|
576
588
|
return handleError(function(arg0, arg1) {
|
|
577
589
|
const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
|
|
@@ -598,12 +610,6 @@ function __wbg_get_imports() {
|
|
|
598
610
|
return addHeapObject(ret);
|
|
599
611
|
}, arguments);
|
|
600
612
|
};
|
|
601
|
-
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
602
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
603
|
-
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
604
|
-
return addHeapObject(ret);
|
|
605
|
-
}, arguments);
|
|
606
|
-
};
|
|
607
613
|
imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
|
|
608
614
|
return handleError(function(arg0, arg1, arg2) {
|
|
609
615
|
const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
|
|
@@ -654,14 +660,11 @@ function __wbg_get_imports() {
|
|
|
654
660
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
655
661
|
getObject(arg0).fit();
|
|
656
662
|
};
|
|
657
|
-
imports.wbg.
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
const ret = false;
|
|
664
|
-
return ret;
|
|
663
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
664
|
+
return handleError(function(arg0, arg1) {
|
|
665
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
666
|
+
return addHeapObject(ret);
|
|
667
|
+
}, arguments);
|
|
665
668
|
};
|
|
666
669
|
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
667
670
|
getObject(arg0).rows = arg1 >>> 0;
|
|
@@ -747,11 +750,17 @@ function __wbg_get_imports() {
|
|
|
747
750
|
const ret = result;
|
|
748
751
|
return ret;
|
|
749
752
|
};
|
|
750
|
-
imports.wbg.
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
753
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
754
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
755
|
+
return addHeapObject(ret);
|
|
756
|
+
};
|
|
757
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
758
|
+
const obj = getObject(arg1);
|
|
759
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
760
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
761
|
+
const len1 = WASM_VECTOR_LEN;
|
|
762
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
763
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
755
764
|
};
|
|
756
765
|
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
757
766
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
@@ -762,9 +771,8 @@ function __wbg_get_imports() {
|
|
|
762
771
|
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
763
772
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
764
773
|
};
|
|
765
|
-
imports.wbg.
|
|
766
|
-
const
|
|
767
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
774
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
775
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
768
776
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
769
777
|
const len1 = WASM_VECTOR_LEN;
|
|
770
778
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
@@ -777,17 +785,6 @@ function __wbg_get_imports() {
|
|
|
777
785
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
778
786
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
779
787
|
};
|
|
780
|
-
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
781
|
-
const ret = new import_xterm_addon_fit.FitAddon();
|
|
782
|
-
return addHeapObject(ret);
|
|
783
|
-
};
|
|
784
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
785
|
-
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
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
788
|
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
792
789
|
const ret = getObject(arg0).blockStats;
|
|
793
790
|
return addHeapObject(ret);
|
|
@@ -871,10 +868,6 @@ function __wbg_get_imports() {
|
|
|
871
868
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
872
869
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
873
870
|
};
|
|
874
|
-
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
875
|
-
const ret = getObject(arg0).now();
|
|
876
|
-
return ret;
|
|
877
|
-
};
|
|
878
871
|
imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
|
|
879
872
|
const ret = getObject(arg1).type;
|
|
880
873
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -882,6 +875,19 @@ function __wbg_get_imports() {
|
|
|
882
875
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
883
876
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
884
877
|
};
|
|
878
|
+
imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
|
|
879
|
+
const ret = getObject(arg0).now();
|
|
880
|
+
return ret;
|
|
881
|
+
};
|
|
882
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
883
|
+
const obj = takeObject(arg0).original;
|
|
884
|
+
if (obj.cnt-- == 1) {
|
|
885
|
+
obj.a = 0;
|
|
886
|
+
return true;
|
|
887
|
+
}
|
|
888
|
+
const ret = false;
|
|
889
|
+
return ret;
|
|
890
|
+
};
|
|
885
891
|
imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
|
|
886
892
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
887
893
|
return addHeapObject(ret);
|
|
@@ -957,7 +963,7 @@ function __wbg_get_imports() {
|
|
|
957
963
|
const a = state0.a;
|
|
958
964
|
state0.a = 0;
|
|
959
965
|
try {
|
|
960
|
-
return
|
|
966
|
+
return __wbg_adapter_213(a, state0.b, arg02, arg12);
|
|
961
967
|
} finally {
|
|
962
968
|
state0.a = a;
|
|
963
969
|
}
|
|
@@ -1009,12 +1015,12 @@ function __wbg_get_imports() {
|
|
|
1009
1015
|
const ret = wasm.memory;
|
|
1010
1016
|
return addHeapObject(ret);
|
|
1011
1017
|
};
|
|
1012
|
-
imports.wbg.
|
|
1013
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1018
|
+
imports.wbg.__wbindgen_closure_wrapper549 = function(arg0, arg1, arg2) {
|
|
1019
|
+
const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_22);
|
|
1014
1020
|
return addHeapObject(ret);
|
|
1015
1021
|
};
|
|
1016
|
-
imports.wbg.
|
|
1017
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1022
|
+
imports.wbg.__wbindgen_closure_wrapper897 = function(arg0, arg1, arg2) {
|
|
1023
|
+
const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25);
|
|
1018
1024
|
return addHeapObject(ret);
|
|
1019
1025
|
};
|
|
1020
1026
|
return imports;
|