@duckdb/duckdb-wasm-shell 1.28.1-dev278.0 → 1.28.1-dev283.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-dev278.0",
36
+ version: "1.28.1-dev283.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-dev278.0",
60
+ "@duckdb/duckdb-wasm": "^1.28.1-dev283.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__he23567b868571ad4(arg0, arg1, addHeapObject(arg2));
306
+ const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he8ffd72d0b49a87b(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__hd53b6e4442644896(arg0, arg1, addHeapObject(arg2));
310
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77eb2de66eb57381(arg0, arg1, addHeapObject(arg2));
311
311
  }
312
312
  function embed(elem, runtime, options) {
313
313
  try {
@@ -384,7 +384,7 @@
384
384
  return ptr;
385
385
  }
386
386
  function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
387
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h040411d80f04923c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
387
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h31501dd44c1f2ebd(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,6 +514,36 @@
514
514
  return addHeapObject(ret);
515
515
  }, arguments);
516
516
  };
517
+ imports.wbg.__wbg_getPlatformFeatures_0c7441cfa3b5e678 = function() {
518
+ return handleError(function() {
519
+ const ret = (0, import_duckdb_wasm.getPlatformFeatures)();
520
+ return addHeapObject(ret);
521
+ }, arguments);
522
+ };
523
+ imports.wbg.__wbg_bigInt64Array_b81766f687b4b0b6 = function(arg0) {
524
+ const ret = getObject(arg0).bigInt64Array;
525
+ return ret;
526
+ };
527
+ imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
528
+ const ret = getObject(arg0).crossOriginIsolated;
529
+ return ret;
530
+ };
531
+ imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
532
+ const ret = getObject(arg0).wasmThreads;
533
+ return ret;
534
+ };
535
+ imports.wbg.__wbg_wasmSIMD_f2cbc78c82c4d673 = function(arg0) {
536
+ const ret = getObject(arg0).wasmSIMD;
537
+ return ret;
538
+ };
539
+ imports.wbg.__wbg_wasmBulkMemory_51a6e2786de28fdc = function(arg0) {
540
+ const ret = getObject(arg0).wasmBulkMemory;
541
+ return ret;
542
+ };
543
+ imports.wbg.__wbg_wasmExceptions_f629aff7d2e90cd3 = function(arg0) {
544
+ const ret = getObject(arg0).wasmExceptions;
545
+ return ret;
546
+ };
517
547
  imports.wbg.__wbg_dropFile_377dfecd7aafe02e = function() {
518
548
  return handleError(function(arg0, arg1, arg2) {
519
549
  const ret = getObject(arg0).dropFile(getStringFromWasm0(arg1, arg2));
@@ -532,24 +562,6 @@
532
562
  return addHeapObject(ret);
533
563
  }, arguments);
534
564
  };
535
- imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
536
- return handleError(function(arg0, arg1, arg2, arg3) {
537
- const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
538
- return addHeapObject(ret);
539
- }, arguments);
540
- };
541
- imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
542
- return handleError(function(arg0, arg1, arg2) {
543
- const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
544
- return addHeapObject(ret);
545
- }, arguments);
546
- };
547
- imports.wbg.__wbg_pickFiles_cb1fb4d097b8cdab = function() {
548
- return handleError(function(arg0) {
549
- const ret = getObject(arg0).pickFiles();
550
- return addHeapObject(ret);
551
- }, arguments);
552
- };
553
565
  imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
554
566
  return handleError(function(arg0, arg1) {
555
567
  const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
@@ -576,35 +588,23 @@
576
588
  return addHeapObject(ret);
577
589
  }, arguments);
578
590
  };
579
- imports.wbg.__wbg_getPlatformFeatures_0c7441cfa3b5e678 = function() {
580
- return handleError(function() {
581
- const ret = (0, import_duckdb_wasm.getPlatformFeatures)();
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));
582
594
  return addHeapObject(ret);
583
595
  }, arguments);
584
596
  };
585
- imports.wbg.__wbg_bigInt64Array_b81766f687b4b0b6 = function(arg0) {
586
- const ret = getObject(arg0).bigInt64Array;
587
- return ret;
588
- };
589
- imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
590
- const ret = getObject(arg0).crossOriginIsolated;
591
- return ret;
592
- };
593
- imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
594
- const ret = getObject(arg0).wasmThreads;
595
- return ret;
596
- };
597
- imports.wbg.__wbg_wasmSIMD_f2cbc78c82c4d673 = function(arg0) {
598
- const ret = getObject(arg0).wasmSIMD;
599
- return ret;
600
- };
601
- imports.wbg.__wbg_wasmBulkMemory_51a6e2786de28fdc = function(arg0) {
602
- const ret = getObject(arg0).wasmBulkMemory;
603
- return ret;
597
+ imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
598
+ return handleError(function(arg0, arg1, arg2) {
599
+ const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
600
+ return addHeapObject(ret);
601
+ }, arguments);
604
602
  };
