@duckdb/duckdb-wasm-shell 1.28.1-dev278.0 → 1.28.1-dev279.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-dev278.0",
4
+ version: "1.28.1-dev279.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-dev278.0",
28
+ "@duckdb/duckdb-wasm": "^1.28.1-dev279.0",
29
29
  xterm: "^5.3.0",
30
30
  "xterm-addon-fit": "^0.8.0",
31
31
  "xterm-addon-web-links": "^0.9.0",
@@ -86,7 +86,7 @@ var PACKAGE_VERSION_PATCH = VERSION_PARTS[2];
86
86
  import * as duckdb2 from "@duckdb/duckdb-wasm";
87
87
 
88
88
  // crate/pkg/shell.js
89
- import { PACKAGE_NAME as PACKAGE_NAME2, PACKAGE_VERSION as PACKAGE_VERSION2, getPlatformFeatures } from "@duckdb/duckdb-wasm";
89
+ import { getPlatformFeatures, PACKAGE_NAME as PACKAGE_NAME2, PACKAGE_VERSION as PACKAGE_VERSION2 } from "@duckdb/duckdb-wasm";
90
90
  import { Terminal } from "xterm";
91
91
  import { FitAddon } from "xterm-addon-fit";
92
92
  import { WebLinksAddon } from "xterm-addon-web-links";
@@ -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._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he23567b868571ad4(arg0, arg1, addHeapObject(arg2));
273
+ const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he8ffd72d0b49a87b(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__hd53b6e4442644896(arg0, arg1, addHeapObject(arg2));
277
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77eb2de66eb57381(arg0, arg1, addHeapObject(arg2));
278
278
  }
279
279
  function embed(elem, runtime, options) {
280
280
  try {
@@ -351,7 +351,7 @@ function passArray8ToWasm0(arg, malloc) {
351
351
  return ptr;
352
352
  }
353
353
  function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
354
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h040411d80f04923c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
354
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h31501dd44c1f2ebd(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,6 +481,36 @@ function __wbg_get_imports() {
481
481
  return addHeapObject(ret);
482
482
  }, arguments);
483
483
  };
484
+ imports.wbg.__wbg_getPlatformFeatures_0c7441cfa3b5e678 = function() {
485
+ return handleError(function() {
486
+ const ret = getPlatformFeatures();
487
+ return addHeapObject(ret);
488
+ }, arguments);
489
+ };
490
+ imports.wbg.__wbg_bigInt64Array_b81766f687b4b0b6 = function(arg0) {
491
+ const ret = getObject(arg0).bigInt64Array;
492
+ return ret;
493
+ };
494
+ imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
495
+ const ret = getObject(arg0).crossOriginIsolated;
496
+ return ret;
497
+ };
498
+ imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
499
+ const ret = getObject(arg0).wasmThreads;
500
+ return ret;
501
+ };
502
+ imports.wbg.__wbg_wasmSIMD_f2cbc78c82c4d673 = function(arg0) {
503
+ const ret = getObject(arg0).wasmSIMD;
504
+ return ret;
505
+ };
506
+ imports.wbg.__wbg_wasmBulkMemory_51a6e2786de28fdc = function(arg0) {
507
+ const ret = getObject(arg0).wasmBulkMemory;
508
+ return ret;
509
+ };
510
+ imports.wbg.__wbg_wasmExceptions_f629aff7d2e90cd3 = function(arg0) {
511
+ const ret = getObject(arg0).wasmExceptions;
512
+ return ret;
513
+ };
484
514
  imports.wbg.__wbg_dropFile_377dfecd7aafe02e = function() {
485
515
  return handleError(function(arg0, arg1, arg2) {
486
516
  const ret = getObject(arg0).dropFile(getStringFromWasm0(arg1, arg2));
@@ -499,24 +529,6 @@ function __wbg_get_imports() {
499
529
  return addHeapObject(ret);
500
530
  }, arguments);
501
531
  };
502
- imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
503
- return handleError(function(arg0, arg1, arg2, arg3) {
504
- const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
505
- return addHeapObject(ret);
506
- }, arguments);
507
- };
508
- imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
509
- return handleError(function(arg0, arg1, arg2) {
510
- const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
511
- return addHeapObject(ret);
512
- }, arguments);
513
- };
514
- imports.wbg.__wbg_pickFiles_cb1fb4d097b8cdab = function() {
515
- return handleError(function(arg0) {
516
- const ret = getObject(arg0).pickFiles();
517
- return addHeapObject(ret);
518
- }, arguments);
519
- };
520
532
  imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
521
533
  return handleError(function(arg0, arg1) {
522
534
  const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
@@ -543,35 +555,23 @@ function __wbg_get_imports() {
543
555
  return addHeapObject(ret);
544
556
  }, arguments);
545
557
  };
