@duckdb/duckdb-wasm-shell 1.29.1-dev47.0 → 1.29.1-dev51.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 +70 -70
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +70 -70
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +71 -71
- 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="148" height="20" role="img" aria-label="duckdb: v1.1.3-
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="148" height="20" role="img" aria-label="duckdb: v1.1.3-dev5006"><title>duckdb: v1.1.3-dev5006</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="148" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="49" height="20" fill="#555"/><rect x="49" width="99" height="20" fill="#007ec6"/><rect width="148" 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="975" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">v1.1.3-dev5006</text><text x="975" y="140" transform="scale(.1)" fill="#fff" textLength="890">v1.1.3-dev5006</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-dev51.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-dev51.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__hfe5acbd254c0f09b(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__h3a884ad021545540(arg0, arg1, addHeapObject(arg2));
|
|
321
321
|
}
|
|
322
322
|
var cachedUint32Memory0 = null;
|
|
323
323
|
function getUint32Memory0() {
|
|
@@ -338,6 +338,13 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
338
338
|
WASM_VECTOR_LEN = arg.length;
|
|
339
339
|
return ptr;
|
|
340
340
|
}
|
|
341
|
+
function handleError(f, args) {
|
|
342
|
+
try {
|
|
343
|
+
return f.apply(this, args);
|
|
344
|
+
} catch (e) {
|
|
345
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
341
348
|
function embed(elem, runtime, options) {
|
|
342
349
|
try {
|
|
343
350
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -386,15 +393,8 @@ function configureDatabase(db) {
|
|
|
386
393
|
const ret = wasm.configureDatabase(addHeapObject(db));
|
|
387
394
|
return takeObject(ret);
|
|
388
395
|
}
|
|
389
|
-
function handleError(f, args) {
|
|
390
|
-
try {
|
|
391
|
-
return f.apply(this, args);
|
|
392
|
-
} catch (e) {
|
|
393
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
396
|
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
397
|
-
wasm.
|
|
397
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h0119d15922301e47(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" });
|
|
@@ -572,6 +572,12 @@ function __wbg_get_imports() {
|
|
|
572
572
|
return addHeapObject(ret);
|
|
573
573
|
}, arguments);
|
|
574
574
|
};
|
|
575
|
+
imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
|
|
576
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
577
|
+
const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
578
|
+
return addHeapObject(ret);
|
|
579
|
+
}, arguments);
|
|
580
|
+
};
|
|
575
581
|
imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
|
|
576
582
|
return handleError(function(arg0, arg1) {
|
|
577
583
|
const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
|
|
@@ -598,12 +604,6 @@ function __wbg_get_imports() {
|
|
|
598
604
|
return addHeapObject(ret);
|
|
599
605
|
}, arguments);
|
|
600
606
|
};
|
|
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
607
|
imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
|
|
608
608
|
return handleError(function(arg0, arg1, arg2) {
|
|
609
609
|
const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
|
|
@@ -692,6 +692,15 @@ function __wbg_get_imports() {
|
|
|
692
692
|
return addHeapObject(ret);
|
|
693
693
|
}, arguments);
|
|
694
694
|
};
|
|
695
|
+
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
696
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
697
|
+
};
|
|
698
|
+
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
699
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
700
|
+
};
|
|
701
|
+
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
702
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
703
|
+
};
|
|
695
704
|
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
696
705
|
let result;
|
|
697
706
|
try {
|
|
@@ -712,6 +721,41 @@ function __wbg_get_imports() {
|
|
|
712
721
|
const ret = result;
|
|
713
722
|
return ret;
|
|
714
723
|
};
|
|
724
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
725
|
+
const obj = getObject(arg1);
|
|
726
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
727
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
728
|
+
const len1 = WASM_VECTOR_LEN;
|
|
729
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
730
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
731
|
+
};
|
|
732
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
733
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
734
|
+
return addHeapObject(ret);
|
|
735
|
+
};
|
|
736
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
737
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
738
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
739
|
+
const len1 = WASM_VECTOR_LEN;
|
|
740
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
741
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
742
|
+
};
|
|
743
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
744
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
745
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
746
|
+
const len1 = WASM_VECTOR_LEN;
|
|
747
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
748
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
749
|
+
};
|
|
750
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
751
|
+
const obj = takeObject(arg0).original;
|
|
752
|
+
if (obj.cnt-- == 1) {
|
|
753
|
+
obj.a = 0;
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
const ret = false;
|
|
757
|
+
return ret;
|
|
758
|
+
};
|
|
715
759
|
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
716
760
|
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
717
761
|
};
|
|
@@ -748,20 +792,6 @@ function __wbg_get_imports() {
|
|
|
748
792
|
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
749
793
|
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
750
794
|
};
|
|
751
|
-
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
752
|
-
const ret = getObject(arg1).backgroundColor;
|
|
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.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
759
|
-
const ret = getObject(arg1).fontFamily;
|
|
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;
|
|
764
|
-
};
|
|
765
795
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
766
796
|
getObject(arg0).open(takeObject(arg1));
|
|
767
797
|
};
|
|
@@ -776,45 +806,15 @@ function __wbg_get_imports() {
|
|
|
776
806
|
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
777
807
|
return addHeapObject(ret);
|
|
778
808
|
};
|
|
779
|
-
imports.wbg.
|
|
780
|
-
|
|
781
|
-
};
|
|
782
|
-
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
783
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
784
|
-
};
|
|
785
|
-
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
786
|
-
console.warn(getStringFromWasm0(arg0, arg1));
|
|
787
|
-
};
|
|
788
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
789
|
-
const obj = takeObject(arg0).original;
|
|
790
|
-
if (obj.cnt-- == 1) {
|
|
791
|
-
obj.a = 0;
|
|
792
|
-
return true;
|
|
793
|
-
}
|
|
794
|
-
const ret = false;
|
|
795
|
-
return ret;
|
|
796
|
-
};
|
|
797
|
-
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
798
|
-
const ret = new import_xterm_addon_fit.FitAddon();
|
|
799
|
-
return addHeapObject(ret);
|
|
800
|
-
};
|
|
801
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
802
|
-
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
803
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
804
|
-
const len1 = WASM_VECTOR_LEN;
|
|
805
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
806
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
807
|
-
};
|
|
808
|
-
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
809
|
-
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
809
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
810
|
+
const ret = getObject(arg1).fontFamily;
|
|
810
811
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
811
812
|
const len1 = WASM_VECTOR_LEN;
|
|
812
813
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
813
814
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
814
815
|
};
|
|
815
|
-
imports.wbg.
|
|
816
|
-
const
|
|
817
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
816
|
+
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
817
|
+
const ret = getObject(arg1).backgroundColor;
|
|
818
818
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
819
819
|
const len1 = WASM_VECTOR_LEN;
|
|
820
820
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
@@ -1009,12 +1009,12 @@ function __wbg_get_imports() {
|
|
|
1009
1009
|
const ret = wasm.memory;
|
|
1010
1010
|
return addHeapObject(ret);
|
|
1011
1011
|
};
|
|
1012
|
-
imports.wbg.
|
|
1013
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1012
|
+
imports.wbg.__wbindgen_closure_wrapper461 = function(arg0, arg1, arg2) {
|
|
1013
|
+
const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_22);
|
|
1014
1014
|
return addHeapObject(ret);
|
|
1015
1015
|
};
|
|
1016
|
-
imports.wbg.
|
|
1017
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1016
|
+
imports.wbg.__wbindgen_closure_wrapper932 = function(arg0, arg1, arg2) {
|
|
1017
|
+
const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_25);
|
|
1018
1018
|
return addHeapObject(ret);
|
|
1019
1019
|
};
|
|
1020
1020
|
return imports;
|