@biomejs/wasm-bundler 2.2.5 → 2.2.7

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.d.ts CHANGED
@@ -1492,6 +1492,10 @@ interface Nursery {
1492
1492
  * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
1493
1493
  */
1494
1494
  noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
1495
+ /**
1496
+ * Disallow empty sources.
1497
+ */
1498
+ noEmptySource?: RuleConfiguration_for_NoEmptySourceOptions;
1495
1499
  /**
1496
1500
  * Require Promise-like statements to be handled appropriately.
1497
1501
  */
@@ -1584,6 +1588,10 @@ interface Nursery {
1584
1588
  * Enforce type definitions to consistently use either interface or type.
1585
1589
  */
1586
1590
  useConsistentTypeDefinitions?: RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions;
1591
+ /**
1592
+ * Require the @deprecated directive to specify a deletion date.
1593
+ */
1594
+ useDeprecatedDate?: RuleConfiguration_for_UseDeprecatedDateOptions;
1587
1595
  /**
1588
1596
  * Require switch-case statements to be exhaustive.
1589
1597
  */
@@ -1604,6 +1612,14 @@ interface Nursery {
1604
1612
  * Prefer using the class prop as a classlist over the classnames helper.
1605
1613
  */
1606
1614
  useQwikClasslist?: RuleConfiguration_for_UseQwikClasslistOptions;
1615
+ /**
1616
+ * Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
1617
+ */
1618
+ useQwikMethodUsage?: RuleConfiguration_for_UseQwikMethodUsageOptions;
1619
+ /**
1620
+ * Disallow unserializable expressions in Qwik dollar ($) scopes.
1621
+ */
1622
+ useQwikValidLexicalScope?: RuleConfiguration_for_UseQwikValidLexicalScopeOptions;
1607
1623
  /**
1608
1624
  * Enforce that components are defined as functions and never as classes.
1609
1625
  */
@@ -2847,6 +2863,9 @@ type RuleConfiguration_for_NoDeprecatedImportsOptions =
2847
2863
  type RuleConfiguration_for_NoDuplicateDependenciesOptions =
2848
2864
  | RulePlainConfiguration
2849
2865
  | RuleWithOptions_for_NoDuplicateDependenciesOptions;
2866
+ type RuleConfiguration_for_NoEmptySourceOptions =
2867
+ | RulePlainConfiguration
2868
+ | RuleWithOptions_for_NoEmptySourceOptions;
2850
2869
  type RuleFixConfiguration_for_NoFloatingPromisesOptions =
2851
2870
  | RulePlainConfiguration
2852
2871
  | RuleWithFixOptions_for_NoFloatingPromisesOptions;
@@ -2913,6 +2932,9 @@ type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
2913
2932
  type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
2914
2933
  | RulePlainConfiguration
2915
2934
  | RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
2935
+ type RuleConfiguration_for_UseDeprecatedDateOptions =
2936
+ | RulePlainConfiguration
2937
+ | RuleWithOptions_for_UseDeprecatedDateOptions;
2916
2938
  type RuleFixConfiguration_for_UseExhaustiveSwitchCasesOptions =
2917
2939
  | RulePlainConfiguration
2918
2940
  | RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions;
@@ -2928,6 +2950,12 @@ type RuleConfiguration_for_UseMaxParamsOptions =
2928
2950
  type RuleConfiguration_for_UseQwikClasslistOptions =
2929
2951
  | RulePlainConfiguration
2930
2952
  | RuleWithOptions_for_UseQwikClasslistOptions;
2953
+ type RuleConfiguration_for_UseQwikMethodUsageOptions =
2954
+ | RulePlainConfiguration
2955
+ | RuleWithOptions_for_UseQwikMethodUsageOptions;
2956
+ type RuleConfiguration_for_UseQwikValidLexicalScopeOptions =
2957
+ | RulePlainConfiguration
2958
+ | RuleWithOptions_for_UseQwikValidLexicalScopeOptions;
2931
2959
  type RuleConfiguration_for_UseReactFunctionComponentsOptions =
2932
2960
  | RulePlainConfiguration
2933
2961
  | RuleWithOptions_for_UseReactFunctionComponentsOptions;
@@ -5242,6 +5270,16 @@ interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
5242
5270
  */
5243
5271
  options: NoDuplicateDependenciesOptions;
5244
5272
  }
5273
+ interface RuleWithOptions_for_NoEmptySourceOptions {
5274
+ /**
5275
+ * The severity of the emitted diagnostics by the rule
5276
+ */
5277
+ level: RulePlainConfiguration;
5278
+ /**
5279
+ * Rule's options
5280
+ */
5281
+ options: NoEmptySourceOptions;
5282
+ }
5245
5283
  interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
5246
5284
  /**
5247
5285
  * The kind of the code actions emitted by the rule
@@ -5494,6 +5532,16 @@ interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
5494
5532
  */
5495
5533
  options: UseConsistentTypeDefinitionsOptions;
5496
5534
  }
5535
+ interface RuleWithOptions_for_UseDeprecatedDateOptions {
5536
+ /**
5537
+ * The severity of the emitted diagnostics by the rule
5538
+ */
5539
+ level: RulePlainConfiguration;
5540
+ /**
5541
+ * Rule's options
5542
+ */
5543
+ options: UseDeprecatedDateOptions;
5544
+ }
5497
5545
  interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
5498
5546
  /**
5499
5547
  * The kind of the code actions emitted by the rule
@@ -5548,6 +5596,26 @@ interface RuleWithOptions_for_UseQwikClasslistOptions {
5548
5596
  */
5549
5597
  options: UseQwikClasslistOptions;
5550
5598
  }
