@biomejs/wasm-web 2.4.14 → 2.4.15

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
@@ -26,7 +26,7 @@ interface Configuration {
26
26
  */
27
27
  css?: CssConfiguration;
28
28
  /**
29
- * A list of paths to other JSON files, used to extends the current configuration.
29
+ * A list of paths to other JSON files, used to extend the current configuration.
30
30
  */
31
31
  extends?: Extends;
32
32
  /**
@@ -1887,6 +1887,11 @@ interface Nursery {
1887
1887
  See https://biomejs.dev/linter/rules/no-ambiguous-anchor-text
1888
1888
  */
1889
1889
  noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
1890
+ /**
1891
+ * Require stringification to avoid values that only use the default object representation.
1892
+ See https://biomejs.dev/linter/rules/no-base-to-string
1893
+ */
1894
+ noBaseToString?: NoBaseToStringConfiguration;
1890
1895
  /**
1891
1896
  * Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
1892
1897
  See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
@@ -2262,6 +2267,11 @@ interface Nursery {
2262
2267
  See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
2263
2268
  */
2264
2269
  noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
2270
+ /**
2271
+ * Disallow importing Vue compiler macros.
2272
+ See https://biomejs.dev/linter/rules/no-vue-import-compiler-macros
2273
+ */
2274
+ noVueImportCompilerMacros?: NoVueImportCompilerMacrosConfiguration;
2265
2275
  /**
2266
2276
  * Disallow the use of Vue Options API.
2267
2277
  See https://biomejs.dev/linter/rules/no-vue-options-api
@@ -2277,6 +2287,11 @@ interface Nursery {
2277
2287
  See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
2278
2288
  */
2279
2289
  noVueVIfWithVFor?: NoVueVIfWithVForConfiguration;
2290
+ /**
2291
+ * Disallow deprecated number modifiers on Vue v-on directives.
2292
+ See https://biomejs.dev/linter/rules/no-vue-v-on-number-values
2293
+ */
2294
+ noVueVOnNumberValues?: NoVueVOnNumberValuesConfiguration;
2280
2295
  /**
2281
2296
  * Enables the recommended rules for this group
2282
2297
  */
@@ -2481,11 +2496,21 @@ interface Nursery {
2481
2496
  See https://biomejs.dev/linter/rules/use-string-starts-ends-with
2482
2497
  */
2483
2498
  useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
2499
+ /**
2500
+ * Enforce that test lifecycle hooks are declared in the order they execute.
2501
+ See https://biomejs.dev/linter/rules/use-test-hooks-in-order
2502
+ */
2503
+ useTestHooksInOrder?: UseTestHooksInOrderConfiguration;
2484
2504
  /**
2485
2505
  * Enforce that lifecycle hooks appear before any test cases in the same block.
2486
2506
  See https://biomejs.dev/linter/rules/use-test-hooks-on-top
2487
2507
  */
2488
2508
  useTestHooksOnTop?: UseTestHooksOnTopConfiguration;
2509
+ /**
2510
+ * Enforce that class methods utilize this.
2511
+ See https://biomejs.dev/linter/rules/use-this-in-class-methods
2512
+ */
2513
+ useThisInClassMethods?: UseThisInClassMethodsConfiguration;
2489
2514
  /**
2490
2515
  * Enforce the use of the u or v flag for regular expressions.
2491
2516
  See https://biomejs.dev/linter/rules/use-unicode-regex
@@ -2526,6 +2551,11 @@ interface Nursery {
2526
2551
  See https://biomejs.dev/linter/rules/use-vue-multi-word-component-names
2527
2552
  */
2528
2553
  useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
2554
+ /**
2555
+ * Enforces Promise syntax when using Vue nextTick.
2556
+ See https://biomejs.dev/linter/rules/use-vue-next-tick-promise
2557
+ */
2558
+ useVueNextTickPromise?: UseVueNextTickPromiseConfiguration;
2529
2559
  /**
2530
2560
  * Enforce that elements using v-for also specify a unique key.
2531
2561
  See https://biomejs.dev/linter/rules/use-vue-v-for-key
@@ -2556,6 +2586,11 @@ interface Nursery {
2556
2586
  See https://biomejs.dev/linter/rules/use-vue-valid-v-else-if
2557
2587
  */
2558
2588
  useVueValidVElseIf?: UseVueValidVElseIfConfiguration;
2589
+ /**
2590
+ * Enforces valid v-for directives in Vue templates.
2591
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-for
2592
+ */
2593
+ useVueValidVFor?: UseVueValidVForConfiguration;
2559
2594
  /**
2560
2595
  * Enforce valid v-html directives.
2561
2596
  See https://biomejs.dev/linter/rules/use-vue-valid-v-html
@@ -4085,6 +4120,9 @@ type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
4085
4120
  type NoAmbiguousAnchorTextConfiguration =
4086
4121
  | RulePlainConfiguration
4087
4122
  | RuleWithNoAmbiguousAnchorTextOptions;
4123
+ type NoBaseToStringConfiguration =
4124
+ | RulePlainConfiguration
4125
+ | RuleWithNoBaseToStringOptions;
4088
4126
  type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
4089
4127
  | RulePlainConfiguration
4090
4128
  | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
@@ -4302,6 +4340,9 @@ type NoUselessTypeConversionConfiguration =
4302
4340
  type NoVueArrowFuncInWatchConfiguration =
4303
4341
  | RulePlainConfiguration
4304
4342
  | RuleWithNoVueArrowFuncInWatchOptions;
4343
+ type NoVueImportCompilerMacrosConfiguration =
4344
+ | RulePlainConfiguration
4345
+ | RuleWithNoVueImportCompilerMacrosOptions;
4305
4346
  type NoVueOptionsApiConfiguration =
4306
4347
  | RulePlainConfiguration
4307
4348
  | RuleWithNoVueOptionsApiOptions;
@@ -4311,6 +4352,9 @@ type NoVueRefAsOperandConfiguration =
4311
4352
  type NoVueVIfWithVForConfiguration =
4312
4353
  | RulePlainConfiguration
4313
4354
  | RuleWithNoVueVIfWithVForOptions;
4355
+ type NoVueVOnNumberValuesConfiguration =
4356
+ | RulePlainConfiguration
4357
+ | RuleWithNoVueVOnNumberValuesOptions;
4314
4358
  type UseArraySomeConfiguration =
4315
4359
  | RulePlainConfiguration
4316
4360
  | RuleWithUseArraySomeOptions;
@@ -4425,9 +4469,15 @@ type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
4425
4469
  type UseStringStartsEndsWithConfiguration =
4426
4470
  | RulePlainConfiguration
4427
4471
  | RuleWithUseStringStartsEndsWithOptions;
4472
+ type UseTestHooksInOrderConfiguration =
4473
+ | RulePlainConfiguration
4474
+ | RuleWithUseTestHooksInOrderOptions;
4428
4475
  type UseTestHooksOnTopConfiguration =
4429
4476
  | RulePlainConfiguration
4430
4477
  | RuleWithUseTestHooksOnTopOptions;
4478
+ type UseThisInClassMethodsConfiguration =
4479
+ | RulePlainConfiguration
4480
+ | RuleWithUseThisInClassMethodsOptions;
4431
4481
  type UseUnicodeRegexConfiguration =
4432
4482
  | RulePlainConfiguration
4433
4483
  | RuleWithUseUnicodeRegexOptions;
@@ -4452,6 +4502,9 @@ type UseVueHyphenatedAttributesConfiguration =
4452
4502
  type UseVueMultiWordComponentNamesConfiguration =
4453
4503
  | RulePlainConfiguration
4454
4504
  | RuleWithUseVueMultiWordComponentNamesOptions;
4505
+ type UseVueNextTickPromiseConfiguration =
4506
+ | RulePlainConfiguration
4507
+ | RuleWithUseVueNextTickPromiseOptions;
4455
4508
  type UseVueVForKeyConfiguration =
4456
4509
  | RulePlainConfiguration
4457
4510
  | RuleWithUseVueVForKeyOptions;
@@ -4470,6 +4523,9 @@ type UseVueValidVElseConfiguration =
4470
4523
  type UseVueValidVElseIfConfiguration =
4471
4524
  | RulePlainConfiguration
4472
4525
  | RuleWithUseVueValidVElseIfOptions;
4526
+ type UseVueValidVForConfiguration =
4527
+ | RulePlainConfiguration
4528
+ | RuleWithUseVueValidVForOptions;
4473
4529
  type UseVueValidVHtmlConfiguration =
4474
4530
  | RulePlainConfiguration
4475
4531
  | RuleWithUseVueValidVHtmlOptions;
@@ -5797,6 +5853,10 @@ interface RuleWithNoAmbiguousAnchorTextOptions {
5797
5853
  level: RulePlainConfiguration;
5798
5854
  options?: NoAmbiguousAnchorTextOptions;
5799
5855
  }
5856
+ interface RuleWithNoBaseToStringOptions {
5857
+ level: RulePlainConfiguration;
5858
+ options?: NoBaseToStringOptions;
5859
+ }
5800
5860
  interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
5801
5861
  level: RulePlainConfiguration;
5802
5862
  options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
@@ -6111,6 +6171,10 @@ interface RuleWithNoVueArrowFuncInWatchOptions {
6111
6171
  level: RulePlainConfiguration;
6112
6172
  options?: NoVueArrowFuncInWatchOptions;
6113
6173
  }
6174
+ interface RuleWithNoVueImportCompilerMacrosOptions {
6175
+ level: RulePlainConfiguration;
6176
+ options?: NoVueImportCompilerMacrosOptions;
6177
+ }
6114
6178
  interface RuleWithNoVueOptionsApiOptions {
6115
6179
  level: RulePlainConfiguration;
6116
6180
  options?: NoVueOptionsApiOptions;
@@ -6123,6 +6187,10 @@ interface RuleWithNoVueVIfWithVForOptions {
6123
6187
  level: RulePlainConfiguration;
6124
6188
  options?: NoVueVIfWithVForOptions;
6125
6189
  }
6190
+ interface RuleWithNoVueVOnNumberValuesOptions {
6191
+ level: RulePlainConfiguration;
6192
+ options?: NoVueVOnNumberValuesOptions;
6193
+ }
6126
6194
  interface RuleWithUseArraySomeOptions {
6127
6195
  fix?: FixKind;
6128
6196
  level: RulePlainConfiguration;
@@ -6299,10 +6367,18 @@ interface RuleWithUseStringStartsEndsWithOptions {
6299
6367
  level: RulePlainConfiguration;
6300
6368
  options?: UseStringStartsEndsWithOptions;
6301
6369
  }
6370
+ interface RuleWithUseTestHooksInOrderOptions {
6371
+ level: RulePlainConfiguration;
6372
+ options?: UseTestHooksInOrderOptions;
6373
+ }
6302
6374
  interface RuleWithUseTestHooksOnTopOptions {
6303
6375
  level: RulePlainConfiguration;
6304
6376
  options?: UseTestHooksOnTopOptions;
6305
6377
  }
6378
+ interface RuleWithUseThisInClassMethodsOptions {
6379
+ level: RulePlainConfiguration;
6380
+ options?: UseThisInClassMethodsOptions;
6381
+ }
6306
6382
  interface RuleWithUseUnicodeRegexOptions {
6307
6383
  fix?: FixKind;
6308
6384
  level: RulePlainConfiguration;
@@ -6340,6 +6416,10 @@ interface RuleWithUseVueMultiWordComponentNamesOptions {
6340
6416
  level: RulePlainConfiguration;
6341
6417
  options?: UseVueMultiWordComponentNamesOptions;
6342
6418
  }
6419
+ interface RuleWithUseVueNextTickPromiseOptions {
6420
+ level: RulePlainConfiguration;
6421
+ options?: UseVueNextTickPromiseOptions;
6422
+ }
6343
6423
  interface RuleWithUseVueVForKeyOptions {
6344
6424
  level: RulePlainConfiguration;
6345
6425
  options?: UseVueVForKeyOptions;
@@ -6366,6 +6446,10 @@ interface RuleWithUseVueValidVElseIfOptions {
6366
6446
  level: RulePlainConfiguration;
6367
6447
  options?: UseVueValidVElseIfOptions;
6368
6448
  }
6449
+ interface RuleWithUseVueValidVForOptions {
6450
+ level: RulePlainConfiguration;
6451
+ options?: UseVueValidVForOptions;
6452
+ }
6369
6453
  interface RuleWithUseVueValidVHtmlOptions {
6370
6454
  level: RulePlainConfiguration;
6371
6455
  options?: UseVueValidVHtmlOptions;
@@ -7581,6 +7665,9 @@ interface NoAmbiguousAnchorTextOptions {
7581
7665
  */
7582
7666
  words?: string[];
7583
7667
  }
7668
+ interface NoBaseToStringOptions {
7669
+ ignoredTypeNames?: string[];
7670
+ }
7584
7671
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
7585
7672
  type NoComponentHookFactoriesOptions = {};
7586
7673
  type NoConditionalExpectOptions = {};
@@ -7776,9 +7863,11 @@ interface NoUntrustedLicensesOptions {
7776
7863
  type NoUselessReturnOptions = {};
7777
7864
  type NoUselessTypeConversionOptions = {};
7778
7865
  type NoVueArrowFuncInWatchOptions = {};
7866
+ type NoVueImportCompilerMacrosOptions = {};
7779
7867
  type NoVueOptionsApiOptions = {};
7780
7868
  type NoVueRefAsOperandOptions = {};
7781
7869
  type NoVueVIfWithVForOptions = {};
7870
+ type NoVueVOnNumberValuesOptions = {};
7782
7871
  type UseArraySomeOptions = {};
7783
7872
  type UseArraySortCompareOptions = {};
7784
7873
  type UseAwaitThenableOptions = {};
@@ -7938,7 +8027,30 @@ interface UseSortedClassesOptions {
7938
8027
  }
7939
8028
  type UseSpreadOptions = {};
7940
8029
  type UseStringStartsEndsWithOptions = {};
8030
+ type UseTestHooksInOrderOptions = {};
7941
8031
  type UseTestHooksOnTopOptions = {};
8032
+ interface UseThisInClassMethodsOptions {
8033
+ /**
8034
+ * Whether members of classes with an `implements` clause should be ignored.
8035
+
8036
+ Defaults to `"none"`, which means implemented classes are checked like any other class.
8037
+ Use `"all"` to ignore every eligible member in such classes, or `"public-fields"`
8038
+ to ignore only public members in them.
8039
+ */
8040
+ ignoreClassesWithImplements?: IgnoreClassesWithImplements;
8041
+ /**
8042
+ * Method names that should be ignored by the rule.
8043
+
8044
+ Defaults to `[]`.
8045
+ */
8046
+ ignoreMethods?: string[];
8047
+ /**
8048
+ * Whether methods marked with `override` should be ignored.
8049
+
8050
+ Defaults to `false`.
8051
+ */
8052
+ ignoreOverrideMethods?: boolean;
8053
+ }
7942
8054
  type UseUnicodeRegexOptions = {};
7943
8055
  type UseVarsOnTopOptions = {};
7944
8056
  interface UseVueConsistentDefinePropsDeclarationOptions {
@@ -7980,12 +8092,14 @@ interface UseVueMultiWordComponentNamesOptions {
7980
8092
  */
7981
8093
  ignores?: string[];
7982
8094
  }
8095
+ type UseVueNextTickPromiseOptions = {};
7983
8096
  type UseVueVForKeyOptions = {};
7984
8097
  type UseVueValidTemplateRootOptions = {};
7985
8098
  type UseVueValidVBindOptions = {};
7986
8099
  type UseVueValidVCloakOptions = {};
7987
8100
  type UseVueValidVElseOptions = {};
7988
8101
  type UseVueValidVElseIfOptions = {};
8102
+ type UseVueValidVForOptions = {};
7989
8103
  type UseVueValidVHtmlOptions = {};
7990
8104
  type UseVueValidVIfOptions = {};
7991
8105
  interface UseVueValidVOnOptions {
@@ -8421,6 +8535,7 @@ type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
8421
8535
  type MethodSignatureStyle = "property" | "method";
8422
8536
  type TestFunctionKind = "it" | "test";
8423
8537
  type CheckInputType = "off" | "loose" | "strict";
8538
+ type IgnoreClassesWithImplements = "none" | "all" | "public-fields";
8424
8539
  type DeclarationStyle = "type" | "runtime";
8425
8540
  type VueDirectiveStyle = "shorthand" | "longhand";
8426
8541
  type VueDirectiveStyle2 = "shorthand" | "longhand";
@@ -8777,6 +8892,7 @@ type Category =
8777
8892
  | "lint/correctness/useValidTypeof"
8778
8893
  | "lint/correctness/useYield"
8779
8894
  | "lint/nursery/noAmbiguousAnchorText"
8895
+ | "lint/nursery/noBaseToString"
8780
8896
  | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
8781
8897
  | "lint/nursery/noColorInvalidHex"
8782
8898
  | "lint/nursery/noComponentHookFactories"
@@ -8857,9 +8973,11 @@ type Category =
8857
8973
  | "lint/nursery/noUselessReturn"
8858
8974
  | "lint/nursery/noUselessTypeConversion"
8859
8975
  | "lint/nursery/noVueArrowFuncInWatch"
8976
+ | "lint/nursery/noVueImportCompilerMacros"
8860
8977
  | "lint/nursery/noVueOptionsApi"
8861
8978
  | "lint/nursery/noVueRefAsOperand"
8862
8979
  | "lint/nursery/noVueVIfWithVFor"
8980
+ | "lint/nursery/noVueVOnNumberValues"
8863
8981
  | "lint/nursery/useArraySome"
8864
8982
  | "lint/nursery/useArraySortCompare"
8865
8983
  | "lint/nursery/useAwaitThenable"
@@ -8908,7 +9026,9 @@ type Category =
8908
9026
  | "lint/nursery/useSortedClasses"
8909
9027
  | "lint/nursery/useSpread"
8910
9028
  | "lint/nursery/useStringStartsEndsWith"
9029
+ | "lint/nursery/useTestHooksInOrder"
8911
9030
  | "lint/nursery/useTestHooksOnTop"
9031
+ | "lint/nursery/useThisInClassMethods"
8912
9032
  | "lint/nursery/useUnicodeRegex"
8913
9033
  | "lint/nursery/useUniqueArgumentNames"
8914
9034
  | "lint/nursery/useUniqueFieldDefinitionNames"
@@ -8922,6 +9042,7 @@ type Category =
8922
9042
  | "lint/nursery/useVueDefineMacrosOrder"
8923
9043
  | "lint/nursery/useVueHyphenatedAttributes"
8924
9044
  | "lint/nursery/useVueMultiWordComponentNames"
9045
+ | "lint/nursery/useVueNextTickPromise"
8925
9046
  | "lint/nursery/useVueVForKey"
8926
9047
  | "lint/nursery/useVueValidTemplateRoot"
8927
9048
  | "lint/nursery/useVueValidVBind"
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.14",
8
+ "version": "2.4.15",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",