@duckdb/duckdb-wasm-shell 1.28.1-dev81.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.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.28.1-dev81.0",
46
+ version: "1.28.1-dev87.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.28.1-dev81.0",
70
+ "@duckdb/duckdb-wasm": "^1.28.1-dev87.0",
71
71
  xterm: "^5.3.0",
72
72
  "xterm-addon-fit": "^0.8.0",
73
73
  "xterm-addon-web-links": "^0.9.0",
@@ -75,14 +75,14 @@ var package_default = {
75
75
  },
76
76
  devDependencies: {
77
77
  esbuild: "^0.19.10",
78
- eslint: "^8.54.0",
78
+ eslint: "^8.56.0",
79
79
  "eslint-plugin-jasmine": "^4.1.3",
80
80
  "eslint-plugin-react": "^7.33.2",
81
81
  jasmine: "^5.1.0",
82
82
  "jasmine-core": "^5.1.1",
83
83
  "jasmine-spec-reporter": "^7.0.0",
84
84
  "make-dir": "^4.0.0",
85
- prettier: "^3.1.1",
85
+ prettier: "^3.2.2",
86
86
  rimraf: "^5.0.5",
87
87
  "wasm-pack": "^0.12.1"
88
88
  },
@@ -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.wasm_bindgen__convert__closures__invoke1_mut__h55677a793e848de5(arg0, arg1, addHeapObject(arg2));
316
+ const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h7e625be7026adc7c(arg0, arg1, addHeapObject(arg2));
317
317
  return ret !== 0;
318
318
  }
319
319
  function __wbg_adapter_25(arg0, arg1, arg2) {
320
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7a732a7084fdd670(arg0, arg1, addHeapObject(arg2));
320
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__hc13282646fd8976d(arg0, arg1, addHeapObject(arg2));
321
321
  }
322
322
  function handleError(f, args) {
323
323
  try {
@@ -394,7 +394,7 @@ function configureDatabase(db) {
394
394
  return takeObject(ret);
395
395
  }
396
396
  function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
397
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hc227b212df1c3e22(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
397
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h085319ab0941bbff(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" });
@@ -524,12 +524,6 @@ function __wbg_get_imports() {
524
524
  return addHeapObject(ret);
525
525
  }, arguments);
526
526
  };
527
- imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
528
- return handleError(function(arg0, arg1, arg2) {
529
- const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
530
- return addHeapObject(ret);
531
- }, arguments);
532
- };
533
527
  imports.wbg.__wbg_dropFile_377dfecd7aafe02e = function() {
534
528
  return handleError(function(arg0, arg1, arg2) {
535
529
  const ret = getObject(arg0).dropFile(getStringFromWasm0(arg1, arg2));
@@ -542,6 +536,12 @@ function __wbg_get_imports() {
542
536
  return addHeapObject(ret);
543
537
  }, arguments);
544
538
  };
539
+ imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
540
+ return handleError(function(arg0, arg1, arg2) {
541
+ const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
542
+ return addHeapObject(ret);
543
+ }, arguments);
544
+ };
545
545
  imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
546
546
  return handleError(function(arg0, arg1, arg2, arg3) {
547
547
  const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
@@ -654,10 +654,32 @@ function __wbg_get_imports() {
654
654
  imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
655
655
  getObject(arg0).fit();
656
656
  };
657
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
658
+ const obj = getObject(arg1);
659
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
660
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
661
+ const len1 = WASM_VECTOR_LEN;
662
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
663
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
664
+ };
657
665
  imports.wbg.__wbg_new_79cc836771d68198 = function() {
658
666
  const ret = new import_xterm_addon_fit.FitAddon();
659
667
  return addHeapObject(ret);
660
668
  };
669
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
670
+ const ret = import_duckdb_wasm.PACKAGE_VERSION;
671
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
672
+ const len1 = WASM_VECTOR_LEN;
673
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
674
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
675
+ };
676
+ imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
677
+ const ret = import_duckdb_wasm.PACKAGE_NAME;
678
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
679
+ const len1 = WASM_VECTOR_LEN;
680
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
681
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
682
+ };
661
683
  imports.wbg.__wbindgen_cb_drop = function(arg0) {
662
684
  const obj = takeObject(arg0).original;
663
685
  if (obj.cnt-- == 1) {
@@ -667,12 +689,14 @@ function __wbg_get_imports() {
667
689
  const ret = false;
668
690
  return ret;
669
691
  };
670
- imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
671
- const ret = getObject(arg1).backgroundColor;
672
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
673
- const len1 = WASM_VECTOR_LEN;
674
- getInt32Memory0()[arg0 / 4 + 1] = len1;
675
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
692
+ imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
693
+ getObject(arg0).rows = arg1 >>> 0;
694
+ };
695
+ imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
696
+ getObject(arg0).cursorBlink = arg1 !== 0;
697
+ };
698
+ imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
699
+ getObject(arg0).cursorWidth = arg1 >>> 0;
676
700
  };
