@biomejs/wasm-web 1.9.1 → 1.9.2

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
@@ -1161,6 +1161,10 @@ interface Nursery {
1161
1161
  * Disallows the use of irregular whitespace characters.
1162
1162
  */
1163
1163
  noIrregularWhitespace?: RuleConfiguration_for_Null;
1164
+ /**
1165
+ * Disallow missing var function for css variables.
1166
+ */
1167
+ noMissingVarFunction?: RuleConfiguration_for_Null;
1164
1168
  /**
1165
1169
  * Disallow the use of process.env.
1166
1170
  */
@@ -1213,6 +1217,10 @@ interface Nursery {
1213
1217
  * Enforce that ARIA properties are valid for the roles that are supported by the element.
1214
1218
  */
1215
1219
  useAriaPropsSupportedByRole?: RuleConfiguration_for_Null;
1220
+ /**
1221
+ * Enforce declaring components only within modules that export React Components exclusively.
1222
+ */
1223
+ useComponentExportOnlyModules?: RuleConfiguration_for_UseComponentExportOnlyModulesOptions;
1216
1224
  /**
1217
1225
  * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
1218
1226
  */
@@ -1871,6 +1879,9 @@ type RuleConfiguration_for_RestrictedImportsOptions =
1871
1879
  type RuleFixConfiguration_for_NoRestrictedTypesOptions =
1872
1880
  | RulePlainConfiguration
1873
1881
  | RuleWithFixOptions_for_NoRestrictedTypesOptions;
1882
+ type RuleConfiguration_for_UseComponentExportOnlyModulesOptions =
1883
+ | RulePlainConfiguration
1884
+ | RuleWithOptions_for_UseComponentExportOnlyModulesOptions;
1874
1885
  type RuleConfiguration_for_ConsistentMemberAccessibilityOptions =
1875
1886
  | RulePlainConfiguration
1876
1887
  | RuleWithOptions_for_ConsistentMemberAccessibilityOptions;
@@ -2029,6 +2040,16 @@ interface RuleWithFixOptions_for_NoRestrictedTypesOptions {
2029
2040
  */
2030
2041
  options: NoRestrictedTypesOptions;
2031
2042
  }
2043
+ interface RuleWithOptions_for_UseComponentExportOnlyModulesOptions {
2044
+ /**
2045
+ * The severity of the emitted diagnostics by the rule
2046
+ */
2047
+ level: RulePlainConfiguration;
2048
+ /**
2049
+ * Rule's options
2050
+ */
2051
+ options: UseComponentExportOnlyModulesOptions;
2052
+ }
2032
2053
  interface RuleWithOptions_for_ConsistentMemberAccessibilityOptions {
2033
2054
  /**
2034
2055
  * The severity of the emitted diagnostics by the rule
@@ -2192,6 +2213,16 @@ interface RestrictedImportsOptions {
2192
2213
  interface NoRestrictedTypesOptions {
2193
2214
  types: {};
2194
2215
  }
2216
+ interface UseComponentExportOnlyModulesOptions {
2217
+ /**
2218
+ * Allows the export of constants. This option is for environments that support it, such as [Vite](https://vitejs.dev/)
2219
+ */
2220
+ allowConstantExport?: boolean;
2221
+ /**
2222
+ * A list of names that can be additionally exported from the module This option is for exports that do not hinder [React Fast Refresh](https://github.com/facebook/react/tree/main/packages/react-refresh), such as [`meta` in Remix](https://remix.run/docs/en/main/route/meta)
2223
+ */
2224
+ allowExportNames: string[];
2225
+ }
2195
2226
  interface ConsistentMemberAccessibilityOptions {
2196
2227
  accessibility: Accessibility;
2197
2228
  }
@@ -2563,9 +2594,9 @@ type Category =
2563
2594
  | "lint/complexity/useSimpleNumberKeys"
2564
2595
  | "lint/complexity/useSimplifiedLogicExpression"
2565
2596
  | "lint/correctness/noChildrenProp"
2597
+ | "lint/correctness/noConstAssign"
2566
2598
  | "lint/correctness/noConstantCondition"
2567
2599
  | "lint/correctness/noConstantMathMinMaxClamp"
2568
- | "lint/correctness/noConstAssign"
2569
2600
  | "lint/correctness/noConstructorReturn"
2570
2601
  | "lint/correctness/noEmptyCharacterClassInRegex"
2571
2602
  | "lint/correctness/noEmptyPattern"
@@ -2622,8 +2653,8 @@ type Category =
2622
2653
  | "lint/nursery/noDoneCallback"
2623
2654
  | "lint/nursery/noDuplicateAtImportRules"
2624
2655
  | "lint/nursery/noDuplicateCustomProperties"
2625
- | "lint/nursery/noDuplicatedFields"
2626
2656
  | "lint/nursery/noDuplicateElseIf"
2657
+ | "lint/nursery/noDuplicatedFields"
2627
2658
  | "lint/nursery/noDynamicNamespaceImportAccess"
2628
2659
  | "lint/nursery/noEnum"
2629
2660
  | "lint/nursery/noExportedImports"
@@ -2635,6 +2666,7 @@ type Category =
2635
2666
  | "lint/nursery/noMissingGenericFamilyKeyword"
2636
2667
  | "lint/nursery/noProcessEnv"
2637
2668
  | "lint/nursery/noReactSpecificProps"
2669
+ | "lint/nursery/noMissingVarFunction"
2638
2670
  | "lint/nursery/noRestrictedImports"
2639
2671
  | "lint/nursery/noRestrictedTypes"
2640
2672
  | "lint/nursery/noSecrets"
@@ -2657,6 +2689,7 @@ type Category =
2657
2689
  | "lint/nursery/useAdjacentOverloadSignatures"
2658
2690
  | "lint/nursery/useAriaPropsSupportedByRole"
2659
2691
  | "lint/nursery/useBiomeSuppressionComment"
2692
+ | "lint/nursery/useComponentExportOnlyModules"
2660
2693
  | "lint/nursery/useConsistentCurlyBraces"
2661
2694
  | "lint/nursery/useConsistentMemberAccessibility"
2662
2695
  | "lint/nursery/useDeprecatedReason"
@@ -2763,8 +2796,8 @@ type Category =
2763
2796
  | "lint/suspicious/noGlobalIsFinite"
2764
2797
  | "lint/suspicious/noGlobalIsNan"
2765
2798
  | "lint/suspicious/noImplicitAnyLet"
2766
- | "lint/suspicious/noImportantInKeyframe"
2767
2799
  | "lint/suspicious/noImportAssign"
2800
+ | "lint/suspicious/noImportantInKeyframe"
2768
2801
  | "lint/suspicious/noLabelVar"
2769
2802
  | "lint/suspicious/noMisleadingCharacterClass"
2770
2803
  | "lint/suspicious/noMisleadingInstantiator"
package/biome_wasm.js CHANGED
@@ -778,6 +778,13 @@ function __wbg_get_imports() {
778
778
  const ret = getObject(arg0) == getObject(arg1);
779
779
  return ret;
780
780
  };
781
+ imports.wbg.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
782
+ const ret = String(getObject(arg1));
783
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
784
+ const len1 = WASM_VECTOR_LEN;
785
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
786
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
787
+ };
781
788
  imports.wbg.__wbindgen_number_new = function(arg0) {
782
789
  const ret = arg0;
783
790
  return addHeapObject(ret);
@@ -793,13 +800,6 @@ function __wbg_get_imports() {
793
800
  imports.wbg.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
794
801
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
795
802
  };
796
- imports.wbg.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
797
- const ret = String(getObject(arg1));
798
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
799
- const len1 = WASM_VECTOR_LEN;
800
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
801
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
802
- };
803
803
  imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
804
804
  const ret = new Error();
805
805
  return addHeapObject(ret);
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.1",
8
+ "version": "1.9.2",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",