@biomejs/wasm-bundler 2.4.11 → 2.4.12

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
@@ -1891,6 +1891,11 @@ interface Nursery {
1891
1891
  See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
1892
1892
  */
1893
1893
  noBeforeInteractiveScriptOutsideDocument?: NoBeforeInteractiveScriptOutsideDocumentConfiguration;
1894
+ /**
1895
+ * Disallows defining React components or custom hooks inside other functions.
1896
+ See https://biomejs.dev/linter/rules/no-component-hook-factories
1897
+ */
1898
+ noComponentHookFactories?: NoComponentHookFactoriesConfiguration;
1894
1899
  /**
1895
1900
  * Disallow conditional expect() calls inside tests.
1896
1901
  See https://biomejs.dev/linter/rules/no-conditional-expect
@@ -1991,6 +1996,11 @@ interface Nursery {
1991
1996
  See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
1992
1997
  */
1993
1998
  noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
1999
+ /**
2000
+ * Limit the number of classes in a selector.
2001
+ See https://biomejs.dev/linter/rules/no-excessive-selector-classes
2002
+ */
2003
+ noExcessiveSelectorClasses?: NoExcessiveSelectorClassesConfiguration;
1994
2004
  /**
1995
2005
  * Disallow new operators outside of assignments or comparisons.
1996
2006
  See https://biomejs.dev/linter/rules/no-floating-classes
@@ -2011,6 +2021,11 @@ interface Nursery {
2011
2021
  See https://biomejs.dev/linter/rules/no-hex-colors
2012
2022
  */
2013
2023
  noHexColors?: NoHexColorsConfiguration;
2024
+ /**
2025
+ * Disallow identical titles in test suites and test cases.
2026
+ See https://biomejs.dev/linter/rules/no-identical-test-title
2027
+ */
2028
+ noIdenticalTestTitle?: NoIdenticalTestTitleConfiguration;
2014
2029
  /**
2015
2030
  * Disallow the use of eval()-like methods.
2016
2031
  See https://biomejs.dev/linter/rules/no-implied-eval
@@ -2026,6 +2041,11 @@ interface Nursery {
2026
2041
  See https://biomejs.dev/linter/rules/no-inline-styles
2027
2042
  */
2028
2043
  noInlineStyles?: NoInlineStylesConfiguration;
2044
+ /**
2045
+ * Disallow JSX namespace syntax.
2046
+ See https://biomejs.dev/linter/rules/no-jsx-namespace
2047
+ */
2048
+ noJsxNamespace?: NoJsxNamespaceConfiguration;
2029
2049
  /**
2030
2050
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
2031
2051
  See https://biomejs.dev/linter/rules/no-jsx-props-bind
@@ -2305,6 +2325,11 @@ interface Nursery {
2305
2325
  See https://biomejs.dev/linter/rules/use-global-this
2306
2326
  */
2307
2327
  useGlobalThis?: UseGlobalThisConfiguration;
2328
+ /**
2329
+ * Enforce the 'sandbox' attribute for 'iframe' elements.
2330
+ See https://biomejs.dev/linter/rules/use-iframe-sandbox
2331
+ */
2332
+ useIframeSandbox?: UseIframeSandboxConfiguration;
2308
2333
  /**
2309
2334
  * Enforce that all imports appear at the top of the module.
2310
2335
  See https://biomejs.dev/linter/rules/use-imports-first
@@ -2350,6 +2375,16 @@ interface Nursery {
2350
2375
  See https://biomejs.dev/linter/rules/use-qwik-loader-location
2351
2376
  */
2352
2377
  useQwikLoaderLocation?: UseQwikLoaderLocationConfiguration;
2378
+ /**
2379
+ * Require functions with the "use server" directive to be async.
2380
+ See https://biomejs.dev/linter/rules/use-react-async-server-function
2381
+ */
2382
+ useReactAsyncServerFunction?: UseReactAsyncServerFunctionConfiguration;
2383
+ /**
2384
+ * Enforce using a type parameter on Array#reduce instead of casting the initial value.
2385
+ See https://biomejs.dev/linter/rules/use-reduce-type-parameter
2386
+ */
2387
+ useReduceTypeParameter?: UseReduceTypeParameterConfiguration;
2353
2388
  /**
2354
2389
  * Enforce RegExp#exec over String#match if no global flag is provided.
2355
2390
  See https://biomejs.dev/linter/rules/use-regexp-exec
@@ -2375,11 +2410,21 @@ interface Nursery {
2375
2410
  See https://biomejs.dev/linter/rules/use-spread
2376
2411
  */
2377
2412
  useSpread?: UseSpreadConfiguration;
2413
+ /**
2414
+ * Prefer String#startsWith() and String#endsWith() over verbose prefix and suffix checks.
2415
+ See https://biomejs.dev/linter/rules/use-string-starts-ends-with
2416
+ */
2417
+ useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
2378
2418
  /**
2379
2419
  * Enforce the use of the u or v flag for regular expressions.
2380
2420
  See https://biomejs.dev/linter/rules/use-unicode-regex
2381
2421
  */
2382
2422
  useUnicodeRegex?: UseUnicodeRegexConfiguration;
2423
+ /**
2424
+ * Require var declarations to appear at the top of their containing scope.
2425
+ See https://biomejs.dev/linter/rules/use-vars-on-top
2426
+ */
2427
+ useVarsOnTop?: UseVarsOnTopConfiguration;
2383
2428
  /**
2384
2429
  * Enforce consistent defineProps declaration style.
2385
2430
  See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
@@ -3972,6 +4017,9 @@ type NoAmbiguousAnchorTextConfiguration =
3972
4017
  type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
3973
4018
  | RulePlainConfiguration
3974
4019
  | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
4020
+ type NoComponentHookFactoriesConfiguration =
4021
+ | RulePlainConfiguration
4022
+ | RuleWithNoComponentHookFactoriesOptions;
3975
4023
  type NoConditionalExpectConfiguration =
3976
4024
  | RulePlainConfiguration
3977
4025
  | RuleWithNoConditionalExpectOptions;
@@ -4032,6 +4080,9 @@ type NoExcessiveClassesPerFileConfiguration =
4032
4080
  type NoExcessiveLinesPerFileConfiguration =
4033
4081
  | RulePlainConfiguration
4034
4082
  | RuleWithNoExcessiveLinesPerFileOptions;
4083
+ type NoExcessiveSelectorClassesConfiguration =
4084
+ | RulePlainConfiguration
4085
+ | RuleWithNoExcessiveSelectorClassesOptions;
4035
4086
  type NoFloatingClassesConfiguration =
4036
4087
  | RulePlainConfiguration
4037
4088
  | RuleWithNoFloatingClassesOptions;
@@ -4042,6 +4093,9 @@ type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
4042
4093
  type NoHexColorsConfiguration =
4043
4094
  | RulePlainConfiguration
4044
4095
  | RuleWithNoHexColorsOptions;
4096
+ type NoIdenticalTestTitleConfiguration =
4097
+ | RulePlainConfiguration
4098
+ | RuleWithNoIdenticalTestTitleOptions;
4045
4099
  type NoImpliedEvalConfiguration =
4046
4100
  | RulePlainConfiguration
4047
4101
  | RuleWithNoImpliedEvalOptions;
@@ -4051,6 +4105,9 @@ type NoIncrementDecrementConfiguration =
4051
4105
  type NoInlineStylesConfiguration =
4052
4106
  | RulePlainConfiguration
4053
4107
  | RuleWithNoInlineStylesOptions;
4108
+ type NoJsxNamespaceConfiguration =
4109
+ | RulePlainConfiguration
4110
+ | RuleWithNoJsxNamespaceOptions;
4054
4111
  type NoJsxPropsBindConfiguration =
4055
4112
  | RulePlainConfiguration
4056
4113
  | RuleWithNoJsxPropsBindOptions;
@@ -4206,6 +4263,9 @@ type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
4206
4263
  type UseGlobalThisConfiguration =
4207
4264
  | RulePlainConfiguration
4208
4265
  | RuleWithUseGlobalThisOptions;
4266
+ type UseIframeSandboxConfiguration =
4267
+ | RulePlainConfiguration
4268
+ | RuleWithUseIframeSandboxOptions;
4209
4269
  type UseImportsFirstConfiguration =
4210
4270
  | RulePlainConfiguration
4211
4271
  | RuleWithUseImportsFirstOptions;
@@ -4233,6 +4293,12 @@ type UsePlaywrightValidDescribeCallbackConfiguration =
4233
4293
  type UseQwikLoaderLocationConfiguration =
4234
4294
  | RulePlainConfiguration
4235
4295
  | RuleWithUseQwikLoaderLocationOptions;
4296
+ type UseReactAsyncServerFunctionConfiguration =
4297
+ | RulePlainConfiguration
4298
+ | RuleWithUseReactAsyncServerFunctionOptions;
4299
+ type UseReduceTypeParameterConfiguration =
4300
+ | RulePlainConfiguration
4301
+ | RuleWithUseReduceTypeParameterOptions;
4236
4302
  type UseRegexpExecConfiguration =
4237
4303
  | RulePlainConfiguration
4238
4304
  | RuleWithUseRegexpExecOptions;
@@ -4246,9 +4312,15 @@ type UseSortedClassesConfiguration =
4246
4312
  | RulePlainConfiguration
4247
4313
  | RuleWithUseSortedClassesOptions;
4248
4314
  type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
4315
+ type UseStringStartsEndsWithConfiguration =
4316
+ | RulePlainConfiguration
4317
+ | RuleWithUseStringStartsEndsWithOptions;
4249
4318
  type UseUnicodeRegexConfiguration =
4250
4319
  | RulePlainConfiguration
4251
4320
  | RuleWithUseUnicodeRegexOptions;
4321
+ type UseVarsOnTopConfiguration =
4322
+ | RulePlainConfiguration
4323
+ | RuleWithUseVarsOnTopOptions;
4252
4324
  type UseVueConsistentDefinePropsDeclarationConfiguration =
4253
4325
  | RulePlainConfiguration
4254
4326
  | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
@@ -5616,6 +5688,10 @@ interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
5616
5688
  level: RulePlainConfiguration;
5617
5689
  options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
5618
5690
  }
5691
+ interface RuleWithNoComponentHookFactoriesOptions {
5692
+ level: RulePlainConfiguration;
5693
+ options?: NoComponentHookFactoriesOptions;
5694
+ }
5619
5695
  interface RuleWithNoConditionalExpectOptions {
5620
5696
  level: RulePlainConfiguration;
5621
5697
  options?: NoConditionalExpectOptions;
@@ -5698,6 +5774,10 @@ interface RuleWithNoExcessiveLinesPerFileOptions {
5698
5774
  level: RulePlainConfiguration;
5699
5775
  options?: NoExcessiveLinesPerFileOptions;
5700
5776
  }
5777
+ interface RuleWithNoExcessiveSelectorClassesOptions {
5778
+ level: RulePlainConfiguration;
5779
+ options?: NoExcessiveSelectorClassesOptions;
5780
+ }
5701
5781
  interface RuleWithNoFloatingClassesOptions {
5702
5782
  level: RulePlainConfiguration;
5703
5783
  options?: NoFloatingClassesOptions;
@@ -5715,6 +5795,10 @@ interface RuleWithNoHexColorsOptions {
5715
5795
  level: RulePlainConfiguration;
5716
5796
  options?: NoHexColorsOptions;
5717
5797
  }
5798
+ interface RuleWithNoIdenticalTestTitleOptions {
5799
+ level: RulePlainConfiguration;
5800
+ options?: NoIdenticalTestTitleOptions;
5801
+ }
5718
5802
  interface RuleWithNoImpliedEvalOptions {
5719
5803
  level: RulePlainConfiguration;
5720
5804
  options?: NoImpliedEvalOptions;
@@ -5728,6 +5812,10 @@ interface RuleWithNoInlineStylesOptions {
5728
5812
  level: RulePlainConfiguration;
5729
5813
  options?: NoInlineStylesOptions;
5730
5814
  }
5815
+ interface RuleWithNoJsxNamespaceOptions {
5816
+ level: RulePlainConfiguration;
5817
+ options?: NoJsxNamespaceOptions;
5818
+ }
5731
5819
  interface RuleWithNoJsxPropsBindOptions {
5732
5820
  level: RulePlainConfiguration;
5733
5821
  options?: NoJsxPropsBindOptions;
@@ -5961,6 +6049,10 @@ interface RuleWithUseGlobalThisOptions {
5961
6049
  level: RulePlainConfiguration;
5962
6050
  options?: UseGlobalThisOptions;
5963
6051
  }
6052
+ interface RuleWithUseIframeSandboxOptions {
6053
+ level: RulePlainConfiguration;
6054
+ options?: UseIframeSandboxOptions;
6055
+ }
5964
6056
  interface RuleWithUseImportsFirstOptions {
5965
6057
  level: RulePlainConfiguration;
5966
6058
  options?: UseImportsFirstOptions;
@@ -5998,6 +6090,16 @@ interface RuleWithUseQwikLoaderLocationOptions {
5998
6090
  level: RulePlainConfiguration;
5999
6091
  options?: UseQwikLoaderLocationOptions;
6000
6092
  }
6093
+ interface RuleWithUseReactAsyncServerFunctionOptions {
6094
+ fix?: FixKind;
6095
+ level: RulePlainConfiguration;
6096
+ options?: UseReactAsyncServerFunctionOptions;
6097
+ }
6098
+ interface RuleWithUseReduceTypeParameterOptions {
6099
+ fix?: FixKind;
6100
+ level: RulePlainConfiguration;
6101
+ options?: UseReduceTypeParameterOptions;
6102
+ }
6001
6103
  interface RuleWithUseRegexpExecOptions {
6002
6104
  level: RulePlainConfiguration;
6003
6105
  options?: UseRegexpExecOptions;
@@ -6021,11 +6123,20 @@ interface RuleWithUseSpreadOptions {
6021
6123
  level: RulePlainConfiguration;
6022
6124
  options?: UseSpreadOptions;
6023
6125
  }
6126
+ interface RuleWithUseStringStartsEndsWithOptions {
6127
+ fix?: FixKind;
6128
+ level: RulePlainConfiguration;
6129
+ options?: UseStringStartsEndsWithOptions;
6130
+ }
6024
6131
  interface RuleWithUseUnicodeRegexOptions {
6025
6132
  fix?: FixKind;
6026
6133
  level: RulePlainConfiguration;
6027
6134
  options?: UseUnicodeRegexOptions;
6028
6135
  }
6136
+ interface RuleWithUseVarsOnTopOptions {
6137
+ level: RulePlainConfiguration;
6138
+ options?: UseVarsOnTopOptions;
6139
+ }
6029
6140
  interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
6030
6141
  level: RulePlainConfiguration;
6031
6142
  options?: UseVueConsistentDefinePropsDeclarationOptions;
@@ -7296,6 +7407,7 @@ interface NoAmbiguousAnchorTextOptions {
7296
7407
  words?: string[];
7297
7408
  }
7298
7409
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
7410
+ type NoComponentHookFactoriesOptions = {};
7299
7411
  type NoConditionalExpectOptions = {};
7300
7412
  type NoContinueOptions = {};
7301
7413
  interface NoDeprecatedMediaTypeOptions {
@@ -7345,10 +7457,20 @@ interface NoExcessiveLinesPerFileOptions {
7345
7457
  */
7346
7458
  skipBlankLines?: boolean;
7347
7459
  }
