@biomejs/wasm-web 1.9.5-nightly.ff02a0b → 2.0.0-beta

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/biome_wasm.js CHANGED
@@ -1,18 +1,5 @@
1
1
  let wasm;
2
2
 
3
- function isLikeNone(x) {
4
- return x === undefined || x === null;
5
- }
6
-
7
- let cachedDataViewMemory0 = null;
8
-
9
- function getDataViewMemory0() {
10
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
11
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
12
- }
13
- return cachedDataViewMemory0;
14
- }
15
-
16
3
  let WASM_VECTOR_LEN = 0;
17
4
 
18
5
  let cachedUint8ArrayMemory0 = null;
@@ -78,6 +65,30 @@ function passStringToWasm0(arg, malloc, realloc) {
78
65
  return ptr;
79
66
  }
80
67
 
68
+ let cachedDataViewMemory0 = null;
69
+
70
+ function getDataViewMemory0() {
71
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
72
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
73
+ }
74
+ return cachedDataViewMemory0;
75
+ }
76
+
77
+ function addToExternrefTable0(obj) {
78
+ const idx = wasm.__externref_table_alloc();
79
+ wasm.__wbindgen_export_4.set(idx, obj);
80
+ return idx;
81
+ }
82
+
83
+ function handleError(f, args) {
84
+ try {
85
+ return f.apply(this, args);
86
+ } catch (e) {
87
+ const idx = addToExternrefTable0(e);
88
+ wasm.__wbindgen_exn_store(idx);
89
+ }
90
+ }
91
+
81
92
  const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
82
93
 
83
94
  if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
@@ -87,6 +98,10 @@ function getStringFromWasm0(ptr, len) {
87
98
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
88
99
  }
89
100
 
