@biomejs/wasm-web 2.5.7 → 2.5.8

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
@@ -2237,6 +2237,11 @@ interface Nursery {
2237
2237
  See https://biomejs.dev/linter/rules/no-inline-styles
2238
2238
  */
2239
2239
  noInlineStyles?: NoInlineStylesConfiguration;
2240
+ /**
2241
+ * Checks that the initial-value of an @property rule follows the value format declared by its syntax.
2242
+ See https://biomejs.dev/linter/rules/no-invalid-property-init-value
2243
+ */
2244
+ noInvalidPropertyInitValue?: NoInvalidPropertyInitValueConfiguration;
2240
2245
  /**
2241
2246
  * Disallow specific object properties.
2242
2247
  See https://biomejs.dev/linter/rules/no-js-restricted-properties
@@ -2352,6 +2357,11 @@ interface Nursery {
2352
2357
  See https://biomejs.dev/linter/rules/no-restricted-dependencies
2353
2358
  */
2354
2359
  noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
2360
+ /**
2361
+ * Disallow legacy Svelte {@const} tags.
2362
+ See https://biomejs.dev/linter/rules/no-svelte-legacy-const
2363
+ */
2364
+ noSvelteLegacyConst?: NoSvelteLegacyConstConfiguration;
2355
2365
  /**
2356
2366
  * Disallow unnecessary $state wrapping of reactive classes.
2357
2367
  See https://biomejs.dev/linter/rules/no-svelte-unnecessary-state-wrap
@@ -2520,6 +2530,11 @@ interface Nursery {
2520
2530
  See https://biomejs.dev/linter/rules/use-react-async-server-function
2521
2531
  */
2522
2532
  useReactAsyncServerFunction?: UseReactAsyncServerFunctionConfiguration;
2533
+ /**
2534
+ * Validate files with React Compiler.
2535
+ See https://biomejs.dev/linter/rules/use-react-compiler
2536
+ */
2537
+ useReactCompiler?: UseReactCompilerConfiguration;
2523
2538
  /**
2524
2539
  * Enforce a specific function type for React function components.
2525
2540
  See https://biomejs.dev/linter/rules/use-react-function-component-definition
@@ -4484,6 +4499,9 @@ type NoImpliedEvalConfiguration =
4484
4499
  type NoInlineStylesConfiguration =
4485
4500
  | RulePlainConfiguration
4486
4501
  | RuleWithNoInlineStylesOptions;
4502
+ type NoInvalidPropertyInitValueConfiguration =
4503
+ | RulePlainConfiguration
4504
+ | RuleWithNoInvalidPropertyInitValueOptions;
4487
4505
  type NoJsRestrictedPropertiesConfiguration =
4488
4506
  | RulePlainConfiguration
4489
4507
  | RuleWithNoJsRestrictedPropertiesOptions;
@@ -4553,6 +4571,9 @@ type NoReactStringRefsConfiguration =
4553
4571
  type NoRestrictedDependenciesConfiguration =
4554
4572
  | RulePlainConfiguration
4555
4573
  | RuleWithNoRestrictedDependenciesOptions;
4574
+ type NoSvelteLegacyConstConfiguration =
4575
+ | RulePlainConfiguration
4576
+ | RuleWithNoSvelteLegacyConstOptions;
4556
4577
  type NoSvelteUnnecessaryStateWrapConfiguration =
4557
4578
  | RulePlainConfiguration
4558
4579
  | RuleWithNoSvelteUnnecessaryStateWrapOptions;
@@ -4647,6 +4668,9 @@ type UseQwikLoaderLocationConfiguration =
4647
4668
  type UseReactAsyncServerFunctionConfiguration =
4648
4669
  | RulePlainConfiguration
4649
4670
  | RuleWithUseReactAsyncServerFunctionOptions;
4671
+ type UseReactCompilerConfiguration =
4672
+ | RulePlainConfiguration
4673
+ | RuleWithUseReactCompilerOptions;
4650
4674
  type UseReactFunctionComponentDefinitionConfiguration =
4651
4675
  | RulePlainConfiguration
4652
4676
  | RuleWithUseReactFunctionComponentDefinitionOptions;
@@ -6321,6 +6345,10 @@ interface RuleWithNoInlineStylesOptions {
6321
6345
  level: RulePlainConfiguration;
6322
6346
  options?: NoInlineStylesOptions;
6323
6347
  }
6348
+ interface RuleWithNoInvalidPropertyInitValueOptions {
6349
+ level: RulePlainConfiguration;
6350
+ options?: NoInvalidPropertyInitValueOptions;
6351
+ }
6324
6352
  interface RuleWithNoJsRestrictedPropertiesOptions {
6325
6353
  level: RulePlainConfiguration;
6326
6354
  options?: NoJsRestrictedPropertiesOptions;
@@ -6420,6 +6448,10 @@ interface RuleWithNoRestrictedDependenciesOptions {
6420
6448
  level: RulePlainConfiguration;
6421
6449
  options?: NoRestrictedDependenciesOptions;
6422
6450
  }
6451
+ interface RuleWithNoSvelteLegacyConstOptions {
6452
+ level: RulePlainConfiguration;
6453
+ options?: NoSvelteLegacyConstOptions;
6454
+ }
6423
6455
  interface RuleWithNoSvelteUnnecessaryStateWrapOptions {
6424
6456
  fix?: FixKind;
6425
6457
  level: RulePlainConfiguration;
@@ -6560,6 +6592,10 @@ interface RuleWithUseReactAsyncServerFunctionOptions {
6560
6592
  level: RulePlainConfiguration;
6561
6593
  options?: UseReactAsyncServerFunctionOptions;
6562
6594
  }
6595
+ interface RuleWithUseReactCompilerOptions {
6596
+ level: RulePlainConfiguration;
6597
+ options?: UseReactCompilerOptions;
6598
+ }
6563
6599
  interface RuleWithUseReactFunctionComponentDefinitionOptions {
6564
6600
  fix?: FixKind;
6565
6601
  level: RulePlainConfiguration;
@@ -8103,6 +8139,7 @@ type NoFloatingPromisesOptions = {};
8103
8139
  type NoIdenticalTestTitleOptions = {};
8104
8140
  type NoImpliedEvalOptions = {};
8105
8141
  type NoInlineStylesOptions = {};
8142
+ type NoInvalidPropertyInitValueOptions = {};
8106
8143
  interface NoJsRestrictedPropertiesOptions {
8107
8144
  /**
8108
8145
  * Restriction entries for object/property access.
@@ -8145,6 +8182,7 @@ interface NoReactNativeRawTextOptions {
8145
8182
  }
8146
8183
  type NoReactStringRefsOptions = {};
8147
8184
  type NoRestrictedDependenciesOptions = {};
8185
+ type NoSvelteLegacyConstOptions = {};
8148
8186
  interface NoSvelteUnnecessaryStateWrapOptions {
8149
8187
  /**
8150
8188
  * Additional class names to treat as already reactive (beyond the built-in `svelte/reactivity` classes).
@@ -8314,6 +8352,12 @@ interface UseNullishCoalescingOptions {
8314
8352
  type UsePlaywrightValidDescribeCallbackOptions = {};
8315
8353
  type UseQwikLoaderLocationOptions = {};
8316
8354
  type UseReactAsyncServerFunctionOptions = {};
8355
+ interface UseReactCompilerOptions {
8356
+ /**
8357
+ * Which functions React Compiler analyzes. Defaults to `infer`.
8358
+ */
8359
+ compilationMode?: CompilationMode;
8360
+ }
8317
8361
  interface UseReactFunctionComponentDefinitionOptions {
8318
8362
  /**
8319
8363
  * The function style to enforce for named React components.
@@ -9056,6 +9100,7 @@ type TestFunctionKind = "it" | "test";
9056
9100
  type IgnorePrimitives =
9057
9101
  | boolean
9058
9102
  | { bigint?: boolean; boolean?: boolean; number?: boolean; string?: boolean };
9103
+ type CompilationMode = "infer" | "annotation" | "all";
9059
9104
  type ComponentDefinitionStyle =
9060
9105
  | "functionDeclaration"
9061
9106
  | "functionExpression"
@@ -9483,6 +9528,7 @@ type Category =
9483
9528
  | "lint/nursery/noImplicitCoercion"
9484
9529
  | "lint/nursery/noImpliedEval"
9485
9530
  | "lint/nursery/noInlineStyles"
9531
+ | "lint/nursery/noInvalidPropertyInitValue"
9486
9532
  | "lint/nursery/noJsRestrictedProperties"
9487
9533
  | "lint/nursery/noJsxLeakedDollar"
9488
9534
  | "lint/nursery/noJsxNamespace"
@@ -9507,6 +9553,7 @@ type Category =
9507
9553
  | "lint/nursery/noReactNativeRawText"
9508
9554
  | "lint/nursery/noReactStringRefs"
9509
9555
  | "lint/nursery/noRestrictedDependencies"
9556
+ | "lint/nursery/noSvelteLegacyConst"
9510
9557
  | "lint/nursery/noSvelteUnnecessaryStateWrap"
9511
9558
  | "lint/nursery/noTailwindArbitraryValue"
9512
9559
  | "lint/nursery/noTopLevelLiterals"
@@ -9525,6 +9572,7 @@ type Category =
9525
9572
  | "lint/nursery/useAwaitThenable"
9526
9573
  | "lint/nursery/useBaseline"
9527
9574
  | "lint/nursery/useBiomeSuppressionComment"
9575
+ | "lint/nursery/useConsistentHeadingLevel"
9528
9576
  | "lint/nursery/useConsistentObjectDefinition"
9529
9577
  | "lint/nursery/useConsistentTestIt"
9530
9578
  | "lint/nursery/useDisposables"
@@ -9551,6 +9599,7 @@ type Category =
9551
9599
  | "lint/nursery/useQwikMethodUsage"
9552
9600
  | "lint/nursery/useQwikValidLexicalScope"
9553
9601
  | "lint/nursery/useReactAsyncServerFunction"
9602
+ | "lint/nursery/useReactCompiler"
9554
9603
  | "lint/nursery/useReactFunctionComponentDefinition"
9555
9604
  | "lint/nursery/useReactNativePlatformComponents"
9556
9605
  | "lint/nursery/useReduceTypeParameter"
@@ -9563,6 +9612,7 @@ type Category =
9563
9612
  | "lint/nursery/useTestHooksInOrder"
9564
9613
  | "lint/nursery/useTestHooksOnTop"
9565
9614
  | "lint/nursery/useThisInClassMethods"
9615
+ | "lint/nursery/useTopLevelHeading"
9566
9616
  | "lint/nursery/useUnicodeRegex"
9567
9617
  | "lint/nursery/useUniqueArgumentNames"
9568
9618
  | "lint/nursery/useUniqueFieldDefinitionNames"
@@ -10128,7 +10178,11 @@ type ModuleKind = "script" | "module";
10128
10178
  type LanguageVariant = "standard" | "standardRestricted" | "jsx";
10129
10179
  type LanguageVersion = "eS2022" | "eSNext";
10130
10180
  type JsonFileVariant = "standard" | "jsonc";
10131
- type CssEmbeddingKind = "None" | "Styled" | { Html: EmbeddingHtmlKind };
10181
+ type CssEmbeddingKind =
10182
+ | "None"
10183
+ | "Styled"
10184
+ | { Html: EmbeddingHtmlKind }
10185
+ | "HtmlStyleAttribute";
10132
10186
  type CssFileLanguage = "css" | "scss";
10133
10187
  type CssVariant = "standard" | "cssModules" | "tailwindCss";
10134
10188
  type GraphqlVariant = "standard";
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.5.7",
8
+ "version": "2.5.8",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",