7460
+ interface NoExcessiveSelectorClassesOptions {
7461
+ /**
7462
+ * The maximum number of class selectors allowed in a single selector.
7463
+
7464
+ This option is required to enable the rule.
7465
+ Use `0` to disallow class selectors entirely.
7466
+ */
7467
+ maxClasses?: number;
7468
+ }
7348
7469
  type NoFloatingClassesOptions = {};
7349
7470
  type NoFloatingPromisesOptions = {};
7350
7471
  type NoForInOptions = {};
7351
7472
  type NoHexColorsOptions = {};
7473
+ type NoIdenticalTestTitleOptions = {};
7352
7474
  type NoImpliedEvalOptions = {};
7353
7475
  interface NoIncrementDecrementOptions {
7354
7476
  /**
@@ -7357,6 +7479,7 @@ interface NoIncrementDecrementOptions {
7357
7479
  allowForLoopAfterthoughts?: boolean;
7358
7480
  }
7359
7481
  type NoInlineStylesOptions = {};
7482
+ type NoJsxNamespaceOptions = {};
7360
7483
  type NoJsxPropsBindOptions = {};
7361
7484
  type NoLeakedRenderOptions = {};
7362
7485
  type NoMisleadingReturnTypeOptions = {};
@@ -7532,6 +7655,7 @@ interface UseExplicitReturnTypeOptions {
7532
7655
  type UseExplicitTypeOptions = {};
7533
7656
  type UseFindOptions = {};
7534
7657
  type UseGlobalThisOptions = {};
7658
+ type UseIframeSandboxOptions = {};
7535
7659
  type UseImportsFirstOptions = {};
7536
7660
  type UseInlineScriptIdOptions = {};
7537
7661
  interface UseInputNameOptions {
@@ -7564,6 +7688,8 @@ interface UseNullishCoalescingOptions {
7564
7688
  }
7565
7689
  type UsePlaywrightValidDescribeCallbackOptions = {};
7566
7690
  type UseQwikLoaderLocationOptions = {};
7691
+ type UseReactAsyncServerFunctionOptions = {};
7692
+ type UseReduceTypeParameterOptions = {};
7567
7693
  type UseRegexpExecOptions = {};
7568
7694
  interface UseRequiredScriptsOptions {
7569
7695
  /**
@@ -7583,7 +7709,9 @@ interface UseSortedClassesOptions {
7583
7709
  functions?: string[];
7584
7710
  }
7585
7711
  type UseSpreadOptions = {};
7712
+ type UseStringStartsEndsWithOptions = {};
7586
7713
  type UseUnicodeRegexOptions = {};
7714
+ type UseVarsOnTopOptions = {};
7587
7715
  interface UseVueConsistentDefinePropsDeclarationOptions {
7588
7716
  style?: DeclarationStyle;
7589
7717
  }
@@ -8422,6 +8550,7 @@ type Category =
8422
8550
  | "lint/nursery/noAmbiguousAnchorText"
8423
8551
  | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
8424
8552
  | "lint/nursery/noColorInvalidHex"
8553
+ | "lint/nursery/noComponentHookFactories"
8425
8554
  | "lint/nursery/noConditionalExpect"
8426
8555
  | "lint/nursery/noContinue"
8427
8556
  | "lint/nursery/noDeprecatedMediaType"
@@ -8442,18 +8571,21 @@ type Category =
8442
8571
  | "lint/nursery/noEqualsToNull"
8443
8572
  | "lint/nursery/noExcessiveClassesPerFile"
8444
8573
  | "lint/nursery/noExcessiveLinesPerFile"
8574
+ | "lint/nursery/noExcessiveSelectorClasses"
8445
8575
  | "lint/nursery/noFloatingClasses"
8446
8576
  | "lint/nursery/noFloatingPromises"
8447
8577
  | "lint/nursery/noForIn"
8448
8578
  | "lint/nursery/noHexColors"
8579
+ | "lint/nursery/noIdenticalTestTitle"
8449
8580
  | "lint/nursery/noImplicitCoercion"
8450
8581
  | "lint/nursery/noImpliedEval"
8451
8582
  | "lint/nursery/noIncrementDecrement"
8452
8583
  | "lint/nursery/noInlineStyles"
8584
+ | "lint/nursery/noJsxNamespace"
8453
8585
  | "lint/nursery/noJsxPropsBind"
8454
8586
  | "lint/nursery/noLeakedRender"
8455
- | "lint/nursery/noMissingGenericFamilyKeyword"
8456
8587
  | "lint/nursery/noMisleadingReturnType"
8588
+ | "lint/nursery/noMissingGenericFamilyKeyword"
8457
8589
  | "lint/nursery/noMisusedPromises"
8458
8590
  | "lint/nursery/noMultiAssign"
8459
8591
  | "lint/nursery/noMultiStr"
@@ -8511,6 +8643,7 @@ type Category =
8511
8643
  | "lint/nursery/useExplicitType"
8512
8644
  | "lint/nursery/useFind"
8513
8645
  | "lint/nursery/useGlobalThis"
8646
+ | "lint/nursery/useIframeSandbox"
8514
8647
  | "lint/nursery/useImportRestrictions"
8515
8648
  | "lint/nursery/useImportsFirst"
8516
8649
  | "lint/nursery/useInlineScriptId"
@@ -8525,17 +8658,21 @@ type Category =
8525
8658
  | "lint/nursery/useQwikLoaderLocation"
8526
8659
  | "lint/nursery/useQwikMethodUsage"
8527
8660
  | "lint/nursery/useQwikValidLexicalScope"
8661
+ | "lint/nursery/useReactAsyncServerFunction"
8662
+ | "lint/nursery/useReduceTypeParameter"
8528
8663
  | "lint/nursery/useRegexpExec"
8529
8664
  | "lint/nursery/useRequiredScripts"
8530
8665
  | "lint/nursery/useScopedStyles"
8531
8666
  | "lint/nursery/useSortedClasses"
8532
8667
  | "lint/nursery/useSpread"
8668
+ | "lint/nursery/useStringStartsEndsWith"
8533
8669
  | "lint/nursery/useUnicodeRegex"
8534
8670
  | "lint/nursery/useUniqueArgumentNames"
8535
8671
  | "lint/nursery/useUniqueFieldDefinitionNames"
8536
8672
  | "lint/nursery/useUniqueGraphqlOperationName"
8537
8673
  | "lint/nursery/useUniqueInputFieldNames"
8538
8674
  | "lint/nursery/useUniqueVariableNames"
8675
+ | "lint/nursery/useVarsOnTop"
8539
8676
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
8540
8677
  | "lint/nursery/useVueConsistentVBindStyle"
8541
8678
  | "lint/nursery/useVueConsistentVOnStyle"
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.4.11",
8
+ "version": "2.4.12",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",