546
- imports.wbg.__wbg_getPlatformFeatures_0c7441cfa3b5e678 = function() {
547
- return handleError(function() {
548
- const ret = getPlatformFeatures();
558
+ imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
559
+ return handleError(function(arg0, arg1, arg2, arg3) {
560
+ const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
549
561
  return addHeapObject(ret);
550
562
  }, arguments);
551
563
  };
552
- imports.wbg.__wbg_bigInt64Array_b81766f687b4b0b6 = function(arg0) {
553
- const ret = getObject(arg0).bigInt64Array;
554
- return ret;
555
- };
556
- imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
557
- const ret = getObject(arg0).crossOriginIsolated;
558
- return ret;
559
- };
560
- imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
561
- const ret = getObject(arg0).wasmThreads;
562
- return ret;
563
- };
564
- imports.wbg.__wbg_wasmSIMD_f2cbc78c82c4d673 = function(arg0) {
565
- const ret = getObject(arg0).wasmSIMD;
566
- return ret;
567
- };
568
- imports.wbg.__wbg_wasmBulkMemory_51a6e2786de28fdc = function(arg0) {
569
- const ret = getObject(arg0).wasmBulkMemory;
570
- return ret;
564
+ imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
565
+ return handleError(function(arg0, arg1, arg2) {
566
+ const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
567
+ return addHeapObject(ret);
568
+ }, arguments);
571
569
  };
572
- imports.wbg.__wbg_wasmExceptions_f629aff7d2e90cd3 = function(arg0) {
573
- const ret = getObject(arg0).wasmExceptions;
574
- return ret;
570
+ imports.wbg.__wbg_pickFiles_cb1fb4d097b8cdab = function() {
571
+ return handleError(function(arg0) {
572
+ const ret = getObject(arg0).pickFiles();
573
+ return addHeapObject(ret);
574
+ }, arguments);
575
575
  };
576
576
  imports.wbg.__wbg_runQuery_41cfa048b61675e2 = function() {
577
577
  return handleError(function(arg0, arg1, arg2, arg3) {
@@ -611,13 +611,14 @@ 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;
614
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
615
+ const obj = takeObject(arg0).original;
616
+ if (obj.cnt-- == 1) {
617
+ obj.a = 0;
618
+ return true;
619
+ }
620
+ const ret = false;
621
+ return ret;
621
622
  };
622
623
  imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
623
624
  getObject(arg0).rows = arg1 >>> 0;
@@ -718,12 +719,9 @@ function __wbg_get_imports() {
718
719
  imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
719
720
  console.warn(getStringFromWasm0(arg0, arg1));
720
721
  };
721
- imports.wbg.__wbg_new_79cc836771d68198 = function() {
722
- const ret = new FitAddon();
723
- return addHeapObject(ret);
724
- };
725
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
726
- const ret = PACKAGE_VERSION2;
722
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
723
+ const obj = getObject(arg1);
724
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
727
725
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
728
726
  const len1 = WASM_VECTOR_LEN;
729
727
  getInt32Memory0()[arg0 / 4 + 1] = len1;
@@ -736,14 +734,16 @@ function __wbg_get_imports() {
736
734
  getInt32Memory0()[arg0 / 4 + 1] = len1;
737
735
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
738
736
  };
739
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
740
- const obj = takeObject(arg0).original;
741
- if (obj.cnt-- == 1) {
742
- obj.a = 0;
743
- return true;
744
- }
745
- const ret = false;
746
- return ret;
737
+ imports.wbg.__wbg_new_79cc836771d68198 = function() {
738
+ const ret = new FitAddon();
739
+ return addHeapObject(ret);
740
+ };
741
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
742
+ const ret = PACKAGE_VERSION2;
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
747
  };
748
748
  imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
749
749
  const ret = getObject(arg0).blockStats;
@@ -813,17 +813,6 @@ 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
- };
827
816
  imports.wbg.__wbg_ctrlKey_582686fb2263dd3c = function(arg0) {
828
817
  const ret = getObject(arg0).ctrlKey;
829
818
  return ret;
@@ -839,6 +828,17 @@ function __wbg_get_imports() {
839
828
  getInt32Memory0()[arg0 / 4 + 1] = len1;
840
829
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
841
830
  };
831
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
832
+ const ret = getObject(arg0).now();
833
+ return ret;
834
+ };
835
+ imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
836
+ const ret = getObject(arg1).type;
837
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
838
+ const len1 = WASM_VECTOR_LEN;
839
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
840
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
841
+ };
842
842
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
843
843
  const ret = getObject(arg0)[arg1 >>> 0];
844
844
  return addHeapObject(ret);
@@ -966,12 +966,12 @@ function __wbg_get_imports() {
966
966
  const ret = wasm.memory;
967
967
  return addHeapObject(ret);
968
968
  };
969
- imports.wbg.__wbindgen_closure_wrapper616 = function(arg0, arg1, arg2) {
970
- const ret = makeMutClosure(arg0, arg1, 158, __wbg_adapter_22);
969
+ imports.wbg.__wbindgen_closure_wrapper538 = function(arg0, arg1, arg2) {
970
+ const ret = makeMutClosure(arg0, arg1, 164, __wbg_adapter_22);
971
971
  return addHeapObject(ret);
972
972
  };
973
- imports.wbg.__wbindgen_closure_wrapper921 = function(arg0, arg1, arg2) {
974
- const ret = makeMutClosure(arg0, arg1, 188, __wbg_adapter_25);
973
+ imports.wbg.__wbindgen_closure_wrapper912 = function(arg0, arg1, arg2) {
974
+ const ret = makeMutClosure(arg0, arg1, 184, __wbg_adapter_25);
975
975
  return addHeapObject(ret);
976
976
  };
977
977
  return imports;