677
701
  imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
678
702
  const ret = getObject(arg1).fontFamily;
@@ -681,20 +705,74 @@ function __wbg_get_imports() {
681
705
  getInt32Memory0()[arg0 / 4 + 1] = len1;
682
706
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
683
707
  };
684
- imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
685
- const ret = import_duckdb_wasm.PACKAGE_NAME;
686
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
687
- const len1 = WASM_VECTOR_LEN;
688
- getInt32Memory0()[arg0 / 4 + 1] = len1;
689
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
708
+ imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
709
+ getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
690
710
  };
691
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
692
- const ret = import_duckdb_wasm.PACKAGE_VERSION;
711
+ imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
712
+ getObject(arg0).fontSize = arg1 >>> 0;
713
+ };
714
+ imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
715
+ getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
716
+ };
717
+ imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
718
+ getObject(arg0).rightClickSelectsWord = arg1 !== 0;
719
+ };
720
+ imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
721
+ getObject(arg0).allowProposedApi = arg1 !== 0;
722
+ };
723
+ imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
724
+ getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
725
+ };
726
+ imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
727
+ getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
728
+ };
729
+ imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
730
+ const ret = getObject(arg1).backgroundColor;
693
731
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
694
732
  const len1 = WASM_VECTOR_LEN;
695
733
  getInt32Memory0()[arg0 / 4 + 1] = len1;
696
734
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
697
735
  };
736
+ imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
737
+ getObject(arg0).background = getStringFromWasm0(arg1, arg2);
738
+ };
739
+ imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
740
+ getObject(arg0).theme = getObject(arg1);
741
+ };
742
+ imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
743
+ getObject(arg0).open(takeObject(arg1));
744
+ };
745
+ imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
746
+ const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
747
+ return addHeapObject(ret);
748
+ };
749
+ imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
750
+ let result;
751
+ try {
752
+ result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
753
+ } catch (e) {
754
+ result = false;
755
+ }
756
+ const ret = result;
757
+ return ret;
758
+ };
759
+ imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
760
+ getObject(arg0).loadAddon(takeObject(arg1));
761
+ };
762
+ imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
763
+ const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
764
+ return addHeapObject(ret);
765
+ };
766
+ imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
767
+ let result;
768
+ try {
769
+ result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
770
+ } catch (e) {
771
+ result = false;
772
+ }
773
+ const ret = result;
774
+ return ret;
775
+ };
698
776
  imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
