@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/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.29.1-dev47.0",
36
+ version: "1.29.1-dev51.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.29.1-dev47.0",
60
+ "@duckdb/duckdb-wasm": "^1.29.1-dev51.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,11 +303,11 @@
303
303
  return real;
304
304
  }
305
305
  function __wbg_adapter_22(arg0, arg1, arg2) {
306
- const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hddb5167cc04b5326(arg0, arg1, addHeapObject(arg2));
306
+ const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfe5acbd254c0f09b(arg0, arg1, addHeapObject(arg2));
307
307
  return ret !== 0;
308
308
  }
309
309
  function __wbg_adapter_25(arg0, arg1, arg2) {
310
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21e86434f3007437(arg0, arg1, addHeapObject(arg2));
310
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3a884ad021545540(arg0, arg1, addHeapObject(arg2));
311
311
  }
312
312
  var cachedUint32Memory0 = null;
313
313
  function getUint32Memory0() {
@@ -328,6 +328,13 @@
328
328
  WASM_VECTOR_LEN = arg.length;
329
329
  return ptr;
330
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
+ }
331
338
  function embed(elem, runtime, options) {
332
339
  try {
333
340
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -376,15 +383,8 @@
376
383
  const ret = wasm.configureDatabase(addHeapObject(db));
377
384
  return takeObject(ret);
378
385
  }
379
- function handleError(f, args) {
380
- try {
381
- return f.apply(this, args);
382
- } catch (e) {
383
- wasm.__wbindgen_exn_store(addHeapObject(e));
384
- }
385
- }
386
386
  function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
387
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h6ec9b37957db5671(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
387
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h0119d15922301e47(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" });
@@ -562,6 +562,12 @@
562
562
  return addHeapObject(ret);
563
563
  }, arguments);
564
564
  };
565
+ imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
566
+ return handleError(function(arg0, arg1, arg2, arg3) {
567
+ const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
568
+ return addHeapObject(ret);
569
+ }, arguments);
570
+ };
565
571
  imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
566
572
  return handleError(function(arg0, arg1) {
567
573
  const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
@@ -588,12 +594,6 @@
588
594
  return addHeapObject(ret);
589
595
  }, arguments);
590
596
  };
591
- imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
592
- return handleError(function(arg0, arg1, arg2, arg3) {
593
- const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
594
- return addHeapObject(ret);
595
- }, arguments);
596
- };
597
597
  imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
598
598
  return handleError(function(arg0, arg1, arg2) {
599
599
  const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
@@ -682,6 +682,15 @@
682
682
  return addHeapObject(ret);
683
683
  }, arguments);
684
684
  };
685
+ imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
686
+ console.log(getStringFromWasm0(arg0, arg1));
687
+ };
688
+ imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
689
+ console.error(getStringFromWasm0(arg0, arg1));
690
+ };
691
+ imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
692
+ console.warn(getStringFromWasm0(arg0, arg1));
693
+ };
685
694
  imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
686
695
  let result;
687
696
  try {
@@ -702,6 +711,41 @@
702
711
  const ret = result;
703
712
  return ret;
704
713
  };
714
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
715
+ const obj = getObject(arg1);
716
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
717
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
718
+ const len1 = WASM_VECTOR_LEN;
719
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
720
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
721
+ };
722
+ imports.wbg.__wbg_new_79cc836771d68198 = function() {
723
+ const ret = new import_xterm_addon_fit.FitAddon();
724
+ return addHeapObject(ret);
725
+ };
726
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
727
+ const ret = import_duckdb_wasm.PACKAGE_VERSION;
728
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
729
+ const len1 = WASM_VECTOR_LEN;
730
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
731
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
732
+ };
733
+ imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
734
+ const ret = import_duckdb_wasm.PACKAGE_NAME;
735
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
736
+ const len1 = WASM_VECTOR_LEN;
737
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
738
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
739
+ };
740
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
741
+ const obj = takeObject(arg0).original;
742
+ if (obj.cnt-- == 1) {
743
+ obj.a = 0;
744
+ return true;
745
+ }
746
+ const ret = false;
747
+ return ret;
748
+ };
705
749
  imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
