@duckdb/duckdb-wasm-shell 1.28.1-dev82.0 → 1.28.1-dev87.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.28.1-dev82.0",
36
+ version: "1.28.1-dev87.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-dev82.0",
60
+ "@duckdb/duckdb-wasm": "^1.28.1-dev87.0",
61
61
  xterm: "^5.3.0",
62
62
  "xterm-addon-fit": "^0.8.0",
63
63
  "xterm-addon-web-links": "^0.9.0",
@@ -65,14 +65,14 @@
65
65
  },
66
66
  devDependencies: {
67
67
  esbuild: "^0.19.10",
68
- eslint: "^8.54.0",
68
+ eslint: "^8.56.0",
69
69
  "eslint-plugin-jasmine": "^4.1.3",
70
70
  "eslint-plugin-react": "^7.33.2",
71
71
  jasmine: "^5.1.0",
72
72
  "jasmine-core": "^5.1.1",
73
73
  "jasmine-spec-reporter": "^7.0.0",
74
74
  "make-dir": "^4.0.0",
75
- prettier: "^3.1.1",
75
+ prettier: "^3.2.2",
76
76
  rimraf: "^5.0.5",
77
77
  "wasm-pack": "^0.12.1"
78
78
  },
@@ -303,11 +303,11 @@
303
303
  return real;
304
304
  }
305
305
  function __wbg_adapter_22(arg0, arg1, arg2) {
306
- const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h55677a793e848de5(arg0, arg1, addHeapObject(arg2));
306
+ const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h7e625be7026adc7c(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__h7a732a7084fdd670(arg0, arg1, addHeapObject(arg2));
310
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__hc13282646fd8976d(arg0, arg1, addHeapObject(arg2));
311
311
  }
312
312
  function handleError(f, args) {
313
313
  try {
@@ -384,7 +384,7 @@
384
384
  return takeObject(ret);
385
385
  }
386
386
  function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
387
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hc227b212df1c3e22(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
387
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h085319ab0941bbff(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" });
@@ -514,12 +514,6 @@
514
514
  return addHeapObject(ret);
515
515
  }, arguments);
516
516
  };
517
- imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
518
- return handleError(function(arg0, arg1, arg2) {
519
- const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
520
- return addHeapObject(ret);
521
- }, arguments);
522
- };
523
517
  imports.wbg.__wbg_dropFile_377dfecd7aafe02e = function() {
524
518
  return handleError(function(arg0, arg1, arg2) {
525
519
  const ret = getObject(arg0).dropFile(getStringFromWasm0(arg1, arg2));
@@ -532,6 +526,12 @@
532
526
  return addHeapObject(ret);
533
527
  }, arguments);
534
528
  };
529
+ imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
530
+ return handleError(function(arg0, arg1, arg2) {
531
+ const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
532
+ return addHeapObject(ret);
533
+ }, arguments);
534
+ };
535
535
  imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
536
536
  return handleError(function(arg0, arg1, arg2, arg3) {
537
537
  const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
@@ -644,10 +644,32 @@
644
644
  imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
645
645
  getObject(arg0).fit();
646
646
  };
647
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
648
+ const obj = getObject(arg1);
649
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
650
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
651
+ const len1 = WASM_VECTOR_LEN;
652
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
653
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
654
+ };
647
655
  imports.wbg.__wbg_new_79cc836771d68198 = function() {
648
656
  const ret = new import_xterm_addon_fit.FitAddon();
649
657
  return addHeapObject(ret);
650
658
  };
659
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
660
+ const ret = import_duckdb_wasm.PACKAGE_VERSION;
661
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
662
+ const len1 = WASM_VECTOR_LEN;
663
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
664
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
665
+ };
666
+ imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
667
+ const ret = import_duckdb_wasm.PACKAGE_NAME;
668
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
669
+ const len1 = WASM_VECTOR_LEN;
670
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
671
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
672
+ };
651
673
  imports.wbg.__wbindgen_cb_drop = function(arg0) {
652
674
  const obj = takeObject(arg0).original;
653
675
  if (obj.cnt-- == 1) {
@@ -657,12 +679,14 @@
657
679
  const ret = false;
658
680
  return ret;
659
681
  };
660
- imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
661
- const ret = getObject(arg1).backgroundColor;
662
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
663
- const len1 = WASM_VECTOR_LEN;
664
- getInt32Memory0()[arg0 / 4 + 1] = len1;
665
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
682
+ imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
683
+ getObject(arg0).rows = arg1 >>> 0;
684
+ };
685
+ imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
686
+ getObject(arg0).cursorBlink = arg1 !== 0;
687
+ };
688
+ imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
689
+ getObject(arg0).cursorWidth = arg1 >>> 0;
666
690
  };
667
691
  imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
668
692
  const ret = getObject(arg1).fontFamily;
@@ -671,20 +695,74 @@
671
695
  getInt32Memory0()[arg0 / 4 + 1] = len1;
672
696
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
673
697
  };
674
- imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
675
- const ret = import_duckdb_wasm.PACKAGE_NAME;
676
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
677
- const len1 = WASM_VECTOR_LEN;
678
- getInt32Memory0()[arg0 / 4 + 1] = len1;
679
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
698
+ imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
699
+ getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
680
700
  };
681
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
682
- const ret = import_duckdb_wasm.PACKAGE_VERSION;
701
+ imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
702
+ getObject(arg0).fontSize = arg1 >>> 0;
703
+ };
704
+ imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
705
+ getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
706
+ };
707
+ imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
708
+ getObject(arg0).rightClickSelectsWord = arg1 !== 0;
709
+ };
710
+ imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
711
+ getObject(arg0).allowProposedApi = arg1 !== 0;
712
+ };
713
+ imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
714
+ getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
715
+ };
716
+ imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
717
+ getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
718
+ };
719
+ imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
720
+ const ret = getObject(arg1).backgroundColor;
683
721
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
684
722
  const len1 = WASM_VECTOR_LEN;
