@biomejs/wasm-web 2.5.8 → 2.5.9

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
@@ -1021,6 +1021,7 @@ type Semicolons = "always" | "asNeeded";
1021
1021
  type JsTrailingCommas = "all" | "es5" | "none";
1022
1022
  type JsonTrailingCommas = "none" | "all";
1023
1023
  type RuleDomain =
1024
+ | "astro"
1024
1025
  | "drizzle"
1025
1026
  | "react"
1026
1027
  | "reactNative"
@@ -2392,6 +2393,11 @@ interface Nursery {
2392
2393
  See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
2393
2394
  */
2394
2395
  noUnsafePlusOperands?: NoUnsafePlusOperandsConfiguration;
2396
+ /**
2397
+ * Disallow TypeScript type assertions other than const assertions.
2398
+ See https://biomejs.dev/linter/rules/no-unsafe-type-assertion
2399
+ */
2400
+ noUnsafeTypeAssertion?: NoUnsafeTypeAssertionConfiguration;
2395
2401
  /**
2396
2402
  * Disallow dependencies with untrusted licenses.
2397
2403
  See https://biomejs.dev/linter/rules/no-untrusted-licenses
@@ -2435,6 +2441,11 @@ interface Nursery {
2435
2441
  See https://biomejs.dev/linter/rules/use-array-some
2436
2442
  */
2437
2443
  useArraySome?: UseArraySomeConfiguration;
2444
+ /**
2445
+ * Require a value for Astro's client:only directive.
2446
+ See https://biomejs.dev/linter/rules/use-astro-client-only-directive-value
2447
+ */
2448
+ useAstroClientOnlyDirectiveValue?: UseAstroClientOnlyDirectiveValueConfiguration;
2438
2449
  /**
2439
2450
  * Enforce that await is only used on Promise values.
2440
2451
  See https://biomejs.dev/linter/rules/use-await-thenable
@@ -2450,6 +2461,11 @@ interface Nursery {
2450
2461
  See https://biomejs.dev/linter/rules/use-consistent-test-it
2451
2462
  */
2452
2463
  useConsistentTestIt?: UseConsistentTestItConfiguration;
2464
+ /**
2465
+ * Enforce that interactive control elements have an accessible label.
2466
+ See https://biomejs.dev/linter/rules/use-control-label
2467
+ */
2468
+ useControlLabel?: UseControlLabelConfiguration;
2453
2469
  /**
2454
2470
  * Detects a disposable object assigned to a variable without using or await using syntax.
2455
2471
  See https://biomejs.dev/linter/rules/use-disposables
@@ -2510,6 +2526,11 @@ interface Nursery {
2510
2526
  See https://biomejs.dev/linter/rules/use-named-capture-group
2511
2527
  */
2512
2528
  useNamedCaptureGroup?: UseNamedCaptureGroupConfiguration;
2529
+ /**
2530
+ * Disallow anonymous cascade layers.
2531
+ See https://biomejs.dev/linter/rules/use-named-layer
2532
+ */
2533
+ useNamedLayer?: UseNamedLayerConfiguration;
2513
2534
  /**
2514
2535
  * Enforce using the nullish coalescing operator (??) instead of logical or (||).
2515
2536
  See https://biomejs.dev/linter/rules/use-nullish-coalescing
@@ -2580,6 +2601,11 @@ interface Nursery {
2580
2601
  See https://biomejs.dev/linter/rules/use-svelte-require-each-key
2581
2602
  */
2582
2603
  useSvelteRequireEachKey?: UseSvelteRequireEachKeyConfiguration;
2604
+ /**
2605
+ * Enforce using fewer Tailwind utilities instead of multiple utilities that are functionally the same.
2606
+ See https://biomejs.dev/linter/rules/use-tailwind-shorthand-classes
2607
+ */
2608
+ useTailwindShorthandClasses?: UseTailwindShorthandClassesConfiguration;
2583
2609
  /**
2584
2610
  * Enforce that test lifecycle hooks are declared in the order they execute.
2585
2611
  See https://biomejs.dev/linter/rules/use-test-hooks-in-order
@@ -4592,6 +4618,9 @@ type NoUnnecessaryTemplateExpressionConfiguration =
4592
4618
  type NoUnsafePlusOperandsConfiguration =
4593
4619
  | RulePlainConfiguration
4594
4620
  | RuleWithNoUnsafePlusOperandsOptions;
4621
+ type NoUnsafeTypeAssertionConfiguration =
4622
+ | RulePlainConfiguration
4623
+ | RuleWithNoUnsafeTypeAssertionOptions;
4595
4624
  type NoUntrustedLicensesConfiguration =
4596
4625
  | RulePlainConfiguration
4597
4626
  | RuleWithNoUntrustedLicensesOptions;
@@ -4613,6 +4642,9 @@ type NoVueVOnNumberValuesConfiguration =
4613
4642
  type UseArraySomeConfiguration =
4614
4643
  | RulePlainConfiguration
4615
4644
  | RuleWithUseArraySomeOptions;
4645
+ type UseAstroClientOnlyDirectiveValueConfiguration =
4646
+ | RulePlainConfiguration
4647
+ | RuleWithUseAstroClientOnlyDirectiveValueOptions;
4616
4648
  type UseAwaitThenableConfiguration =
4617
4649
  | RulePlainConfiguration
4618
4650
  | RuleWithUseAwaitThenableOptions;
@@ -4622,6 +4654,9 @@ type UseBaselineConfiguration =
4622
4654
  type UseConsistentTestItConfiguration =
4623
4655
  | RulePlainConfiguration
4624
4656
  | RuleWithUseConsistentTestItOptions;
4657
+ type UseControlLabelConfiguration =
4658
+ | RulePlainConfiguration
4659
+ | RuleWithUseControlLabelOptions;
4625
4660
  type UseDisposablesConfiguration =
4626
4661
  | RulePlainConfiguration
4627
4662
  | RuleWithUseDisposablesOptions;
@@ -4656,6 +4691,9 @@ type UseMathMinMaxConfiguration =
4656
4691
  type UseNamedCaptureGroupConfiguration =
4657
4692
  | RulePlainConfiguration
4658
4693
  | RuleWithUseNamedCaptureGroupOptions;
4694
+ type UseNamedLayerConfiguration =
4695
+ | RulePlainConfiguration
4696
+ | RuleWithUseNamedLayerOptions;
4659
4697
  type UseNullishCoalescingConfiguration =
4660
4698
  | RulePlainConfiguration
4661
4699
  | RuleWithUseNullishCoalescingOptions;
@@ -4698,6 +4736,9 @@ type UseStringStartsEndsWithConfiguration =
4698
4736
  type UseSvelteRequireEachKeyConfiguration =
4699
4737
  | RulePlainConfiguration
4700
4738
  | RuleWithUseSvelteRequireEachKeyOptions;
4739
+ type UseTailwindShorthandClassesConfiguration =
4740
+ | RulePlainConfiguration
4741
+ | RuleWithUseTailwindShorthandClassesOptions;
4701
4742
  type UseTestHooksInOrderConfiguration =
4702
4743
  | RulePlainConfiguration
4703
4744
  | RuleWithUseTestHooksInOrderOptions;
@@ -6478,6 +6519,10 @@ interface RuleWithNoUnsafePlusOperandsOptions {
6478
6519
  level: RulePlainConfiguration;
6479
6520
  options?: NoUnsafePlusOperandsOptions;
6480
6521
  }
6522
+ interface RuleWithNoUnsafeTypeAssertionOptions {
6523
+ level: RulePlainConfiguration;
6524
+ options?: NoUnsafeTypeAssertionOptions;
6525
+ }
6481
6526
  interface RuleWithNoUntrustedLicensesOptions {
6482
6527
  level: RulePlainConfiguration;
6483
6528
  options?: NoUntrustedLicensesOptions;
@@ -6507,6 +6552,10 @@ interface RuleWithUseArraySomeOptions {
6507
6552
  level: RulePlainConfiguration;
6508
6553
  options?: UseArraySomeOptions;
6509
6554
  }
6555
+ interface RuleWithUseAstroClientOnlyDirectiveValueOptions {
6556
+ level: RulePlainConfiguration;
6557
+ options?: UseAstroClientOnlyDirectiveValueOptions;
6558
+ }
6510
6559
  interface RuleWithUseAwaitThenableOptions {
6511
6560
  level: RulePlainConfiguration;
6512
6561
  options?: UseAwaitThenableOptions;
@@ -6520,6 +6569,10 @@ interface RuleWithUseConsistentTestItOptions {
6520
6569
  level: RulePlainConfiguration;
6521
6570
  options?: UseConsistentTestItOptions;
6522
6571
  }
6572
+ interface RuleWithUseControlLabelOptions {
6573
+ level: RulePlainConfiguration;
6574
+ options?: UseControlLabelOptions;
6575
+ }
6523
6576
  interface RuleWithUseDisposablesOptions {
6524
6577
  fix?: FixKind;
6525
6578
  level: RulePlainConfiguration;
@@ -6574,6 +6627,10 @@ interface RuleWithUseNamedCaptureGroupOptions {
6574
6627
  level: RulePlainConfiguration;
6575
6628
  options?: UseNamedCaptureGroupOptions;
6576
6629
  }
6630
+ interface RuleWithUseNamedLayerOptions {
6631
+ level: RulePlainConfiguration;
6632
+ options?: UseNamedLayerOptions;
6633
+ }
6577
6634
  interface RuleWithUseNullishCoalescingOptions {
6578
6635
  fix?: FixKind;
6579
6636
  level: RulePlainConfiguration;
@@ -6638,6 +6695,11 @@ interface RuleWithUseSvelteRequireEachKeyOptions {
6638
6695
  level: RulePlainConfiguration;
6639
6696
  options?: UseSvelteRequireEachKeyOptions;
6640
6697
  }
6698
+ interface RuleWithUseTailwindShorthandClassesOptions {
6699
+ fix?: FixKind;
6700
+ level: RulePlainConfiguration;
6701
+ options?: UseTailwindShorthandClassesOptions;
6702
+ }
6641
6703
  interface RuleWithUseTestHooksInOrderOptions {
6642
6704
  level: RulePlainConfiguration;
6643
6705
  options?: UseTestHooksInOrderOptions;
@@ -8207,6 +8269,7 @@ type NoTopLevelLiteralsOptions = {};
8207
8269
  type NoUndeclaredClassesOptions = {};
8208
8270
  type NoUnnecessaryTemplateExpressionOptions = {};
8209
8271
  type NoUnsafePlusOperandsOptions = {};
8272
+ type NoUnsafeTypeAssertionOptions = {};
8210
8273
  interface NoUntrustedLicensesOptions {
8211
8274
  /**
8212
8275
  * Additional license identifiers to trust, beyond valid SPDX identifiers.
@@ -8247,6 +8310,7 @@ type NoVueImportCompilerMacrosOptions = {};
8247
8310
  type NoVueRefAsOperandOptions = {};
8248
8311
  type NoVueVOnNumberValuesOptions = {};
8249
8312
  type UseArraySomeOptions = {};
8313
+ type UseAstroClientOnlyDirectiveValueOptions = {};
8250
8314
  type UseAwaitThenableOptions = {};
8251
8315
  interface UseBaselineOptions {
8252
8316
  /**
@@ -8290,6 +8354,7 @@ interface UseConsistentTestItOptions {
8290
8354
  */
8291
8355
  withinDescribe?: TestFunctionKind;
8292
8356
  }