5599
+ interface RuleWithOptions_for_UseQwikMethodUsageOptions {
5600
+ /**
5601
+ * The severity of the emitted diagnostics by the rule
5602
+ */
5603
+ level: RulePlainConfiguration;
5604
+ /**
5605
+ * Rule's options
5606
+ */
5607
+ options: UseQwikMethodUsageOptions;
5608
+ }
5609
+ interface RuleWithOptions_for_UseQwikValidLexicalScopeOptions {
5610
+ /**
5611
+ * The severity of the emitted diagnostics by the rule
5612
+ */
5613
+ level: RulePlainConfiguration;
5614
+ /**
5615
+ * Rule's options
5616
+ */
5617
+ options: UseQwikValidLexicalScopeOptions;
5618
+ }
5551
5619
  interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
5552
5620
  /**
5553
5621
  * The severity of the emitted diagnostics by the rule
@@ -7976,6 +8044,12 @@ interface UseValidTypeofOptions {}
7976
8044
  interface UseYieldOptions {}
7977
8045
  interface NoDeprecatedImportsOptions {}
7978
8046
  interface NoDuplicateDependenciesOptions {}
8047
+ interface NoEmptySourceOptions {
8048
+ /**
8049
+ * Whether comments are considered meaningful
8050
+ */
8051
+ allowComments?: boolean;
8052
+ }
7979
8053
  interface NoFloatingPromisesOptions {}
