@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.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@duckdb/duckdb-wasm-shell",
4
- version: "1.28.1-dev82.0",
4
+ version: "1.28.1-dev87.0",
5
5
  description: "",
6
6
  author: "Andre Kohn <kohn.a@outlook.com>",
7
7
  license: "MIT",
@@ -25,7 +25,7 @@ var package_default = {
25
25
  "csv"
26
26
  ],
27
27
  dependencies: {
28
- "@duckdb/duckdb-wasm": "^1.28.1-dev82.0",
28
+ "@duckdb/duckdb-wasm": "^1.28.1-dev87.0",
29
29
  xterm: "^5.3.0",
30
30
  "xterm-addon-fit": "^0.8.0",
31
31
  "xterm-addon-web-links": "^0.9.0",
@@ -33,14 +33,14 @@ var package_default = {
33
33
  },
34
34
  devDependencies: {
35
35
  esbuild: "^0.19.10",
36
- eslint: "^8.54.0",
36
+ eslint: "^8.56.0",
37
37
  "eslint-plugin-jasmine": "^4.1.3",
38
38
  "eslint-plugin-react": "^7.33.2",
39
39
  jasmine: "^5.1.0",
40
40
  "jasmine-core": "^5.1.1",
41
41
  "jasmine-spec-reporter": "^7.0.0",
42
42
  "make-dir": "^4.0.0",
43
- prettier: "^3.1.1",
43
+ prettier: "^3.2.2",
44
44
  rimraf: "^5.0.5",
45
45
  "wasm-pack": "^0.12.1"
46
46
  },
@@ -270,11 +270,11 @@ function makeMutClosure(arg0, arg1, dtor, f) {
270
270
  return real;
271
271
  }
272
272
  function __wbg_adapter_22(arg0, arg1, arg2) {
273
- const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h55677a793e848de5(arg0, arg1, addHeapObject(arg2));
273
+ const ret = wasm.wasm_bindgen__convert__closures__invoke1_mut__h7e625be7026adc7c(arg0, arg1, addHeapObject(arg2));
274
274
  return ret !== 0;
275
275
  }
276
276
  function __wbg_adapter_25(arg0, arg1, arg2) {
277
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7a732a7084fdd670(arg0, arg1, addHeapObject(arg2));
277
+ wasm.wasm_bindgen__convert__closures__invoke1_mut__hc13282646fd8976d(arg0, arg1, addHeapObject(arg2));
278
278
  }
279
279
  function handleError(f, args) {
280
280
  try {
@@ -351,7 +351,7 @@ function configureDatabase(db) {
351
351
  return takeObject(ret);
352
352
  }
353
353
  function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
354
- wasm.wasm_bindgen__convert__closures__invoke2_mut__hc227b212df1c3e22(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
354
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h085319ab0941bbff(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
355
355
  }
356
356
  var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
357
357
  var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
@@ -481,12 +481,6 @@ function __wbg_get_imports() {
481
481
  return addHeapObject(ret);
482
482
  }, arguments);
483
483
  };
484
- imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
485
- return handleError(function(arg0, arg1, arg2) {
486
- const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
487
- return addHeapObject(ret);
488
- }, arguments);
489
- };
490
484
  imports.wbg.__wbg_dropFile_377dfecd7aafe02e = function() {
491
485
  return handleError(function(arg0, arg1, arg2) {
492
486
  const ret = getObject(arg0).dropFile(getStringFromWasm0(arg1, arg2));
@@ -499,6 +493,12 @@ function __wbg_get_imports() {
499
493
  return addHeapObject(ret);
500
494
  }, arguments);
501
495
  };
496
+ imports.wbg.__wbg_copyFileToBuffer_8303548b5434aa38 = function() {
497
+ return handleError(function(arg0, arg1, arg2) {
498
+ const ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2));
499
+ return addHeapObject(ret);
500
+ }, arguments);
501
+ };
502
502
  imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