8357
+ type UseControlLabelOptions = {};
8293
8358
  type UseDisposablesOptions = {};
8294
8359
  type UseDomNodeTextContentOptions = {};
8295
8360
  interface UseDomQuerySelectorOptions {
@@ -8323,6 +8388,7 @@ type UseImportsFirstOptions = {};
8323
8388
  type UseIncludesOptions = {};
8324
8389
  type UseMathMinMaxOptions = {};
8325
8390
  type UseNamedCaptureGroupOptions = {};
8391
+ type UseNamedLayerOptions = {};
8326
8392
  interface UseNullishCoalescingOptions {
8327
8393
  /**
8328
8394
  * Whether to ignore `||` and `||=` binary operations used inside a `Boolean()` call (default: `false`).
@@ -8392,6 +8458,7 @@ interface UseSortedClassesOptions {
8392
8458
  }
8393
8459
  type UseStringStartsEndsWithOptions = {};
8394
8460
  type UseSvelteRequireEachKeyOptions = {};
8461
+ type UseTailwindShorthandClassesOptions = {};
8395
8462
  type UseTestHooksInOrderOptions = {};
8396
8463
  type UseTestHooksOnTopOptions = {};
8397
8464
  interface UseThisInClassMethodsOptions {
@@ -9560,6 +9627,7 @@ type Category =
9560
9627
  | "lint/nursery/noUndeclaredClasses"
9561
9628
  | "lint/nursery/noUnnecessaryTemplateExpression"
9562
9629
  | "lint/nursery/noUnsafePlusOperands"
9630
+ | "lint/nursery/noUnsafeTypeAssertion"
9563
9631
  | "lint/nursery/noUntrustedLicenses"
9564
9632
  | "lint/nursery/noUnusedClasses"
9565
9633
  | "lint/nursery/noUnwantedPolyfillio"
@@ -9569,12 +9637,14 @@ type Category =
9569
9637
  | "lint/nursery/noVueRefAsOperand"
9570
9638
  | "lint/nursery/noVueVOnNumberValues"
9571
9639
  | "lint/nursery/useArraySome"
9640
+ | "lint/nursery/useAstroClientOnlyDirectiveValue"
9572
9641
  | "lint/nursery/useAwaitThenable"
9573
9642
  | "lint/nursery/useBaseline"
9574
9643
  | "lint/nursery/useBiomeSuppressionComment"
9575
9644
  | "lint/nursery/useConsistentHeadingLevel"
9576
9645
  | "lint/nursery/useConsistentObjectDefinition"
9577
9646
  | "lint/nursery/useConsistentTestIt"
9647
+ | "lint/nursery/useControlLabel"
9578
9648
  | "lint/nursery/useDisposables"
9579
9649
  | "lint/nursery/useDomNodeTextContent"
9580
9650
  | "lint/nursery/useDomQuerySelector"
@@ -9593,6 +9663,7 @@ type Category =
9593
9663
  | "lint/nursery/useMathMinMax"
9594
9664
  | "lint/nursery/useMaxParams"
9595
9665
  | "lint/nursery/useNamedCaptureGroup"
9666
+ | "lint/nursery/useNamedLayer"
9596
9667
  | "lint/nursery/useNullishCoalescing"
9597
9668
  | "lint/nursery/usePlaywrightValidDescribeCallback"
9598
9669
  | "lint/nursery/useQwikLoaderLocation"
@@ -9609,6 +9680,7 @@ type Category =
9609
9680
  | "lint/nursery/useSortedClasses"
9610
9681
  | "lint/nursery/useStringStartsEndsWith"
9611
9682
  | "lint/nursery/useSvelteRequireEachKey"
9683
+ | "lint/nursery/useTailwindShorthandClasses"
9612
9684
  | "lint/nursery/useTestHooksInOrder"
9613
9685
  | "lint/nursery/useTestHooksOnTop"
9614
9686
  | "lint/nursery/useThisInClassMethods"
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.8",
8
+ "version": "2.5.9",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",