@biomejs/wasm-bundler 2.4.13 → 2.4.14
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 +97 -4
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1997,6 +1997,11 @@ interface Nursery {
|
|
|
1997
1997
|
See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
|
|
1998
1998
|
*/
|
|
1999
1999
|
noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
|
|
2000
|
+
/**
|
|
2001
|
+
* Enforce a maximum depth that callbacks can be nested.
|
|
2002
|
+
See https://biomejs.dev/linter/rules/no-excessive-nested-callbacks
|
|
2003
|
+
*/
|
|
2004
|
+
noExcessiveNestedCallbacks?: NoExcessiveNestedCallbacksConfiguration;
|
|
2000
2005
|
/**
|
|
2001
2006
|
* Limit the number of classes in a selector.
|
|
2002
2007
|
See https://biomejs.dev/linter/rules/no-excessive-selector-classes
|
|
@@ -2167,6 +2172,11 @@ interface Nursery {
|
|
|
2167
2172
|
See https://biomejs.dev/linter/rules/no-react-native-raw-text
|
|
2168
2173
|
*/
|
|
2169
2174
|
noReactNativeRawText?: NoReactNativeRawTextConfiguration;
|
|
2175
|
+
/**
|
|
2176
|
+
* Disallow string refs in React components.
|
|
2177
|
+
See https://biomejs.dev/linter/rules/no-react-string-refs
|
|
2178
|
+
*/
|
|
2179
|
+
noReactStringRefs?: NoReactStringRefsConfiguration;
|
|
2170
2180
|
/**
|
|
2171
2181
|
* Checks if a default export exports the same symbol as a named export.
|
|
2172
2182
|
See https://biomejs.dev/linter/rules/no-redundant-default-export
|
|
@@ -2396,6 +2406,11 @@ interface Nursery {
|
|
|
2396
2406
|
See https://biomejs.dev/linter/rules/use-lone-executable-definition
|
|
2397
2407
|
*/
|
|
2398
2408
|
useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
|
|
2409
|
+
/**
|
|
2410
|
+
* Prefer Math.min() and Math.max() over ternaries for simple comparisons.
|
|
2411
|
+
See https://biomejs.dev/linter/rules/use-math-min-max
|
|
2412
|
+
*/
|
|
2413
|
+
useMathMinMax?: UseMathMinMaxConfiguration;
|
|
2399
2414
|
/**
|
|
2400
2415
|
* Enforce using named capture groups in regular expression.
|
|
2401
2416
|
See https://biomejs.dev/linter/rules/use-named-capture-group
|
|
@@ -2466,6 +2481,11 @@ interface Nursery {
|
|
|
2466
2481
|
See https://biomejs.dev/linter/rules/use-string-starts-ends-with
|
|
2467
2482
|
*/
|
|
2468
2483
|
useStringStartsEndsWith?: UseStringStartsEndsWithConfiguration;
|
|
2484
|
+
/**
|
|
2485
|
+
* Enforce that lifecycle hooks appear before any test cases in the same block.
|
|
2486
|
+
See https://biomejs.dev/linter/rules/use-test-hooks-on-top
|
|
2487
|
+
*/
|
|
2488
|
+
useTestHooksOnTop?: UseTestHooksOnTopConfiguration;
|
|
2469
2489
|
/**
|
|
2470
2490
|
* Enforce the use of the u or v flag for regular expressions.
|
|
2471
2491
|
See https://biomejs.dev/linter/rules/use-unicode-regex
|
|
@@ -4131,6 +4151,9 @@ type NoExcessiveClassesPerFileConfiguration =
|
|
|
4131
4151
|
type NoExcessiveLinesPerFileConfiguration =
|
|
4132
4152
|
| RulePlainConfiguration
|
|
4133
4153
|
| RuleWithNoExcessiveLinesPerFileOptions;
|
|
4154
|
+
type NoExcessiveNestedCallbacksConfiguration =
|
|
4155
|
+
| RulePlainConfiguration
|
|
4156
|
+
| RuleWithNoExcessiveNestedCallbacksOptions;
|
|
4134
4157
|
type NoExcessiveSelectorClassesConfiguration =
|
|
4135
4158
|
| RulePlainConfiguration
|
|
4136
4159
|
| RuleWithNoExcessiveSelectorClassesOptions;
|
|
@@ -4229,6 +4252,9 @@ type NoReactNativeLiteralColorsConfiguration =
|
|
|
4229
4252
|
type NoReactNativeRawTextConfiguration =
|
|
4230
4253
|
| RulePlainConfiguration
|
|
4231
4254
|
| RuleWithNoReactNativeRawTextOptions;
|
|
4255
|
+
type NoReactStringRefsConfiguration =
|
|
4256
|
+
| RulePlainConfiguration
|
|
4257
|
+
| RuleWithNoReactStringRefsOptions;
|
|
4232
4258
|
type NoRedundantDefaultExportConfiguration =
|
|
4233
4259
|
| RulePlainConfiguration
|
|
4234
4260
|
| RuleWithNoRedundantDefaultExportOptions;
|
|
@@ -4356,6 +4382,9 @@ type UseLoneAnonymousOperationConfiguration =
|
|
|
4356
4382
|
type UseLoneExecutableDefinitionConfiguration =
|
|
4357
4383
|
| RulePlainConfiguration
|
|
4358
4384
|
| RuleWithUseLoneExecutableDefinitionOptions;
|
|
4385
|
+
type UseMathMinMaxConfiguration =
|
|
4386
|
+
| RulePlainConfiguration
|
|
4387
|
+
| RuleWithUseMathMinMaxOptions;
|
|
4359
4388
|
type UseNamedCaptureGroupConfiguration =
|
|
4360
4389
|
| RulePlainConfiguration
|
|
4361
4390
|
| RuleWithUseNamedCaptureGroupOptions;
|
|
@@ -4396,6 +4425,9 @@ type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
|
4396
4425
|
type UseStringStartsEndsWithConfiguration =
|
|
4397
4426
|
| RulePlainConfiguration
|
|
4398
4427
|
| RuleWithUseStringStartsEndsWithOptions;
|
|
4428
|
+
type UseTestHooksOnTopConfiguration =
|
|
4429
|
+
| RulePlainConfiguration
|
|
4430
|
+
| RuleWithUseTestHooksOnTopOptions;
|
|
4399
4431
|
type UseUnicodeRegexConfiguration =
|
|
4400
4432
|
| RulePlainConfiguration
|
|
4401
4433
|
| RuleWithUseUnicodeRegexOptions;
|
|
@@ -5855,6 +5887,10 @@ interface RuleWithNoExcessiveLinesPerFileOptions {
|
|
|
5855
5887
|
level: RulePlainConfiguration;
|
|
5856
5888
|
options?: NoExcessiveLinesPerFileOptions;
|
|
5857
5889
|
}
|
|
5890
|
+
interface RuleWithNoExcessiveNestedCallbacksOptions {
|
|
5891
|
+
level: RulePlainConfiguration;
|
|
5892
|
+
options?: NoExcessiveNestedCallbacksOptions;
|
|
5893
|
+
}
|
|
5858
5894
|
interface RuleWithNoExcessiveSelectorClassesOptions {
|
|
5859
5895
|
level: RulePlainConfiguration;
|
|
5860
5896
|
options?: NoExcessiveSelectorClassesOptions;
|
|
@@ -6000,6 +6036,10 @@ interface RuleWithNoReactNativeRawTextOptions {
|
|
|
6000
6036
|
level: RulePlainConfiguration;
|
|
6001
6037
|
options?: NoReactNativeRawTextOptions;
|
|
6002
6038
|
}
|
|
6039
|
+
interface RuleWithNoReactStringRefsOptions {
|
|
6040
|
+
level: RulePlainConfiguration;
|
|
6041
|
+
options?: NoReactStringRefsOptions;
|
|
6042
|
+
}
|
|
6003
6043
|
interface RuleWithNoRedundantDefaultExportOptions {
|
|
6004
6044
|
level: RulePlainConfiguration;
|
|
6005
6045
|
options?: NoRedundantDefaultExportOptions;
|
|
@@ -6190,6 +6230,11 @@ interface RuleWithUseLoneExecutableDefinitionOptions {
|
|
|
6190
6230
|
level: RulePlainConfiguration;
|
|
6191
6231
|
options?: UseLoneExecutableDefinitionOptions;
|
|
6192
6232
|
}
|
|
6233
|
+
interface RuleWithUseMathMinMaxOptions {
|
|
6234
|
+
fix?: FixKind;
|
|
6235
|
+
level: RulePlainConfiguration;
|
|
6236
|
+
options?: UseMathMinMaxOptions;
|
|
6237
|
+
}
|
|
6193
6238
|
interface RuleWithUseNamedCaptureGroupOptions {
|
|
6194
6239
|
level: RulePlainConfiguration;
|
|
6195
6240
|
options?: UseNamedCaptureGroupOptions;
|
|
@@ -6254,6 +6299,10 @@ interface RuleWithUseStringStartsEndsWithOptions {
|
|
|
6254
6299
|
level: RulePlainConfiguration;
|
|
6255
6300
|
options?: UseStringStartsEndsWithOptions;
|
|
6256
6301
|
}
|
|
6302
|
+
interface RuleWithUseTestHooksOnTopOptions {
|
|
6303
|
+
level: RulePlainConfiguration;
|
|
6304
|
+
options?: UseTestHooksOnTopOptions;
|
|
6305
|
+
}
|
|
6257
6306
|
interface RuleWithUseUnicodeRegexOptions {
|
|
6258
6307
|
fix?: FixKind;
|
|
6259
6308
|
level: RulePlainConfiguration;
|
|
@@ -7583,6 +7632,12 @@ interface NoExcessiveLinesPerFileOptions {
|
|
|
7583
7632
|
*/
|
|
7584
7633
|
skipBlankLines?: boolean;
|
|
7585
7634
|
}
|
|
7635
|
+
interface NoExcessiveNestedCallbacksOptions {
|
|
7636
|
+
/**
|
|
7637
|
+
* Maximum callback nesting depth allowed (default: 5)
|
|
7638
|
+
*/
|
|
7639
|
+
max?: number;
|
|
7640
|
+
}
|
|
7586
7641
|
interface NoExcessiveSelectorClassesOptions {
|
|
7587
7642
|
/**
|
|
7588
7643
|
* The maximum number of class selectors allowed in a single selector.
|
|
@@ -7635,6 +7690,7 @@ interface NoReactNativeRawTextOptions {
|
|
|
7635
7690
|
*/
|
|
7636
7691
|
skip?: string[];
|
|
7637
7692
|
}
|
|
7693
|
+
type NoReactStringRefsOptions = {};
|
|
7638
7694
|
type NoRedundantDefaultExportOptions = {};
|
|
7639
7695
|
type NoReturnAssignOptions = {};
|
|
7640
7696
|
interface NoRootTypeOptions {
|
|
@@ -7645,7 +7701,26 @@ interface NoRootTypeOptions {
|
|
|
7645
7701
|
disallow?: string[];
|
|
7646
7702
|
}
|
|
7647
7703
|
type NoScriptUrlOptions = {};
|
|
7648
|
-
|
|
7704
|
+
interface NoShadowOptions {
|
|
7705
|
+
/**
|
|
7706
|
+
* Ignore parameter names in function type annotations.
|
|
7707
|
+
|
|
7708
|
+
Function type parameters (e.g. `(x: string) => void`) only create
|
|
7709
|
+
bindings within the type scope and rarely cause confusion.
|
|
7710
|
+
|
|
7711
|
+
Defaults to `true`.
|
|
7712
|
+
*/
|
|
7713
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
7714
|
+
/**
|
|
7715
|
+
* Ignore cases where a type and a value share the same name.
|
|
7716
|
+
|
|
7717
|
+
Types and values live in separate namespaces in TypeScript, so a
|
|
7718
|
+
variable named `Foo` and a `type Foo` cannot collide at runtime.
|
|
7719
|
+
|
|
7720
|
+
Defaults to `true`.
|
|
7721
|
+
*/
|
|
7722
|
+
ignoreTypeValueShadow?: boolean;
|
|
7723
|
+
}
|
|
7649
7724
|
type NoSyncScriptsOptions = {};
|
|
7650
7725
|
type NoTernaryOptions = {};
|
|
7651
7726
|
type NoTopLevelLiteralsOptions = {};
|
|
@@ -7805,6 +7880,7 @@ interface UseInputNameOptions {
|
|
|
7805
7880
|
}
|
|
7806
7881
|
type UseLoneAnonymousOperationOptions = {};
|
|
7807
7882
|
type UseLoneExecutableDefinitionOptions = {};
|
|
7883
|
+
type UseMathMinMaxOptions = {};
|
|
7808
7884
|
type UseNamedCaptureGroupOptions = {};
|
|
7809
7885
|
interface UseNullishCoalescingOptions {
|
|
7810
7886
|
/**
|
|
@@ -7862,6 +7938,7 @@ interface UseSortedClassesOptions {
|
|
|
7862
7938
|
}
|
|
7863
7939
|
type UseSpreadOptions = {};
|
|
7864
7940
|
type UseStringStartsEndsWithOptions = {};
|
|
7941
|
+
type UseTestHooksOnTopOptions = {};
|
|
7865
7942
|
type UseUnicodeRegexOptions = {};
|
|
7866
7943
|
type UseVarsOnTopOptions = {};
|
|
7867
7944
|
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
@@ -8723,6 +8800,7 @@ type Category =
|
|
|
8723
8800
|
| "lint/nursery/noEqualsToNull"
|
|
8724
8801
|
| "lint/nursery/noExcessiveClassesPerFile"
|
|
8725
8802
|
| "lint/nursery/noExcessiveLinesPerFile"
|
|
8803
|
+
| "lint/nursery/noExcessiveNestedCallbacks"
|
|
8726
8804
|
| "lint/nursery/noExcessiveSelectorClasses"
|
|
8727
8805
|
| "lint/nursery/noFloatingClasses"
|
|
8728
8806
|
| "lint/nursery/noFloatingPromises"
|
|
@@ -8737,8 +8815,8 @@ type Category =
|
|
|
8737
8815
|
| "lint/nursery/noJsxNamespace"
|
|
8738
8816
|
| "lint/nursery/noJsxPropsBind"
|
|
8739
8817
|
| "lint/nursery/noLeakedRender"
|
|
8740
|
-
| "lint/nursery/noMisleadingReturnType"
|
|
8741
8818
|
| "lint/nursery/noLoopFunc"
|
|
8819
|
+
| "lint/nursery/noMisleadingReturnType"
|
|
8742
8820
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8743
8821
|
| "lint/nursery/noMisusedPromises"
|
|
8744
8822
|
| "lint/nursery/noMultiAssign"
|
|
@@ -8756,9 +8834,10 @@ type Category =
|
|
|
8756
8834
|
| "lint/nursery/noPlaywrightWaitForSelector"
|
|
8757
8835
|
| "lint/nursery/noPlaywrightWaitForTimeout"
|
|
8758
8836
|
| "lint/nursery/noProto"
|
|
8759
|
-
| "lint/nursery/noReactNativeLiteralColors"
|
|
8760
8837
|
| "lint/nursery/noReactNativeDeepImports"
|
|
8838
|
+
| "lint/nursery/noReactNativeLiteralColors"
|
|
8761
8839
|
| "lint/nursery/noReactNativeRawText"
|
|
8840
|
+
| "lint/nursery/noReactStringRefs"
|
|
8762
8841
|
| "lint/nursery/noRedundantDefaultExport"
|
|
8763
8842
|
| "lint/nursery/noReturnAssign"
|
|
8764
8843
|
| "lint/nursery/noRootType"
|
|
@@ -8793,8 +8872,8 @@ type Category =
|
|
|
8793
8872
|
| "lint/nursery/useConsistentTestIt"
|
|
8794
8873
|
| "lint/nursery/useDestructuring"
|
|
8795
8874
|
| "lint/nursery/useDisposables"
|
|
8796
|
-
| "lint/nursery/useDomQuerySelector"
|
|
8797
8875
|
| "lint/nursery/useDomNodeTextContent"
|
|
8876
|
+
| "lint/nursery/useDomQuerySelector"
|
|
8798
8877
|
| "lint/nursery/useErrorCause"
|
|
8799
8878
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8800
8879
|
| "lint/nursery/useExpect"
|
|
@@ -8811,6 +8890,7 @@ type Category =
|
|
|
8811
8890
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8812
8891
|
| "lint/nursery/useLoneAnonymousOperation"
|
|
8813
8892
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
8893
|
+
| "lint/nursery/useMathMinMax"
|
|
8814
8894
|
| "lint/nursery/useMaxParams"
|
|
8815
8895
|
| "lint/nursery/useNamedCaptureGroup"
|
|
8816
8896
|
| "lint/nursery/useNullishCoalescing"
|
|
@@ -8828,6 +8908,7 @@ type Category =
|
|
|
8828
8908
|
| "lint/nursery/useSortedClasses"
|
|
8829
8909
|
| "lint/nursery/useSpread"
|
|
8830
8910
|
| "lint/nursery/useStringStartsEndsWith"
|
|
8911
|
+
| "lint/nursery/useTestHooksOnTop"
|
|
8831
8912
|
| "lint/nursery/useUnicodeRegex"
|
|
8832
8913
|
| "lint/nursery/useUniqueArgumentNames"
|
|
8833
8914
|
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
@@ -9334,6 +9415,10 @@ type EmbeddingKind =
|
|
|
9334
9415
|
}
|
|
9335
9416
|
| {
|
|
9336
9417
|
Svelte: {
|
|
9418
|
+
/**
|
|
9419
|
+
* Whether this is a `{@const name = value}` block.
|
|
9420
|
+
*/
|
|
9421
|
+
is_const_block: boolean;
|
|
9337
9422
|
/**
|
|
9338
9423
|
* Whether this is the declaration of a function, usually declared in `#snippet`
|
|
9339
9424
|
*/
|
|
@@ -9342,6 +9427,13 @@ type EmbeddingKind =
|
|
|
9342
9427
|
* Where the bindings are defined
|
|
9343
9428
|
*/
|
|
9344
9429
|
is_source: boolean;
|
|
9430
|
+
/**
|
|
9431
|
+
* `kind` models whether the Svelte file is a component document or a
|
|
9432
|
+
source module. That distinction controls whether downstream code
|
|
9433
|
+
extracts `<script>` content or treats the file as a standalone JS/TS
|
|
9434
|
+
module, while `is_source` still tracks where bindings come from.
|
|
9435
|
+
*/
|
|
9436
|
+
kind: SvelteFileKind;
|
|
9345
9437
|
};
|
|
9346
9438
|
};
|
|
9347
9439
|
type Language = "javaScript" | { typeScript: { definition_file: boolean } };
|
|
@@ -9360,6 +9452,7 @@ type HtmlVariant =
|
|
|
9360
9452
|
| "Svelte";
|
|
9361
9453
|
type GritVariant = "Standard";
|
|
9362
9454
|
type MarkdownVariant = "Standard";
|
|
9455
|
+
type SvelteFileKind = "Component" | "SourceModule";
|
|
9363
9456
|
type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
|
|
9364
9457
|
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
9365
9458
|
interface OpenFileResult {
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|