503
503
  return handleError(function(arg0, arg1, arg2, arg3) {
504
504
  const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
@@ -611,10 +611,32 @@ function __wbg_get_imports() {
611
611
  imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
612
612
  getObject(arg0).fit();
613
613
  };
614
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
615
+ const obj = getObject(arg1);
616
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
617
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
618
+ const len1 = WASM_VECTOR_LEN;
619
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
620
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
621
+ };
614
622
  imports.wbg.__wbg_new_79cc836771d68198 = function() {
615
623
  const ret = new FitAddon();
616
624
  return addHeapObject(ret);
617
625
  };
626
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
627
+ const ret = PACKAGE_VERSION2;
628
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
629
+ const len1 = WASM_VECTOR_LEN;
630
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
631
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
632
+ };
633
+ imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
634
+ const ret = PACKAGE_NAME2;
635
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
636
+ const len1 = WASM_VECTOR_LEN;
637
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
638
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
639
+ };
618
640
  imports.wbg.__wbindgen_cb_drop = function(arg0) {
619
641
  const obj = takeObject(arg0).original;
620
642
  if (obj.cnt-- == 1) {
@@ -624,12 +646,14 @@ function __wbg_get_imports() {
624
646
  const ret = false;
625
647
  return ret;
626
648
  };
627
- imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
628
- const ret = getObject(arg1).backgroundColor;
629
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
630
- const len1 = WASM_VECTOR_LEN;
631
- getInt32Memory0()[arg0 / 4 + 1] = len1;
632
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
649
+ imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
650
+ getObject(arg0).rows = arg1 >>> 0;
651
+ };
652
+ imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
653
+ getObject(arg0).cursorBlink = arg1 !== 0;
654
+ };
655
+ imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
656
+ getObject(arg0).cursorWidth = arg1 >>> 0;
633
657
  };
634
658
  imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
635
659
  const ret = getObject(arg1).fontFamily;
@@ -638,20 +662,74 @@ function __wbg_get_imports() {
638
662
  getInt32Memory0()[arg0 / 4 + 1] = len1;
639
663
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
640
664
  };
641
- imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
642
- const ret = PACKAGE_NAME2;
643
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
644
- const len1 = WASM_VECTOR_LEN;
645
- getInt32Memory0()[arg0 / 4 + 1] = len1;
646
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
665
+ imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
666
+ getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
647
667
  };
648
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
649
- const ret = PACKAGE_VERSION2;
668
+ imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
669
+ getObject(arg0).fontSize = arg1 >>> 0;
670
+ };
671
+ imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
672
+ getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
673
+ };
674
+ imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
675
+ getObject(arg0).rightClickSelectsWord = arg1 !== 0;
676
+ };
677
+ imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
678
+ getObject(arg0).allowProposedApi = arg1 !== 0;
679
+ };
680
+ imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
681
+ getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
682
+ };
683
+ imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
684
+ getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
685
+ };
686
+ imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
687
+ const ret = getObject(arg1).backgroundColor;
650
688
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
651
689
  const len1 = WASM_VECTOR_LEN;
652
690
  getInt32Memory0()[arg0 / 4 + 1] = len1;
653
691
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
654
692
  };
693
+ imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
694
+ getObject(arg0).background = getStringFromWasm0(arg1, arg2);
695
+ };
696
+ imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
697
+ getObject(arg0).theme = getObject(arg1);
698
+ };
699
+ imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
700
+ getObject(arg0).open(takeObject(arg1));
701
+ };
702
+ imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
703
+ const ret = new WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
704
+ return addHeapObject(ret);
705
+ };
706
+ imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
707
+ let result;
708
+ try {
709
+ result = getObject(arg0) instanceof WebglAddon;
710
+ } catch (e) {
711
+ result = false;
712
+ }
713
+ const ret = result;
714
+ return ret;
715
+ };
716
+ imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
717
+ getObject(arg0).loadAddon(takeObject(arg1));
718
+ };
719
+ imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
720
+ const ret = new WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
721
+ return addHeapObject(ret);
722
+ };
723
+ imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
724
+ let result;
725
+ try {
726
+ result = getObject(arg0) instanceof WebLinksAddon;
727
+ } catch (e) {
728
+ result = false;
729
+ }
730
+ const ret = result;
731
+ return ret;
732
+ };
655
733
  imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