7980
8054
  interface NoImportCyclesOptions {
7981
8055
  /**
@@ -8034,6 +8108,9 @@ This option is only applicable when used in conjunction with the `asNeeded` opti
8034
8108
  interface UseConsistentTypeDefinitionsOptions {
8035
8109
  style?: ConsistentTypeDefinition;
8036
8110
  }
8111
+ interface UseDeprecatedDateOptions {
8112
+ argumentName?: string;
8113
+ }
8037
8114
  interface UseExhaustiveSwitchCasesOptions {}
8038
8115
  interface UseExplicitTypeOptions {}
8039
8116
  type UseImageSizeOptions = null;
@@ -8044,6 +8121,8 @@ interface UseMaxParamsOptions {
8044
8121
  max?: number;
8045
8122
  }
8046
8123
  interface UseQwikClasslistOptions {}
8124
+ interface UseQwikMethodUsageOptions {}
8125
+ interface UseQwikValidLexicalScopeOptions {}
8047
8126
  interface UseReactFunctionComponentsOptions {}
8048
8127
  interface UseSortedClassesOptions {
8049
8128
  /**
@@ -8716,6 +8795,7 @@ type Category =
8716
8795
  | "lint/nursery/noColorInvalidHex"
8717
8796
  | "lint/nursery/noDeprecatedImports"
8718
8797
  | "lint/nursery/noDuplicateDependencies"
8798
+ | "lint/nursery/noEmptySource"
8719
8799
  | "lint/nursery/noFloatingPromises"
8720
8800
  | "lint/nursery/noImplicitCoercion"
8721
8801
  | "lint/nursery/noImportCycles"
@@ -8744,6 +8824,7 @@ type Category =
8744
8824
  | "lint/nursery/useConsistentArrowReturn"
8745
8825
  | "lint/nursery/useConsistentObjectDefinition"
8746
8826
  | "lint/nursery/useConsistentTypeDefinitions"
8827
+ | "lint/nursery/useDeprecatedDate"
8747
8828
  | "lint/nursery/useExhaustiveSwitchCases"
8748
8829
  | "lint/nursery/useExplicitFunctionReturnType"
8749
8830
  | "lint/nursery/useExplicitType"
@@ -8752,6 +8833,8 @@ type Category =
8752
8833
  | "lint/nursery/useJsxCurlyBraceConvention"
8753
8834
  | "lint/nursery/useMaxParams"
8754
8835
  | "lint/nursery/useQwikClasslist"
8836
+ | "lint/nursery/useQwikMethodUsage"
8837
+ | "lint/nursery/useQwikValidLexicalScope"
8755
8838
  | "lint/nursery/useReactFunctionComponents"
8756
8839
  | "lint/nursery/useSortedClasses"
8757
8840
  | "lint/nursery/useVueMultiWordComponentNames"
@@ -9479,6 +9562,7 @@ interface DropPatternParams {
9479
9562
 
9480
9563
  export class DiagnosticPrinter {
9481
9564
  free(): void;
9565
+ [Symbol.dispose](): void;
9482
9566
  constructor(file_name: string, file_source: string);
9483
9567
  print_simple(diagnostic: Diagnostic): void;
9484
9568
  print_verbose(diagnostic: Diagnostic): void;
@@ -9486,12 +9570,14 @@ export class DiagnosticPrinter {
9486
9570
  }
9487
9571
  export class MemoryFileSystem {
9488
9572
  free(): void;
9573
+ [Symbol.dispose](): void;
9489
9574
  constructor();
9490
9575
  insert(path: string, data: Uint8Array): void;
9491
9576
  remove(path: string): void;
9492
9577
  }
9493
9578
  export class Workspace {
9494
9579
  free(): void;
9580
+ [Symbol.dispose](): void;
9495
9581
  constructor();
9496
9582
  static withFileSystem(fs: MemoryFileSystem): Workspace;
9497
9583
  fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
package/biome_wasm_bg.js CHANGED
@@ -4,8 +4,6 @@ export function __wbg_set_wasm(val) {
4
4
  }
5
5
 
6
6
 
7
- let WASM_VECTOR_LEN = 0;
8
-
9
7
  let cachedUint8ArrayMemory0 = null;
10
8
 
11
9
  function getUint8ArrayMemory0() {
@@ -15,22 +13,41 @@ function getUint8ArrayMemory0() {
15
13
  return cachedUint8ArrayMemory0;
16
14
  }
17
15
 
18
- const lTextEncoder = typeof TextEncoder === 'undefined' ? (0, module.require)('util').TextEncoder : TextEncoder;
16
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
17
+
18
+ cachedTextDecoder.decode();
19
+
20
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
21
+ let numBytesDecoded = 0;
22
+ function decodeText(ptr, len) {
23
+ numBytesDecoded += len;
24
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
25
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
26
+ cachedTextDecoder.decode();
27
+ numBytesDecoded = len;
28
+ }
29
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
30
+ }
31
+
32
+ function getStringFromWasm0(ptr, len) {
33
+ ptr = ptr >>> 0;
34
+ return decodeText(ptr, len);
35
+ }
36
+
37
+ let WASM_VECTOR_LEN = 0;
19
38
 
20
- let cachedTextEncoder = new lTextEncoder('utf-8');
39
+ const cachedTextEncoder = new TextEncoder();
21
40
 
22
- const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
23
- ? function (arg, view) {
24
- return cachedTextEncoder.encodeInto(arg, view);
41
+ if (!('encodeInto' in cachedTextEncoder)) {
42
+ cachedTextEncoder.encodeInto = function (arg, view) {
43
+ const buf = cachedTextEncoder.encode(arg);
44
+ view.set(buf);
45
+ return {
46
+ read: arg.length,
47
+ written: buf.length
48
+ };
49
+ }
25
50
  }
26
- : function (arg, view) {
27
- const buf = cachedTextEncoder.encode(arg);
28
- view.set(buf);
29
- return {
30
- read: arg.length,
31
- written: buf.length
32
- };
33
- });
34
51
 
35
52
  function passStringToWasm0(arg, malloc, realloc) {
36
53
 
@@ -61,7 +78,7 @@ function passStringToWasm0(arg, malloc, realloc) {
61
78
  }
62
79
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
63
80
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
64
- const ret = encodeString(arg, view);
81
+ const ret = cachedTextEncoder.encodeInto(arg, view);
65
82
 
66
83
  offset += ret.written;
67
84
  ptr = realloc(ptr, len, offset, 1) >>> 0;
@@ -95,15 +112,9 @@ function handleError(f, args) {
95
112
  }
96
113
  }
97
114
 
98
- const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;
99
-
100
- let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
101
-
102
- cachedTextDecoder.decode();
103
-
104
- function getStringFromWasm0(ptr, len) {
115
+ function getArrayU8FromWasm0(ptr, len) {
105
116
  ptr = ptr >>> 0;
106
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
117
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
107
118
  }
108
119
 
109
120
  function isLikeNone(x) {
@@ -270,6 +281,7 @@ export class DiagnosticPrinter {
270
281
  }
271
282
  }
272
283
  }
284
+ if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
273
285
 
274
286
  const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
275
287
  ? { register: () => {}, unregister: () => {} }
@@ -314,6 +326,7 @@ export class MemoryFileSystem {
314
326
  wasm.memoryfilesystem_remove(this.__wbg_ptr, ptr0, len0);
315
327
  }
316
328
  }
329
+ if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
317
330
 
318
331
  const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
319
332
  ? { register: () => {}, unregister: () => {} }
@@ -693,6 +706,17 @@ export class Workspace {
693
706
  return takeFromExternrefTable0(ret[0]);
694
707
  }
695
708
  }
709
+ if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
710
+
711
+ export function __wbg_Error_e17e777aac105295(arg0, arg1) {
712
+ const ret = Error(getStringFromWasm0(arg0, arg1));
713
+ return ret;
714
+ };
715
+
716
+ export function __wbg_Number_998bea33bd87c3e0(arg0) {
717
+ const ret = Number(arg0);
718
+ return ret;
719
+ };
696
720
 
697
721
  export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
698
722
  const ret = String(arg1);
@@ -702,22 +726,17 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
702
726
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
703
727
  };
704
728
 
705
- export function __wbg_buffer_609cc3eee51ed158(arg0) {
706
- const ret = arg0.buffer;
707
- return ret;
708
- };
709
-
710
- export function __wbg_call_672a4d21634d4a24() { return handleError(function (arg0, arg1) {
729
+ export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
711
730
  const ret = arg0.call(arg1);
712
731
  return ret;
713
732
  }, arguments) };
714
733
 
715
- export function __wbg_done_769e5ede4b31c67b(arg0) {
734
+ export function __wbg_done_75ed0ee6dd243d9d(arg0) {
716
735
  const ret = arg0.done;
717
736
  return ret;
718
737
  };
719
738
 
720
- export function __wbg_entries_3265d4158b33e5dc(arg0) {
739
+ export function __wbg_entries_2be2f15bd5554996(arg0) {
721
740
  const ret = Object.entries(arg0);
722
741
  return ret;
723
742
  };
@@ -734,22 +753,22 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
734
753
  }
735
754
  };
736
755
 
737
- export function __wbg_get_67b2ba62fc30de12() { return handleError(function (arg0, arg1) {
738
- const ret = Reflect.get(arg0, arg1);
739
- return ret;
740
- }, arguments) };
741
-
742
- export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
756
+ export function __wbg_get_0da715ceaecea5c8(arg0, arg1) {
743
757
  const ret = arg0[arg1 >>> 0];
744
758
  return ret;
745
759
  };
746
760
 
761
+ export function __wbg_get_458e874b43b18b25() { return handleError(function (arg0, arg1) {
762
+ const ret = Reflect.get(arg0, arg1);
763
+ return ret;
764
+ }, arguments) };
765
+
747
766
  export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) {
748
767
  const ret = arg0[arg1];
749
768
  return ret;
750
769
  };
751
770
 
752
- export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
771
+ export function __wbg_instanceof_ArrayBuffer_67f3012529f6a2dd(arg0) {
753
772
  let result;
754
773
  try {
755
774
  result = arg0 instanceof ArrayBuffer;
@@ -760,7 +779,7 @@ export function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) {
760
779
  return ret;
761
780
  };
762
781
 
763
- export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
782
+ export function __wbg_instanceof_Map_ebb01a5b6b5ffd0b(arg0) {
764
783
  let result;
765
784
  try {
766
785
  result = arg0 instanceof Map;
@@ -771,7 +790,7 @@ export function __wbg_instanceof_Map_f3469ce2244d2430(arg0) {
771
790
  return ret;
772
791
  };
773
792
 
774
- export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
793
+ export function __wbg_instanceof_Uint8Array_9a8378d955933db7(arg0) {
775
794
  let result;
776
795
  try {
777
796
  result = arg0 instanceof Uint8Array;
@@ -782,72 +801,72 @@ export function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) {
782
801
  return ret;
783
802
  };
784
803
 
785
- export function __wbg_isArray_a1eab7e0d067391b(arg0) {
804
+ export function __wbg_isArray_030cce220591fb41(arg0) {
786
805
  const ret = Array.isArray(arg0);
787
806
  return ret;
788
807
  };
789
808
 
790
- export function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) {
809
+ export function __wbg_isSafeInteger_1c0d1af5542e102a(arg0) {
791
810
  const ret = Number.isSafeInteger(arg0);
792
811
  return ret;
793
812
  };
794
813
 
795
- export function __wbg_iterator_9a24c88df860dc65() {
814
+ export function __wbg_iterator_f370b34483c71a1c() {
796
815
  const ret = Symbol.iterator;
797
816
  return ret;
798
817
  };
799
818
 
800
- export function __wbg_length_a446193dc22c12f8(arg0) {
819
+ export function __wbg_length_186546c51cd61acd(arg0) {
801
820
  const ret = arg0.length;
802
821
  return ret;
803
822
  };
804
823
 
805
- export function __wbg_length_e2d2a49132c1b256(arg0) {
824
+ export function __wbg_length_6bb7e81f9d7713e4(arg0) {
806
825
  const ret = arg0.length;
807
826
  return ret;
808
827
  };
809
828
 
810
- export function __wbg_new_405e22f390576ce2() {
829
+ export function __wbg_new_19c25a3f2fa63a02() {
811
830
  const ret = new Object();
812
831
  return ret;
813
832
  };
814
833
 
815
- export function __wbg_new_5e0be73521bc8c17() {
816
- const ret = new Map();
834
+ export function __wbg_new_1f3a344cf3123716() {
835
+ const ret = new Array();
817
836
  return ret;
818
837
  };
819
838
 
820
- export function __wbg_new_78feb108b6472713() {
821
- const ret = new Array();
839
+ export function __wbg_new_2ff1f68f3676ea53() {
840
+ const ret = new Map();
822
841
  return ret;
823
842
  };
824
843
 
825
- export function __wbg_new_8a6f238a6ece86ea() {
826
- const ret = new Error();
844
+ export function __wbg_new_638ebfaedbf32a5e(arg0) {
845
+ const ret = new Uint8Array(arg0);
827
846
  return ret;
828
847
  };
829
848
 
830
- export function __wbg_new_a12002a7f91c75be(arg0) {
831
- const ret = new Uint8Array(arg0);
849
+ export function __wbg_new_8a6f238a6ece86ea() {
850
+ const ret = new Error();
832
851
  return ret;
833
852
  };
834
853
 
835
- export function __wbg_new_c68d7209be747379(arg0, arg1) {
854
+ export function __wbg_new_da9dc54c5db29dfa(arg0, arg1) {
836
855
  const ret = new Error(getStringFromWasm0(arg0, arg1));
837
856
  return ret;
838
857
  };
839
858
 
840
- export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
859
+ export function __wbg_newnoargs_254190557c45b4ec(arg0, arg1) {
841
860
  const ret = new Function(getStringFromWasm0(arg0, arg1));
842
861
  return ret;
843
862
  };
844
863
 
845
- export function __wbg_next_25feadfc0913fea9(arg0) {
864
+ export function __wbg_next_5b3530e612fde77d(arg0) {
846
865
  const ret = arg0.next;
847
866
  return ret;
848
867
  };
849
868
 
850
- export function __wbg_next_6574e1a8a62d1055() { return handleError(function (arg0) {
869
+ export function __wbg_next_692e82279131b03c() { return handleError(function (arg0) {
851
870
  const ret = arg0.next();
852
871
  return ret;
853
872
  }, arguments) };
@@ -862,19 +881,19 @@ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
862
881
  return ret;
863
882
  };
864
883
 
865
- export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
866
- arg0[arg1 >>> 0] = arg2;
884
+ export function __wbg_prototypesetcall_3d4a26c1ed734349(arg0, arg1, arg2) {
885
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
867
886
  };
868
887
 
869
888
  export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
870
889
  arg0[arg1] = arg2;
871
890
  };
872
891
 
873
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
874
- arg0.set(arg1, arg2 >>> 0);
892
+ export function __wbg_set_90f6c0f7bd8c0415(arg0, arg1, arg2) {
893
+ arg0[arg1 >>> 0] = arg2;
875
894
  };
876
895
 
877
- export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
896
+ export function __wbg_set_b7f1cf4fae26fe2a(arg0, arg1, arg2) {
878
897
  const ret = arg0.set(arg1, arg2);
879
898
  return ret;
880
899
  };
@@ -887,60 +906,45 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
887
906
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
888
907
  };
889
908
 
890
- export function __wbg_static_accessor_GLOBAL_88a902d13a557d07() {
909
+ export function __wbg_static_accessor_GLOBAL_8921f820c2ce3f12() {
891
910
  const ret = typeof global === 'undefined' ? null : global;
892
911
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
893
912
  };
894
913
 
895
- export function __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0() {
914
+ export function __wbg_static_accessor_GLOBAL_THIS_f0a4409105898184() {
896
915
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
897
916
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
898
917
  };
899
918
 
900
- export function __wbg_static_accessor_SELF_37c5d418e4bf5819() {
919
+ export function __wbg_static_accessor_SELF_995b214ae681ff99() {
901
920
  const ret = typeof self === 'undefined' ? null : self;
902
921
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
903
922
  };
904
923
 
905
- export function __wbg_static_accessor_WINDOW_5de37043a91a9c40() {
924
+ export function __wbg_static_accessor_WINDOW_cde3890479c675ea() {
906
925
  const ret = typeof window === 'undefined' ? null : window;
907
926
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
908
927
  };
909
928
 
910
- export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
929
+ export function __wbg_value_dd9372230531eade(arg0) {
911
930
  const ret = arg0.value;
912
931
  return ret;
913
932
  };
914
933
 
915
- export function __wbindgen_as_number(arg0) {
916
- const ret = +arg0;
917
- return ret;
918
- };
919
-
920
- export function __wbindgen_bigint_from_i64(arg0) {
921
- const ret = arg0;
922
- return ret;
923
- };
924
-
925
- export function __wbindgen_bigint_from_u64(arg0) {
926
- const ret = BigInt.asUintN(64, arg0);
927
- return ret;
928
- };
929
-
930
- export function __wbindgen_bigint_get_as_i64(arg0, arg1) {
934
+ export function __wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1(arg0, arg1) {
931
935
  const v = arg1;
932
936
  const ret = typeof(v) === 'bigint' ? v : undefined;
933
937
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
934
938
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
935
939
  };
936
940
 
937
- export function __wbindgen_boolean_get(arg0) {
941
+ export function __wbg_wbindgenbooleanget_3fe6f642c7d97746(arg0) {
938
942
  const v = arg0;
939
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
940
- return ret;
943
+ const ret = typeof(v) === 'boolean' ? v : undefined;
944
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
941
945
  };
942
946
 
943
- export function __wbindgen_debug_string(arg0, arg1) {
947
+ export function __wbg_wbindgendebugstring_99ef257a3ddda34d(arg0, arg1) {
944
948
  const ret = debugString(arg1);
945
949
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
946
950
  const len1 = WASM_VECTOR_LEN;
@@ -948,81 +952,55 @@ export function __wbindgen_debug_string(arg0, arg1) {
948
952
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
949
953
  };
950
954
 
951
- export function __wbindgen_error_new(arg0, arg1) {
952
- const ret = new Error(getStringFromWasm0(arg0, arg1));
953
- return ret;
954
- };
955
-
956
- export function __wbindgen_in(arg0, arg1) {
955
+ export function __wbg_wbindgenin_d7a1ee10933d2d55(arg0, arg1) {
957
956
  const ret = arg0 in arg1;
958
957
  return ret;
959
958
  };
960
959
 
961
- export function __wbindgen_init_externref_table() {
962
- const table = wasm.__wbindgen_export_4;
963
- const offset = table.grow(4);
964
- table.set(0, undefined);
965
- table.set(offset + 0, undefined);
966
- table.set(offset + 1, null);
967
- table.set(offset + 2, true);
968
- table.set(offset + 3, false);
969
- ;
970
- };
971
-
972
- export function __wbindgen_is_bigint(arg0) {
960
+ export function __wbg_wbindgenisbigint_ecb90cc08a5a9154(arg0) {
973
961
  const ret = typeof(arg0) === 'bigint';
974
962
  return ret;
975
963
  };
976
964
 
977
- export function __wbindgen_is_function(arg0) {
965
+ export function __wbg_wbindgenisfunction_8cee7dce3725ae74(arg0) {
978
966
  const ret = typeof(arg0) === 'function';
979
967
  return ret;
980
968
  };
981
969
 
982
- export function __wbindgen_is_object(arg0) {
970
+ export function __wbg_wbindgenisobject_307a53c6bd97fbf8(arg0) {
983
971
  const val = arg0;
984
972
  const ret = typeof(val) === 'object' && val !== null;
985
973
  return ret;
986
974
  };
987
975
 
988
- export function __wbindgen_is_string(arg0) {
976
+ export function __wbg_wbindgenisstring_d4fa939789f003b0(arg0) {
989
977
  const ret = typeof(arg0) === 'string';
990
978
  return ret;
991
979
  };
992
980
 
993
- export function __wbindgen_is_undefined(arg0) {
981
+ export function __wbg_wbindgenisundefined_c4b71d073b92f3c5(arg0) {
994
982
  const ret = arg0 === undefined;
995
983
  return ret;
996
984
  };
997
985
 
998
- export function __wbindgen_jsval_eq(arg0, arg1) {
986
+ export function __wbg_wbindgenjsvaleq_e6f2ad59ccae1b58(arg0, arg1) {
999
987
  const ret = arg0 === arg1;
1000
988
  return ret;
1001
989
  };
1002
990
 
1003
- export function __wbindgen_jsval_loose_eq(arg0, arg1) {
991
+ export function __wbg_wbindgenjsvallooseeq_9bec8c9be826bed1(arg0, arg1) {
1004
992
  const ret = arg0 == arg1;
1005
993
  return ret;
1006
994
  };
1007
995
 
1008
- export function __wbindgen_memory() {
1009
- const ret = wasm.memory;
1010
- return ret;
1011
- };
1012
-
1013
- export function __wbindgen_number_get(arg0, arg1) {
996
+ export function __wbg_wbindgennumberget_f74b4c7525ac05cb(arg0, arg1) {
1014
997
  const obj = arg1;
1015
998
  const ret = typeof(obj) === 'number' ? obj : undefined;
1016
999
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1017
1000
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1018
1001
  };
1019
1002
 
1020
- export function __wbindgen_number_new(arg0) {
1021
- const ret = arg0;
1022
- return ret;
1023
- };
1024
-
1025
- export function __wbindgen_string_get(arg0, arg1) {
1003
+ export function __wbg_wbindgenstringget_0f16a6ddddef376f(arg0, arg1) {
1026
1004
  const obj = arg1;
1027
1005
  const ret = typeof(obj) === 'string' ? obj : undefined;
1028
1006
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1031,12 +1009,42 @@ export function __wbindgen_string_get(arg0, arg1) {
1031
1009
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1032
1010
  };
1033
1011
 
1034
- export function __wbindgen_string_new(arg0, arg1) {
1012
+ export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
1013
+ throw new Error(getStringFromWasm0(arg0, arg1));
1014
+ };
1015
+
1016
+ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
1017
+ // Cast intrinsic for `Ref(String) -> Externref`.
1035
1018
  const ret = getStringFromWasm0(arg0, arg1);
1036
1019
  return ret;
1037
1020
  };
1038
1021
 
1039
- export function __wbindgen_throw(arg0, arg1) {
1040
- throw new Error(getStringFromWasm0(arg0, arg1));
1022
+ export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
1023
+ // Cast intrinsic for `U64 -> Externref`.
1024
+ const ret = BigInt.asUintN(64, arg0);
1025
+ return ret;
1026
+ };
1027
+
1028
+ export function __wbindgen_cast_9ae0607507abb057(arg0) {
1029
+ // Cast intrinsic for `I64 -> Externref`.
1030
+ const ret = arg0;
1031
+ return ret;
1032
+ };
1033
+
1034
+ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
1035
+ // Cast intrinsic for `F64 -> Externref`.
1036
+ const ret = arg0;
1037
+ return ret;
1038
+ };
1039
+
1040
+ export function __wbindgen_init_externref_table() {
1041
+ const table = wasm.__wbindgen_export_4;
1042
+ const offset = table.grow(4);
1043
+ table.set(0, undefined);
1044
+ table.set(offset + 0, undefined);
1045
+ table.set(offset + 1, null);
1046
+ table.set(offset + 2, true);
1047
+ table.set(offset + 3, false);
1048
+ ;
1041
1049
  };
1042
1050
 
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": "2.2.5",
8
+ "version": "2.2.7",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",