605
- imports.wbg.__wbg_wasmExceptions_f629aff7d2e90cd3 = function(arg0) {
606
- const ret = getObject(arg0).wasmExceptions;
607
- return ret;
603
+ imports.wbg.__wbg_pickFiles_cb1fb4d097b8cdab = function() {
604
+ return handleError(function(arg0) {
605
+ const ret = getObject(arg0).pickFiles();
606
+ return addHeapObject(ret);
607
+ }, arguments);
608
608
  };
609
609
  imports.wbg.__wbg_runQuery_41cfa048b61675e2 = function() {
610
610
  return handleError(function(arg0, arg1, arg2, arg3) {
@@ -644,13 +644,14 @@
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;
647
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
648
+ const obj = takeObject(arg0).original;
649
+ if (obj.cnt-- == 1) {
650
+ obj.a = 0;
651
+ return true;
652
+ }
653
+ const ret = false;
654
+ return ret;
654
655
  };
655
656
  imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
656
657
  getObject(arg0).rows = arg1 >>> 0;
@@ -751,12 +752,9 @@
751
752
  imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
752
753
  console.warn(getStringFromWasm0(arg0, arg1));
753
754
  };
754
- imports.wbg.__wbg_new_79cc836771d68198 = function() {
755
- const ret = new import_xterm_addon_fit.FitAddon();
756
- return addHeapObject(ret);
757
- };
758
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
759
- const ret = import_duckdb_wasm.PACKAGE_VERSION;
755
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
756
+ const obj = getObject(arg1);
757
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
760
758
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
761
759
  const len1 = WASM_VECTOR_LEN;
762
760
  getInt32Memory0()[arg0 / 4 + 1] = len1;
@@ -769,14 +767,16 @@
769
767
  getInt32Memory0()[arg0 / 4 + 1] = len1;
770
768
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
771
769
  };
772
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
773
- const obj = takeObject(arg0).original;
774
- if (obj.cnt-- == 1) {
775
- obj.a = 0;
776
- return true;
777
- }
778
- const ret = false;
779
- return ret;
770
+ imports.wbg.__wbg_new_79cc836771d68198 = function() {
771
+ const ret = new import_xterm_addon_fit.FitAddon();
772
+ return addHeapObject(ret);
773
+ };
774
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
775
+ const ret = import_duckdb_wasm.PACKAGE_VERSION;
776
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
777
+ const len1 = WASM_VECTOR_LEN;
778
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
779
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
780
780
  };
781
781
  imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
782
782
  const ret = getObject(arg0).blockStats;
@@ -846,17 +846,6 @@
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
- };
860
849
  imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
861
850
  const ret = getObject(arg0).ctrlKey;
862
851
  return ret;
@@ -872,6 +861,17 @@
872
861
  getInt32Memory0()[arg0 / 4 + 1] = len1;
873
862
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
874
863
  };
864
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
865
+ const ret = getObject(arg0).now();
866
+ return ret;
867
+ };
868
+ imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
869
+ const ret = getObject(arg1).type;
870
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
871
+ const len1 = WASM_VECTOR_LEN;
872
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
873
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
874
+ };
875
875
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
876
876
  const ret = getObject(arg0)[arg1 >>> 0];
877
877
  return addHeapObject(ret);
@@ -999,12 +999,12 @@
999
999
  const ret = wasm.memory;
1000
1000
  return addHeapObject(ret);
1001
1001
  };
1002
- imports.wbg.__wbindgen_closure_wrapper616 = function(arg0, arg1, arg2) {
1003
- const ret = makeMutClosure(arg0, arg1, 158, __wbg_adapter_22);
1002
+ imports.wbg.__wbindgen_closure_wrapper538 = function(arg0, arg1, arg2) {
1003
+ const ret = makeMutClosure(arg0, arg1, 164, __wbg_adapter_22);
1004
1004
  return addHeapObject(ret);
1005
1005
  };
1006
- imports.wbg.__wbindgen_closure_wrapper921 = function(arg0, arg1, arg2) {
1007
- const ret = makeMutClosure(arg0, arg1, 188, __wbg_adapter_25);
1006
+ imports.wbg.__wbindgen_closure_wrapper912 = function(arg0, arg1, arg2) {
1007
+ const ret = makeMutClosure(arg0, arg1, 184, __wbg_adapter_25);
1008
1008
  return addHeapObject(ret);
1009
1009
  };
1010
1010
  return imports;