@biomejs/wasm-web 2.5.12 → 2.5.13

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
@@ -2373,6 +2373,11 @@ interface Nursery {
2373
2373
  See https://biomejs.dev/linter/rules/no-restricted-dependencies
2374
2374
  */
2375
2375
  noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
2376
+ /**
2377
+ * Disallow the use of Svelte's {@html} tag.
2378
+ See https://biomejs.dev/linter/rules/no-svelte-at-html-tags
2379
+ */
2380
+ noSvelteAtHtmlTags?: NoSvelteAtHtmlTagsConfiguration;
2376
2381
  /**
2377
2382
  * Disallow legacy Svelte {@const} tags.
2378
2383
  See https://biomejs.dev/linter/rules/no-svelte-legacy-const
@@ -2418,6 +2423,11 @@ interface Nursery {
2418
2423
  See https://biomejs.dev/linter/rules/no-unnecessary-template-expression
2419
2424
  */
2420
2425
  noUnnecessaryTemplateExpression?: NoUnnecessaryTemplateExpressionConfiguration;
2426
+ /**
2427
+ * Disallow an unsafe combination of the sandbox attribute.
2428
+ See https://biomejs.dev/linter/rules/no-unsafe-iframe-sandbox
2429
+ */
2430
+ noUnsafeIframeSandbox?: NoUnsafeIframeSandboxConfiguration;
2421
2431
  /**
2422
2432
  * Disallow + operations with operands that are known to be unsafe.
2423
2433
  See https://biomejs.dev/linter/rules/no-unsafe-plus-operands
@@ -2463,6 +2473,11 @@ interface Nursery {
2463
2473
  See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
2464
2474
  */
2465
2475
  noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
2476
+ /**
2477
+ * Disallow the bitwise XOR operator where exponentiation was likely intended.
2478
+ See https://biomejs.dev/linter/rules/no-xor-as-exponentiation
2479
+ */
2480
+ noXorAsExponentiation?: NoXorAsExponentiationConfiguration;
2466
2481
  /**
2467
2482
  * Enables a particular rule preset
2468
2483
  */
@@ -2491,6 +2506,11 @@ interface Nursery {
2491
2506
  See https://biomejs.dev/linter/rules/use-baseline
2492
2507
  */
2493
2508
  useBaseline?: UseBaselineConfiguration;
2509
+ /**
2510
+ * Prefer modern DOM traversal APIs over positional indexes and chained walks.
2511
+ See https://biomejs.dev/linter/rules/use-better-dom-traversing
2512
+ */
2513
+ useBetterDomTraversing?: UseBetterDomTraversingConfiguration;
2494
2514
  /**
2495
2515
  * Enforce consistent use of it or test for test functions.
2496
2516
  See https://biomejs.dev/linter/rules/use-consistent-test-it
@@ -2556,6 +2576,11 @@ interface Nursery {
2556
2576
  See https://biomejs.dev/linter/rules/use-includes
2557
2577
  */
2558
2578
  useIncludes?: UseIncludesConfiguration;
2579
+ /**
2580
+ * Enforce style rules to be defined within a cascade layer.
2581
+ See https://biomejs.dev/linter/rules/use-layered-styles
2582
+ */
2583
+ useLayeredStyles?: UseLayeredStylesConfiguration;
2559
2584
  /**
2560
2585
  * Prefer Math.min() and Math.max() over ternaries for simple comparisons.
2561
2586
  See https://biomejs.dev/linter/rules/use-math-min-max
@@ -2681,6 +2706,11 @@ interface Nursery {
2681
2706
  See https://biomejs.dev/linter/rules/use-vars-on-top
2682
2707
  */
2683
2708
  useVarsOnTop?: UseVarsOnTopConfiguration;
2709
+ /**
2710
+ * Enforce importing Vue's public entry point instead of internal Vue packages.
2711
+ See https://biomejs.dev/linter/rules/use-vue-base-import
2712
+ */
2713
+ useVueBaseImport?: UseVueBaseImportConfiguration;
2684
2714
  /**
2685
2715
  * Enforce consistent defineProps declaration style.
2686
2716
  See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
@@ -4656,6 +4686,9 @@ type NoReactStringRefsConfiguration =
4656
4686
  type NoRestrictedDependenciesConfiguration =
4657
4687
  | RulePlainConfiguration
4658
4688
  | RuleWithNoRestrictedDependenciesOptions;
4689
+ type NoSvelteAtHtmlTagsConfiguration =
4690
+ | RulePlainConfiguration
4691
+ | RuleWithNoSvelteAtHtmlTagsOptions;
4659
4692
  type NoSvelteLegacyConstConfiguration =
4660
4693
  | RulePlainConfiguration
4661
4694
  | RuleWithNoSvelteLegacyConstOptions;
@@ -4683,6 +4716,9 @@ type NoUnmodifiedLoopConditionConfiguration =
4683
4716
  type NoUnnecessaryTemplateExpressionConfiguration =
4684
4717
  | RulePlainConfiguration
4685
4718
  | RuleWithNoUnnecessaryTemplateExpressionOptions;
4719
+ type NoUnsafeIframeSandboxConfiguration =
4720
+ | RulePlainConfiguration
4721
+ | RuleWithNoUnsafeIframeSandboxOptions;
4686
4722
  type NoUnsafePlusOperandsConfiguration =
4687
4723
  | RulePlainConfiguration
4688
4724
  | RuleWithNoUnsafePlusOperandsOptions;
@@ -4710,6 +4746,9 @@ type NoVueRefAsOperandConfiguration =
4710
4746
  type NoVueVOnNumberValuesConfiguration =
4711
4747
  | RulePlainConfiguration
4712
4748
  | RuleWithNoVueVOnNumberValuesOptions;
4749
+ type NoXorAsExponentiationConfiguration =
4750
+ | RulePlainConfiguration
4751
+ | RuleWithNoXorAsExponentiationOptions;
4713
4752
  type UseArraySomeConfiguration =
4714
4753
  | RulePlainConfiguration
4715
4754
  | RuleWithUseArraySomeOptions;
@@ -4722,6 +4761,9 @@ type UseAwaitThenableConfiguration =
4722
4761
  type UseBaselineConfiguration =
4723
4762
  | RulePlainConfiguration
4724
4763
  | RuleWithUseBaselineOptions;
4764
+ type UseBetterDomTraversingConfiguration =
4765
+ | RulePlainConfiguration
4766
+ | RuleWithUseBetterDomTraversingOptions;
4725
4767
  type UseConsistentTestItConfiguration =
4726
4768
  | RulePlainConfiguration
4727
4769
  | RuleWithUseConsistentTestItOptions;
@@ -4759,6 +4801,9 @@ type UseImportsFirstConfiguration =
4759
4801
  type UseIncludesConfiguration =
4760
4802
  | RulePlainConfiguration
4761
4803
  | RuleWithUseIncludesOptions;
4804
+ type UseLayeredStylesConfiguration =
4805
+ | RulePlainConfiguration
4806
+ | RuleWithUseLayeredStylesOptions;
4762
4807
  type UseMathMinMaxConfiguration =
4763
4808
  | RulePlainConfiguration
4764
4809
  | RuleWithUseMathMinMaxOptions;
@@ -4834,6 +4879,9 @@ type UseUnicodeRegexConfiguration =
4834
4879
  type UseVarsOnTopConfiguration =
4835
4880
  | RulePlainConfiguration
4836
4881
  | RuleWithUseVarsOnTopOptions;
4882
+ type UseVueBaseImportConfiguration =
4883
+ | RulePlainConfiguration
4884
+ | RuleWithUseVueBaseImportOptions;
4837
4885
  type UseVueConsistentDefinePropsDeclarationConfiguration =
4838
4886
  | RulePlainConfiguration
4839
4887
  | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
@@ -6582,6 +6630,10 @@ interface RuleWithNoRestrictedDependenciesOptions {
6582
6630
  level: RulePlainConfiguration;
6583
6631
  options?: NoRestrictedDependenciesOptions;
6584
6632
  }
6633
+ interface RuleWithNoSvelteAtHtmlTagsOptions {
6634
+ level: RulePlainConfiguration;
6635
+ options?: NoSvelteAtHtmlTagsOptions;
6636
+ }
6585
6637
  interface RuleWithNoSvelteLegacyConstOptions {
6586
6638
  level: RulePlainConfiguration;
6587
6639
  options?: NoSvelteLegacyConstOptions;
@@ -6620,6 +6672,10 @@ interface RuleWithNoUnnecessaryTemplateExpressionOptions {
6620
6672
  level: RulePlainConfiguration;
6621
6673
  options?: NoUnnecessaryTemplateExpressionOptions;
6622
6674
  }
6675
+ interface RuleWithNoUnsafeIframeSandboxOptions {
6676
+ level: RulePlainConfiguration;
6677
+ options?: NoUnsafeIframeSandboxOptions;
6678
+ }
6623
6679
  interface RuleWithNoUnsafePlusOperandsOptions {
6624
6680
  level: RulePlainConfiguration;
6625
6681
  options?: NoUnsafePlusOperandsOptions;
@@ -6657,6 +6713,11 @@ interface RuleWithNoVueVOnNumberValuesOptions {
6657
6713
  level: RulePlainConfiguration;
6658
6714
  options?: NoVueVOnNumberValuesOptions;
6659
6715
  }
6716
+ interface RuleWithNoXorAsExponentiationOptions {
6717
+ fix?: FixKind;
6718
+ level: RulePlainConfiguration;
6719
+ options?: NoXorAsExponentiationOptions;
6720
+ }
6660
6721
  interface RuleWithUseArraySomeOptions {
6661
6722
  fix?: FixKind;
6662
6723
  level: RulePlainConfiguration;
@@ -6674,6 +6735,11 @@ interface RuleWithUseBaselineOptions {
6674
6735
  level: RulePlainConfiguration;
6675
6736
  options?: UseBaselineOptions;
6676
6737
  }
6738
+ interface RuleWithUseBetterDomTraversingOptions {
6739
+ fix?: FixKind;
6740
+ level: RulePlainConfiguration;
6741
+ options?: UseBetterDomTraversingOptions;
6742
+ }
6677
6743
  interface RuleWithUseConsistentTestItOptions {
6678
6744
  fix?: FixKind;
6679
6745
  level: RulePlainConfiguration;
@@ -6733,6 +6799,10 @@ interface RuleWithUseIncludesOptions {
6733
6799
  level: RulePlainConfiguration;
6734
6800
  options?: UseIncludesOptions;
6735
6801
  }
6802
+ interface RuleWithUseLayeredStylesOptions {
6803
+ level: RulePlainConfiguration;
6804
+ options?: UseLayeredStylesOptions;
6805
+ }
6736
6806
  interface RuleWithUseMathMinMaxOptions {
6737
6807
  fix?: FixKind;
6738
6808
  level: RulePlainConfiguration;
@@ -6845,6 +6915,11 @@ interface RuleWithUseVarsOnTopOptions {
6845
6915
  level: RulePlainConfiguration;
6846
6916
  options?: UseVarsOnTopOptions;
6847
6917
  }
6918
+ interface RuleWithUseVueBaseImportOptions {
6919
+ fix?: FixKind;
6920
+ level: RulePlainConfiguration;
6921
+ options?: UseVueBaseImportOptions;
6922
+ }
6848
6923
  interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
6849
6924
  level: RulePlainConfiguration;
6850
6925
  options?: UseVueConsistentDefinePropsDeclarationOptions;
@@ -8371,6 +8446,7 @@ interface NoReactNativeRawTextOptions {
8371
8446
  }
8372
8447
  type NoReactStringRefsOptions = {};
8373
8448
  type NoRestrictedDependenciesOptions = {};
8449
+ type NoSvelteAtHtmlTagsOptions = {};
8374
8450
  type NoSvelteLegacyConstOptions = {};
8375
8451
  interface NoSvelteUnnecessaryStateWrapOptions {
8376
8452
  /**
@@ -8398,6 +8474,7 @@ type NoUndeclaredClassesOptions = {};
8398
8474
  type NoUndeclaredCustomPropertiesOptions = {};
8399
8475
  type NoUnmodifiedLoopConditionOptions = {};
8400
8476
  type NoUnnecessaryTemplateExpressionOptions = {};
8477
+ type NoUnsafeIframeSandboxOptions = {};
8401
8478
  type NoUnsafePlusOperandsOptions = {};
8402
8479
  type NoUnsafeTypeAssertionOptions = {};
8403
8480
  interface NoUntrustedLicensesOptions {
@@ -8440,6 +8517,7 @@ type NoVueDeprecatedScopedSlotsOptions = {};
8440
8517
  type NoVueImportCompilerMacrosOptions = {};
8441
8518
  type NoVueRefAsOperandOptions = {};
8442
8519
  type NoVueVOnNumberValuesOptions = {};
8520
+ type NoXorAsExponentiationOptions = {};
8443
8521
  type UseArraySomeOptions = {};
8444
8522
  type UseAstroClientOnlyDirectiveValueOptions = {};
8445
8523
  type UseAwaitThenableOptions = {};
@@ -8473,6 +8551,7 @@ interface UseBaselineOptions {
8473
8551
  */
8474
8552
  available?: AvailabilityTarget;
8475
8553
  }
8554
+ type UseBetterDomTraversingOptions = {};
8476
8555
  interface UseConsistentTestItOptions {
8477
8556
  /**
8478
8557
  * The function to use for top-level tests (outside describe blocks).
@@ -8518,6 +8597,12 @@ type UseFlatMathMinMaxOptions = {};
8518
8597
  type UseIframeSandboxOptions = {};
8519
8598
  type UseImportsFirstOptions = {};
8520
8599
  type UseIncludesOptions = {};
8600
+ interface UseLayeredStylesOptions {
8601
+ /**
8602
+ * Require `@import` rules to have a cascade layer. Defaults to `true`.
8603
+ */
8604
+ requireImportLayers?: boolean;
8605
+ }
8521
8606
  type UseMathMinMaxOptions = {};
8522
8607
  type UseModernMathApisOptions = {};
8523
8608
  type UseNamedCaptureGroupOptions = {};
@@ -8619,6 +8704,7 @@ interface UseThisInClassMethodsOptions {
8619
8704
  }
8620
8705
  type UseUnicodeRegexOptions = {};
8621
8706
  type UseVarsOnTopOptions = {};
8707
+ type UseVueBaseImportOptions = {};
8622
8708
  interface UseVueConsistentDefinePropsDeclarationOptions {
8623
8709
  style?: DeclarationStyle;
8624
8710
  }
@@ -9757,6 +9843,7 @@ type Category =
9757
9843
  | "lint/nursery/noReactNativeRawText"
9758
9844
  | "lint/nursery/noReactStringRefs"
9759
9845
  | "lint/nursery/noRestrictedDependencies"
9846
+ | "lint/nursery/noSvelteAtHtmlTags"
9760
9847
  | "lint/nursery/noSvelteLegacyConst"
9761
9848
  | "lint/nursery/noSvelteUnnecessaryStateWrap"
9762
9849
  | "lint/nursery/noTailwindArbitraryValue"
@@ -9766,6 +9853,7 @@ type Category =
9766
9853
  | "lint/nursery/noUndeclaredCustomProperties"
9767
9854
  | "lint/nursery/noUnmodifiedLoopCondition"
9768
9855
  | "lint/nursery/noUnnecessaryTemplateExpression"
9856
+ | "lint/nursery/noUnsafeIframeSandbox"
9769
9857
  | "lint/nursery/noUnsafePlusOperands"
9770
9858
  | "lint/nursery/noUnsafeTypeAssertion"
9771
9859
  | "lint/nursery/noUntrustedLicenses"
@@ -9777,10 +9865,12 @@ type Category =
9777
9865
  | "lint/nursery/noVueImportCompilerMacros"
9778
9866
  | "lint/nursery/noVueRefAsOperand"
9779
9867
  | "lint/nursery/noVueVOnNumberValues"
9868
+ | "lint/nursery/noXorAsExponentiation"
9780
9869
  | "lint/nursery/useArraySome"
9781
9870
  | "lint/nursery/useAstroClientOnlyDirectiveValue"
9782
9871
  | "lint/nursery/useAwaitThenable"
9783
9872
  | "lint/nursery/useBaseline"
9873
+ | "lint/nursery/useBetterDomTraversing"
9784
9874
  | "lint/nursery/useBiomeSuppressionComment"
9785
9875
  | "lint/nursery/useConsistentHeadingLevel"
9786
9876
  | "lint/nursery/useConsistentObjectDefinition"
@@ -9802,6 +9892,7 @@ type Category =
9802
9892
  | "lint/nursery/useImportsFirst"
9803
9893
  | "lint/nursery/useIncludes"
9804
9894
  | "lint/nursery/useJsxCurlyBraceConvention"
9895
+ | "lint/nursery/useLayeredStyles"
9805
9896
  | "lint/nursery/useMathMinMax"
9806
9897
  | "lint/nursery/useMaxParams"
9807
9898
  | "lint/nursery/useModernMathApis"
@@ -9837,6 +9928,7 @@ type Category =
9837
9928
  | "lint/nursery/useUniqueInputFieldNames"
9838
9929
  | "lint/nursery/useUniqueVariableNames"
9839
9930
  | "lint/nursery/useVarsOnTop"
9931
+ | "lint/nursery/useVueBaseImport"
9840
9932
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
9841
9933
  | "lint/nursery/useVueNextTickPromise"
9842
9934
  | "lint/nursery/useVueValidVFor"
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.12",
8
+ "version": "2.5.13",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",