699
777
  return handleError(function(arg0, arg1) {
700
778
  const ret = getObject(arg0).disconnect(arg1 >>> 0);
@@ -742,84 +820,6 @@ function __wbg_get_imports() {
742
820
  const ret = getObject(arg0).blockSize;
743
821
  return addHeapObject(ret);
744
822
  };
745
- imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
746
- let result;
747
- try {
748
- result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
749
- } catch (e) {
750
- result = false;
751
- }
752
- const ret = result;
753
- return ret;
754
- };
755
- imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
756
- let result;
757
- try {
758
- result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
759
- } catch (e) {
760
- result = false;
761
- }
762
- const ret = result;
763
- return ret;
764
- };
765
- imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
766
- getObject(arg0).allowProposedApi = arg1 !== 0;
767
- };
768
- imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
769
- getObject(arg0).cursorBlink = arg1 !== 0;
770
- };
771
- imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
772
- getObject(arg0).cursorWidth = arg1 >>> 0;
773
- };
774
- imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
775
- getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
776
- };
777
- imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
778
- getObject(arg0).fontSize = arg1 >>> 0;
779
- };
780
- imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
781
- getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
782
- };
783
- imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
784
- getObject(arg0).rightClickSelectsWord = arg1 !== 0;
785
- };
786
- imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
787
- getObject(arg0).rows = arg1 >>> 0;
788
- };
789
- imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
790
- getObject(arg0).theme = getObject(arg1);
791
- };
792
- imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
793
- getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
794
- };
795
- imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
796
- getObject(arg0).background = getStringFromWasm0(arg1, arg2);
797
- };
798
- imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
799
- getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
800
- };
801
- imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
802
- getObject(arg0).open(takeObject(arg1));
803
- };
804
- imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
805
- getObject(arg0).loadAddon(takeObject(arg1));
806
- };
807
- imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
808
- const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
809
- return addHeapObject(ret);
810
- };
811
- imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
812
- const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
813
- return addHeapObject(ret);
814
- };
815
- imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
816
- const obj = getObject(arg1);
817
- const ret = JSON.stringify(obj === void 0 ? null : obj);
818
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
819
- const len1 = WASM_VECTOR_LEN;
820
- getInt32Memory0()[arg0 / 4 + 1] = len1;
821
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
822
- };
823
823
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
824
824
  const ret = new Error();
825
825
  return addHeapObject(ret);
@@ -856,6 +856,17 @@ function __wbg_get_imports() {
856
856
  const ret = getObject(arg0).performance;
857
857
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
858
858
  };
859
+ imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
860
+ const ret = getObject(arg1).type;
861
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
862
+ const len1 = WASM_VECTOR_LEN;
863
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
864
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
865
+ };
866
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
867
+ const ret = getObject(arg0).now();
868
+ return ret;
869
+ };
859
870
  imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
860
871
  const ret = getObject(arg0).ctrlKey;
861
872
  return ret;
@@ -871,17 +882,6 @@ function __wbg_get_imports() {
871
882
  getInt32Memory0()[arg0 / 4 + 1] = len1;
872
883
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
873
884
  };
874
- imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
875
- const ret = getObject(arg1).type;
876
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
877
- const len1 = WASM_VECTOR_LEN;
878
- getInt32Memory0()[arg0 / 4 + 1] = len1;
879
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
880
- };
881
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
882
- const ret = getObject(arg0).now();
883
- return ret;
884
- };
885
885
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
886
886
  const ret = getObject(arg0)[arg1 >>> 0];
887
887
  return addHeapObject(ret);
@@ -1017,12 +1017,12 @@ function __wbg_get_imports() {
1017
1017
  const ret = wasm.memory;
1018
1018
  return addHeapObject(ret);
1019
1019
  };
1020
- imports.wbg.__wbindgen_closure_wrapper351 = function(arg0, arg1, arg2) {
1021
- const ret = makeMutClosure(arg0, arg1, 84, __wbg_adapter_22);
1020
+ imports.wbg.__wbindgen_closure_wrapper369 = function(arg0, arg1, arg2) {
1021
+ const ret = makeMutClosure(arg0, arg1, 119, __wbg_adapter_22);
1022
1022
  return addHeapObject(ret);
1023
1023
  };
1024
- imports.wbg.__wbindgen_closure_wrapper964 = function(arg0, arg1, arg2) {
1025
- const ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_25);
1024
+ imports.wbg.__wbindgen_closure_wrapper967 = function(arg0, arg1, arg2) {
1025
+ const ret = makeMutClosure(arg0, arg1, 202, __wbg_adapter_25);
1026
1026
  return addHeapObject(ret);
1027
1027
  };
1028
1028
  return imports;