656
734
  return handleError(function(arg0, arg1) {
657
735
  const ret = getObject(arg0).disconnect(arg1 >>> 0);
@@ -699,84 +777,6 @@ function __wbg_get_imports() {
699
777
  const ret = getObject(arg0).blockSize;
700
778
  return addHeapObject(ret);
701
779
  };
702
- imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
703
- let result;
704
- try {
705
- result = getObject(arg0) instanceof WebLinksAddon;
706
- } catch (e) {
707
- result = false;
708
- }
709
- const ret = result;
710
- return ret;
711
- };
712
- imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
713
- let result;
714
- try {
715
- result = getObject(arg0) instanceof WebglAddon;
716
- } catch (e) {
717
- result = false;
718
- }
719
- const ret = result;
720
- return ret;
721
- };
722
- imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
723
- getObject(arg0).allowProposedApi = arg1 !== 0;
724
- };
725
- imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
726
- getObject(arg0).cursorBlink = arg1 !== 0;
727
- };
728
- imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
729
- getObject(arg0).cursorWidth = arg1 >>> 0;
730
- };
731
- imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
732
- getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
733
- };
734
- imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
735
- getObject(arg0).fontSize = arg1 >>> 0;
736
- };
737
- imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
738
- getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
739
- };
740
- imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
741
- getObject(arg0).rightClickSelectsWord = arg1 !== 0;
742
- };
743
- imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
744
- getObject(arg0).rows = arg1 >>> 0;
745
- };
746
- imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
747
- getObject(arg0).theme = getObject(arg1);
748
- };
749
- imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
750
- getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
751
- };
752
- imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
753
- getObject(arg0).background = getStringFromWasm0(arg1, arg2);
754
- };
755
- imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
756
- getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
757
- };
758
- imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
759
- getObject(arg0).open(takeObject(arg1));
760
- };
761
- imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
762
- getObject(arg0).loadAddon(takeObject(arg1));
763
- };
764
- imports.wbg.__wbg_new_92aa50f448dac851 = function(arg0, arg1, arg2) {
765
- const ret = new WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
766
- return addHeapObject(ret);
767
- };
768
- imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
769
- const ret = new WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
770
- return addHeapObject(ret);
771
- };
772
- imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
773
- const obj = getObject(arg1);
774
- const ret = JSON.stringify(obj === void 0 ? null : obj);
775
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
776
- const len1 = WASM_VECTOR_LEN;
777
- getInt32Memory0()[arg0 / 4 + 1] = len1;
778
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
779
- };
780
780
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
781
781
  const ret = new Error();
782
782
  return addHeapObject(ret);
@@ -813,6 +813,17 @@ function __wbg_get_imports() {
813
813
  const ret = getObject(arg0).performance;
814
814
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
815
815
  };
816
+ imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
817
+ const ret = getObject(arg1).type;
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
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
824
+ const ret = getObject(arg0).now();
825
+ return ret;
826
+ };
816
827
  imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
817
828
  const ret = getObject(arg0).ctrlKey;
818
829
  return ret;
@@ -828,17 +839,6 @@ function __wbg_get_imports() {
828
839
  getInt32Memory0()[arg0 / 4 + 1] = len1;
829
840
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
830
841
  };
831
- imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
832
- const ret = getObject(arg1).type;
833
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
834
- const len1 = WASM_VECTOR_LEN;
835
- getInt32Memory0()[arg0 / 4 + 1] = len1;
836
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
837
- };
838
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
839
- const ret = getObject(arg0).now();
840
- return ret;
841
- };
842
842
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
843
843
  const ret = getObject(arg0)[arg1 >>> 0];
844
844
  return addHeapObject(ret);
@@ -974,12 +974,12 @@ function __wbg_get_imports() {
974
974
  const ret = wasm.memory;
975
975
  return addHeapObject(ret);
976
976
  };
977
- imports.wbg.__wbindgen_closure_wrapper351 = function(arg0, arg1, arg2) {
978
- const ret = makeMutClosure(arg0, arg1, 84, __wbg_adapter_22);
977
+ imports.wbg.__wbindgen_closure_wrapper369 = function(arg0, arg1, arg2) {
978
+ const ret = makeMutClosure(arg0, arg1, 119, __wbg_adapter_22);
979
979
  return addHeapObject(ret);
980
980
  };
981
- imports.wbg.__wbindgen_closure_wrapper964 = function(arg0, arg1, arg2) {
982
- const ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_25);
981
+ imports.wbg.__wbindgen_closure_wrapper967 = function(arg0, arg1, arg2) {
982
+ const ret = makeMutClosure(arg0, arg1, 202, __wbg_adapter_25);
983
983
  return addHeapObject(ret);
984
984
  };
985
985
  return imports;