101
+ function isLikeNone(x) {
102
+ return x === undefined || x === null;
103
+ }
104
+
90
105
  function debugString(val) {
91
106
  // primitive types
92
107
  const type = typeof val;
@@ -128,7 +143,7 @@ function debugString(val) {
128
143
  // Test for built-in
129
144
  const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
130
145
  let className;
131
- if (builtInMatches.length > 1) {
146
+ if (builtInMatches && builtInMatches.length > 1) {
132
147
  className = builtInMatches[1];
133
148
  } else {
134
149
  // Failed to match the standard '[object ClassName]'
@@ -157,26 +172,11 @@ export function main() {
157
172
  }
158
173
 
159
174
  function takeFromExternrefTable0(idx) {
160
- const value = wasm.__wbindgen_export_2.get(idx);
175
+ const value = wasm.__wbindgen_export_4.get(idx);
161
176
  wasm.__externref_table_dealloc(idx);
162
177
  return value;
163
178
  }
164
179
 
165
- function addToExternrefTable0(obj) {
166
- const idx = wasm.__externref_table_alloc();
167
- wasm.__wbindgen_export_2.set(idx, obj);
168
- return idx;
169
- }
170
-
171
- function handleError(f, args) {
172
- try {
173
- return f.apply(this, args);
174
- } catch (e) {
175
- const idx = addToExternrefTable0(e);
176
- wasm.__wbindgen_exn_store(idx);
177
- }
178
- }
179
-
180
180
  const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
181
181
  ? { register: () => {}, unregister: () => {} }
182
182
  : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0, 1));
@@ -286,19 +286,21 @@ export class Workspace {
286
286
  }
287
287
  /**
288
288
  * @param {UpdateSettingsParams} params
289
+ * @returns {UpdateSettingsResult}
289
290
  */
290
291
  updateSettings(params) {
291
292
  const ret = wasm.workspace_updateSettings(this.__wbg_ptr, params);
292
- if (ret[1]) {
293
- throw takeFromExternrefTable0(ret[0]);
293
+ if (ret[2]) {
294
+ throw takeFromExternrefTable0(ret[1]);
294
295
  }
296
+ return takeFromExternrefTable0(ret[0]);
295
297
  }
296
298
  /**
297
- * @param {RegisterProjectFolderParams} params
299
+ * @param {OpenProjectParams} params
298
300
  * @returns {ProjectKey}
299
301
  */
300
- registerProjectFolder(params) {
301
- const ret = wasm.workspace_registerProjectFolder(this.__wbg_ptr, params);
302
+ openProject(params) {
303
+ const ret = wasm.workspace_openProject(this.__wbg_ptr, params);
302
304
  if (ret[2]) {
303
305
  throw takeFromExternrefTable0(ret[1]);
304
306
  }
@@ -474,17 +476,6 @@ export class Workspace {
474
476
  }
475
477
  return takeFromExternrefTable0(ret[0]);
476
478
  }
477
- /**
478
- * @param {OrganizeImportsParams} params
479
- * @returns {OrganizeImportsResult}
480
- */
481
- organizeImports(params) {
482
- const ret = wasm.workspace_organizeImports(this.__wbg_ptr, params);
483
- if (ret[2]) {
484
- throw takeFromExternrefTable0(ret[1]);
485
- }
486
- return takeFromExternrefTable0(ret[0]);
487
- }
488
479
  /**
489
480
  * @param {RenameParams} params
490
481
  * @returns {RenameResult}
@@ -532,104 +523,30 @@ async function __wbg_load(module, imports) {
532
523
  function __wbg_get_imports() {
533
524
  const imports = {};
534
525
  imports.wbg = {};
535
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
536
- const ret = arg0 === undefined;
537
- return ret;
538
- };
539
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
540
- const ret = arg0 in arg1;
541
- return ret;
542
- };
543
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
544
- const v = arg0;
545
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
546
- return ret;
547
- };
548
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
549
- const ret = typeof(arg0) === 'bigint';
550
- return ret;
551
- };
552
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
553
- const obj = arg1;
554
- const ret = typeof(obj) === 'number' ? obj : undefined;
555
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
556
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
557
- };
558
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
559
- const obj = arg1;
560
- const ret = typeof(obj) === 'string' ? obj : undefined;
561
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
562
- var len1 = WASM_VECTOR_LEN;
563
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
564
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
565
- };
566
- imports.wbg.__wbindgen_is_object = function(arg0) {
567
- const val = arg0;
568
- const ret = typeof(val) === 'object' && val !== null;
569
- return ret;
570
- };
571
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
572
- const ret = arg0;
573
- return ret;
574
- };
575
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
576
- const ret = arg0 === arg1;
577
- return ret;
578
- };
579
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
580
- const ret = BigInt.asUintN(64, arg0);
581
- return ret;
582
- };
583
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
584
- const ret = new Error(getStringFromWasm0(arg0, arg1));
585
- return ret;
586
- };
587
- imports.wbg.__wbindgen_is_string = function(arg0) {
588
- const ret = typeof(arg0) === 'string';
589
- return ret;
590
- };
591
- imports.wbg.__wbindgen_as_number = function(arg0) {
592
- const ret = +arg0;
593
- return ret;
594
- };
595
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
596
- const ret = arg0 == arg1;
597
- return ret;
598
- };
599
- imports.wbg.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
526
+ imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
600
527
  const ret = String(arg1);
601
528
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
602
529
  const len1 = WASM_VECTOR_LEN;
603
530
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
604
531
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
605
532
  };
606
- imports.wbg.__wbindgen_number_new = function(arg0) {
607
- const ret = arg0;
533
+ imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
534
+ const ret = arg0.buffer;
608
535
  return ret;
609
536
  };
610
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
611
- const ret = getStringFromWasm0(arg0, arg1);
537
+ imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
538
+ const ret = arg0.call(arg1);
612
539
  return ret;
613
- };
614
- imports.wbg.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
615
- const ret = arg0[arg1];
540
+ }, arguments) };
541
+ imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
542
+ const ret = arg0.done;
616
543
  return ret;
617
544
  };
618
- imports.wbg.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
619
- arg0[arg1] = arg2;
620
- };
621
- imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
622
- const ret = new Error();
545
+ imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
546
+ const ret = Object.entries(arg0);
623
547
  return ret;
624
548
  };
625
- imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
626
- const ret = arg1.stack;
627
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
628
- const len1 = WASM_VECTOR_LEN;
629
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
630
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
631
- };
632
- imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
549
+ imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
633
550
  let deferred0_0;
634
551
  let deferred0_1;
635
552
  try {
@@ -640,124 +557,134 @@ function __wbg_get_imports() {
640
557
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
641
558
  }
642
559
  };
643
- imports.wbg.__wbindgen_is_function = function(arg0) {
644
- const ret = typeof(arg0) === 'function';
560
+ imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
561
+ const ret = Reflect.get(arg0, arg1);
645
562
  return ret;
646
- };
647
- imports.wbg.__wbg_get_5419cf6b954aa11d = function(arg0, arg1) {
563
+ }, arguments) };
564
+ imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
648
565
  const ret = arg0[arg1 >>> 0];
649
566
  return ret;
650
567
  };
651
- imports.wbg.__wbg_length_f217bbbf7e8e4df4 = function(arg0) {
652
- const ret = arg0.length;
568
+ imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
569
+ const ret = arg0[arg1];
653
570
  return ret;
654
571
  };
655
- imports.wbg.__wbg_new_034f913e7636e987 = function() {
656
- const ret = new Array();
572
+ imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
573
+ let result;
574
+ try {
575
+ result = arg0 instanceof ArrayBuffer;
576
+ } catch (_) {
577
+ result = false;
578
+ }
579
+ const ret = result;
657
580
  return ret;
658
581
  };
659
- imports.wbg.__wbg_new_7a87a0376e40533b = function() {
660
- const ret = new Map();
582
+ imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
583
+ let result;
584
+ try {
585
+ result = arg0 instanceof Map;
586
+ } catch (_) {
587
+ result = false;
588
+ }
589
+ const ret = result;
661
590
  return ret;
662
591
  };
663
- imports.wbg.__wbg_next_13b477da1eaa3897 = function(arg0) {
664
- const ret = arg0.next;
592
+ imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
593
+ let result;
594
+ try {
595
+ result = arg0 instanceof Uint8Array;
596
+ } catch (_) {
597
+ result = false;
598
+ }
599
+ const ret = result;
665
600
  return ret;
666
601
  };
667
- imports.wbg.__wbg_next_b06e115d1b01e10b = function() { return handleError(function (arg0) {
668
- const ret = arg0.next();
669
- return ret;
670
- }, arguments) };
671
- imports.wbg.__wbg_done_983b5ffcaec8c583 = function(arg0) {
672
- const ret = arg0.done;
602
+ imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
603
+ const ret = Array.isArray(arg0);
673
604
  return ret;
674
605
  };
675
- imports.wbg.__wbg_value_2ab8a198c834c26a = function(arg0) {
676
- const ret = arg0.value;
606
+ imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
607
+ const ret = Number.isSafeInteger(arg0);
677
608
  return ret;
678
609
  };
679
- imports.wbg.__wbg_iterator_695d699a44d6234c = function() {
610
+ imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
680
611
  const ret = Symbol.iterator;
681
612
  return ret;
682
613
  };
683
- imports.wbg.__wbg_get_ef828680c64da212 = function() { return handleError(function (arg0, arg1) {
684
- const ret = Reflect.get(arg0, arg1);
614
+ imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
615
+ const ret = arg0.length;
685
616
  return ret;
686
- }, arguments) };
687
- imports.wbg.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {
688
- const ret = arg0.call(arg1);
617
+ };
618
+ imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
619
+ const ret = arg0.length;
689
620
  return ret;
690
- }, arguments) };
691
- imports.wbg.__wbg_new_e69b5f66fda8f13c = function() {
621
+ };
622
+ imports.wbg.__wbg_new_405e22f390576ce2 = function() {
692
623
  const ret = new Object();
693
624
  return ret;
694
625
  };
695
- imports.wbg.__wbg_set_425e70f7c64ac962 = function(arg0, arg1, arg2) {
696
- arg0[arg1 >>> 0] = arg2;
697
- };
698
- imports.wbg.__wbg_isArray_6f3b47f09adb61b5 = function(arg0) {
699
- const ret = Array.isArray(arg0);
626
+ imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
627
+ const ret = new Map();
700
628
  return ret;
701
629
  };
702
- imports.wbg.__wbg_instanceof_ArrayBuffer_74945570b4a62ec7 = function(arg0) {
703
- let result;
704
- try {
705
- result = arg0 instanceof ArrayBuffer;
706
- } catch (_) {
707
- result = false;
708
- }
709
- const ret = result;
630
+ imports.wbg.__wbg_new_78feb108b6472713 = function() {
631
+ const ret = new Array();
710
632
  return ret;
711
633
  };
712
- imports.wbg.__wbg_new_70a2f23d1565c04c = function(arg0, arg1) {
713
- const ret = new Error(getStringFromWasm0(arg0, arg1));
634
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
635
+ const ret = new Error();
714
636
  return ret;
715
637
  };
716
- imports.wbg.__wbg_instanceof_Map_f96986929e7e89ed = function(arg0) {
717
- let result;
718
- try {
719
- result = arg0 instanceof Map;
720
- } catch (_) {
721
- result = false;
722
- }
723
- const ret = result;
638
+ imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
639
+ const ret = new Uint8Array(arg0);
724
640
  return ret;
725
641
  };
726
- imports.wbg.__wbg_set_277a63e77c89279f = function(arg0, arg1, arg2) {
727
- const ret = arg0.set(arg1, arg2);
642
+ imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
643
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
728
644
  return ret;
729
645
  };
730
- imports.wbg.__wbg_isSafeInteger_b9dff570f01a9100 = function(arg0) {
731
- const ret = Number.isSafeInteger(arg0);
646
+ imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
647
+ const ret = arg0.next;
732
648
  return ret;
733
649
  };
734
- imports.wbg.__wbg_entries_c02034de337d3ee2 = function(arg0) {
735
- const ret = Object.entries(arg0);
650
+ imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
651
+ const ret = arg0.next();
736
652
  return ret;
653
+ }, arguments) };
654
+ imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
655
+ arg0[arg1 >>> 0] = arg2;
737
656
  };
738
- imports.wbg.__wbg_buffer_ccaed51a635d8a2d = function(arg0) {
739
- const ret = arg0.buffer;
657
+ imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
658
+ arg0[arg1] = arg2;
659
+ };
660
+ imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
661
+ arg0.set(arg1, arg2 >>> 0);
662
+ };
663
+ imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
664
+ const ret = arg0.set(arg1, arg2);
740
665
  return ret;
741
666
  };
742
- imports.wbg.__wbg_new_fec2611eb9180f95 = function(arg0) {
743
- const ret = new Uint8Array(arg0);
667
+ imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
668
+ const ret = arg1.stack;
669
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
670
+ const len1 = WASM_VECTOR_LEN;
671
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
672
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
673
+ };
674
+ imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
675
+ const ret = arg0.value;
744
676
  return ret;
745
677
  };
746
- imports.wbg.__wbg_set_ec2fcf81bc573fd9 = function(arg0, arg1, arg2) {
747
- arg0.set(arg1, arg2 >>> 0);
678
+ imports.wbg.__wbindgen_as_number = function(arg0) {
679
+ const ret = +arg0;
680
+ return ret;
748
681
  };
749
- imports.wbg.__wbg_length_9254c4bd3b9f23c4 = function(arg0) {
750
- const ret = arg0.length;
682
+ imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
683
+ const ret = arg0;
751
684
  return ret;
752
685
  };
753
- imports.wbg.__wbg_instanceof_Uint8Array_df0761410414ef36 = function(arg0) {
754
- let result;
755
- try {
756
- result = arg0 instanceof Uint8Array;
757
- } catch (_) {
758
- result = false;
759
- }
760
- const ret = result;
686
+ imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
687
+ const ret = BigInt.asUintN(64, arg0);
761
688
  return ret;
762
689
  };
763
690
  imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
@@ -766,6 +693,11 @@ function __wbg_get_imports() {
766
693
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
767
694
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
768
695
  };
696
+ imports.wbg.__wbindgen_boolean_get = function(arg0) {
697
+ const v = arg0;
698
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
699
+ return ret;
700
+ };
769
701
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
770
702
  const ret = debugString(arg1);
771
703
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -773,15 +705,16 @@ function __wbg_get_imports() {
773
705
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
774
706
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
775
707
  };
776
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
777
- throw new Error(getStringFromWasm0(arg0, arg1));
708
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
709
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
710
+ return ret;
778
711
  };
779
- imports.wbg.__wbindgen_memory = function() {
780
- const ret = wasm.memory;
712
+ imports.wbg.__wbindgen_in = function(arg0, arg1) {
713
+ const ret = arg0 in arg1;
781
714
  return ret;
782
715
  };
783
716
  imports.wbg.__wbindgen_init_externref_table = function() {
784
- const table = wasm.__wbindgen_export_2;
717
+ const table = wasm.__wbindgen_export_4;
785
718
  const offset = table.grow(4);
786
719
  table.set(0, undefined);
787
720
  table.set(offset + 0, undefined);
@@ -790,6 +723,64 @@ function __wbg_get_imports() {
790
723
  table.set(offset + 3, false);
791
724
  ;
792
725
  };
726
+ imports.wbg.__wbindgen_is_bigint = function(arg0) {
727
+ const ret = typeof(arg0) === 'bigint';
728
+ return ret;
729
+ };
730
+ imports.wbg.__wbindgen_is_function = function(arg0) {
731
+ const ret = typeof(arg0) === 'function';
732
+ return ret;
733
+ };
734
+ imports.wbg.__wbindgen_is_object = function(arg0) {
735
+ const val = arg0;
736
+ const ret = typeof(val) === 'object' && val !== null;
737
+ return ret;
738
+ };
739
+ imports.wbg.__wbindgen_is_string = function(arg0) {
740
+ const ret = typeof(arg0) === 'string';
741
+ return ret;
742
+ };
743
+ imports.wbg.__wbindgen_is_undefined = function(arg0) {
744
+ const ret = arg0 === undefined;
745
+ return ret;
746
+ };
747
+ imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
748
+ const ret = arg0 === arg1;
749
+ return ret;
750
+ };
751
+ imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
752
+ const ret = arg0 == arg1;
753
+ return ret;
754
+ };
755
+ imports.wbg.__wbindgen_memory = function() {
756
+ const ret = wasm.memory;
757
+ return ret;
758
+ };
759
+ imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
760
+ const obj = arg1;
761
+ const ret = typeof(obj) === 'number' ? obj : undefined;
762
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
763
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
764
+ };
765
+ imports.wbg.__wbindgen_number_new = function(arg0) {
766
+ const ret = arg0;
767
+ return ret;
768
+ };
769
+ imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
770
+ const obj = arg1;
771
+ const ret = typeof(obj) === 'string' ? obj : undefined;
772
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
773
+ var len1 = WASM_VECTOR_LEN;
774
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
775
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
776
+ };
777
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
778
+ const ret = getStringFromWasm0(arg0, arg1);
779
+ return ret;
780
+ };
781
+ imports.wbg.__wbindgen_throw = function(arg0, arg1) {
782
+ throw new Error(getStringFromWasm0(arg0, arg1));
783
+ };
793
784
 
794
785
  return imports;
795
786
  }
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "1.9.5-nightly.ff02a0b",
8
+ "version": "2.0.0-beta",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",