706
750
  getObject(arg0).allowProposedApi = arg1 !== 0;
707
751
  };
@@ -738,20 +782,6 @@
738
782
  imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
739
783
  getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
740
784
  };
741
- imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
742
- const ret = getObject(arg1).backgroundColor;
743
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
744
- const len1 = WASM_VECTOR_LEN;
745
- getInt32Memory0()[arg0 / 4 + 1] = len1;
746
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
747
- };
748
- imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
749
- const ret = getObject(arg1).fontFamily;
750
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
- const len1 = WASM_VECTOR_LEN;
752
- getInt32Memory0()[arg0 / 4 + 1] = len1;
753
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
754
- };
755
785
  imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
756
786
  getObject(arg0).open(takeObject(arg1));
757
787
  };
@@ -766,45 +796,15 @@
766
796
  const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
767
797
  return addHeapObject(ret);
768
798
  };
769
- imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
770
- console.log(getStringFromWasm0(arg0, arg1));
771
- };
772
- imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
773
- console.error(getStringFromWasm0(arg0, arg1));
774
- };
775
- imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
776
- console.warn(getStringFromWasm0(arg0, arg1));
777
- };
778
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
779
- const obj = takeObject(arg0).original;
780
- if (obj.cnt-- == 1) {
781
- obj.a = 0;
782
- return true;
783
- }
784
- const ret = false;
785
- return ret;
786
- };
787
- imports.wbg.__wbg_new_79cc836771d68198 = function() {
788
- const ret = new import_xterm_addon_fit.FitAddon();
789
- return addHeapObject(ret);
790
- };
791
- imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
792
- const ret = import_duckdb_wasm.PACKAGE_NAME;
793
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
794
- const len1 = WASM_VECTOR_LEN;
795
- getInt32Memory0()[arg0 / 4 + 1] = len1;
796
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
797
- };
798
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
799
- const ret = import_duckdb_wasm.PACKAGE_VERSION;
799
+ imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
800
+ const ret = getObject(arg1).fontFamily;
800
801
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
801
802
  const len1 = WASM_VECTOR_LEN;
802
803
  getInt32Memory0()[arg0 / 4 + 1] = len1;
803
804
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
804
805
  };
805
- imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
806
- const obj = getObject(arg1);
807
- const ret = JSON.stringify(obj === void 0 ? null : obj);
806
+ imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
807
+ const ret = getObject(arg1).backgroundColor;
808
808
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
809
809
  const len1 = WASM_VECTOR_LEN;
810
810
  getInt32Memory0()[arg0 / 4 + 1] = len1;
@@ -999,12 +999,12 @@
999
999
  const ret = wasm.memory;
1000
1000
  return addHeapObject(ret);
1001
1001
  };
1002
- imports.wbg.__wbindgen_closure_wrapper551 = function(arg0, arg1, arg2) {
1003
- const ret = makeMutClosure(arg0, arg1, 154, __wbg_adapter_22);
1002
+ imports.wbg.__wbindgen_closure_wrapper461 = function(arg0, arg1, arg2) {
1003
+ const ret = makeMutClosure(arg0, arg1, 132, __wbg_adapter_22);
1004
1004
  return addHeapObject(ret);
1005
1005
  };
1006
- imports.wbg.__wbindgen_closure_wrapper907 = function(arg0, arg1, arg2) {
1007
- const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25);
1006
+ imports.wbg.__wbindgen_closure_wrapper932 = function(arg0, arg1, arg2) {
1007
+ const ret = makeMutClosure(arg0, arg1, 194, __wbg_adapter_25);
1008
1008
  return addHeapObject(ret);
1009
1009
  };
1010
1010
  return imports;