685
723
  getInt32Memory0()[arg0 / 4 + 1] = len1;
686
724
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
687
725
  };
726
+ imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
727
+ getObject(arg0).background = getStringFromWasm0(arg1, arg2);
728
+ };
729
+ imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
730
+ getObject(arg0).theme = getObject(arg1);
731
+ };
732
+ imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
733
+ getObject(arg0).open(takeObject(arg1));
734
+ };
735
+ imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
736
+ const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
737
+ return addHeapObject(ret);
738
+ };
739
+ imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
740
+ let result;
741
+ try {
742
+ result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
743
+ } catch (e) {
744
+ result = false;
745
+ }
746
+ const ret = result;
747
+ return ret;
748
+ };
749
+ imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
750
+ getObject(arg0).loadAddon(takeObject(arg1));
751
+ };
752
+ imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
753
+ const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
754
+ return addHeapObject(ret);
755
+ };
756
+ imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
757
+ let result;
758
+ try {
759
+ result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
760
+ } catch (e) {
761
+ result = false;
762
+ }
763
+ const ret = result;
764
+ return ret;
765
+ };
688
766
  imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
689
767
  return handleError(function(arg0, arg1) {
690
768
  const ret = getObject(arg0).disconnect(arg1 >>> 0);
@@ -732,84 +810,6 @@
732
810
  const ret = getObject(arg0).blockSize;
733
811
  return addHeapObject(ret);
734
812
  };
735
- imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
736
- let result;
737
- try {
738
- result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
739
- } catch (e) {
740
- result = false;
741
- }
742
- const ret = result;
743
- return ret;
744
- };
745
- imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
746
- let result;
747
- try {
748
- result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
749
- } catch (e) {
750
- result = false;
751
- }
752
- const ret = result;
753
- return ret;
754
- };
755
- imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
756
- getObject(arg0).allowProposedApi = arg1 !== 0;
757
- };
758
- imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
759
- getObject(arg0).cursorBlink = arg1 !== 0;
760
- };
761
- imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
762
- getObject(arg0).cursorWidth = arg1 >>> 0;
763
- };
764
- imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
765
- getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
766
- };
767
- imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
768
- getObject(arg0).fontSize = arg1 >>> 0;
769
- };
770
- imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
771
- getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
772
- };
773
- imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
774
- getObject(arg0).rightClickSelectsWord = arg1 !== 0;
775
- };
776
- imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
777
- getObject(arg0).rows = arg1 >>> 0;
778
- };
779
- imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
780
- getObject(arg0).theme = getObject(arg1);
781
- };
782
- imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
783
- getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
784
- };
785
- imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
786
- getObject(arg0).background = getStringFromWasm0(arg1, arg2);
787
- };
788
- imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
789
- getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
790
- };
791
- imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
792
- getObject(arg0).open(takeObject(arg1));
793
- };
794
- imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
795
- getObject(arg0).loadAddon(takeObject(arg1));
796
- };
797
- imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
798
- const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
799
- return addHeapObject(ret);
800
- };
801
- imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
802
- const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
803
- return addHeapObject(ret);
804
- };
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);
@@ -846,6 +846,17 @@
846
846
  const ret = getObject(arg0).performance;
847
847
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
848
848
  };
849
+ imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
850
+ const ret = getObject(arg1).type;
851
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
852
+ const len1 = WASM_VECTOR_LEN;
853
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
854
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
855
+ };
856
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
857
+ const ret = getObject(arg0).now();
858
+ return ret;
859
+ };
849
860
  imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
850
861
  const ret = getObject(arg0).ctrlKey;
851
862
  return ret;
@@ -861,17 +872,6 @@
861
872
  getInt32Memory0()[arg0 / 4 + 1] = len1;
862
873
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
863
874
  };
864
- imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
865
- const ret = getObject(arg1).type;
866
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
867
- const len1 = WASM_VECTOR_LEN;
868
- getInt32Memory0()[arg0 / 4 + 1] = len1;
869
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
870
- };
871
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
872
- const ret = getObject(arg0).now();
873
- return ret;
874
- };
875
875
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
876
876
  const ret = getObject(arg0)[arg1 >>> 0];
877
877
  return addHeapObject(ret);
@@ -1007,12 +1007,12 @@
1007
1007
  const ret = wasm.memory;
1008
1008
  return addHeapObject(ret);
1009
1009
  };
1010
- imports.wbg.__wbindgen_closure_wrapper351 = function(arg0, arg1, arg2) {
1011
- const ret = makeMutClosure(arg0, arg1, 84, __wbg_adapter_22);
1010
+ imports.wbg.__wbindgen_closure_wrapper369 = function(arg0, arg1, arg2) {
1011
+ const ret = makeMutClosure(arg0, arg1, 119, __wbg_adapter_22);
1012
1012
  return addHeapObject(ret);
1013
1013
  };
1014
- imports.wbg.__wbindgen_closure_wrapper964 = function(arg0, arg1, arg2) {
1015
- const ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_25);
1014
+ imports.wbg.__wbindgen_closure_wrapper967 = function(arg0, arg1, arg2) {
1015
+ const ret = makeMutClosure(arg0, arg1, 202, __wbg_adapter_25);
1016
1016
  return addHeapObject(ret);
1017
1017
  };
1018
1018
  return imports;