@biomejs/wasm-web 2.5.0 → 2.5.2
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 +44 -4
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -2343,6 +2343,11 @@ interface Nursery {
|
|
|
2343
2343
|
See https://biomejs.dev/linter/rules/no-restricted-dependencies
|
|
2344
2344
|
*/
|
|
2345
2345
|
noRestrictedDependencies?: NoRestrictedDependenciesConfiguration;
|
|
2346
|
+
/**
|
|
2347
|
+
* Disallow unnecessary $state wrapping of reactive classes.
|
|
2348
|
+
See https://biomejs.dev/linter/rules/no-svelte-unnecessary-state-wrap
|
|
2349
|
+
*/
|
|
2350
|
+
noSvelteUnnecessaryStateWrap?: NoSvelteUnnecessaryStateWrapConfiguration;
|
|
2346
2351
|
/**
|
|
2347
2352
|
* Require the JSON top-level value to be an array or object.
|
|
2348
2353
|
See https://biomejs.dev/linter/rules/no-top-level-literals
|
|
@@ -4522,6 +4527,9 @@ type NoReactStringRefsConfiguration =
|
|
|
4522
4527
|
type NoRestrictedDependenciesConfiguration =
|
|
4523
4528
|
| RulePlainConfiguration
|
|
4524
4529
|
| RuleWithNoRestrictedDependenciesOptions;
|
|
4530
|
+
type NoSvelteUnnecessaryStateWrapConfiguration =
|
|
4531
|
+
| RulePlainConfiguration
|
|
4532
|
+
| RuleWithNoSvelteUnnecessaryStateWrapOptions;
|
|
4525
4533
|
type NoTopLevelLiteralsConfiguration =
|
|
4526
4534
|
| RulePlainConfiguration
|
|
4527
4535
|
| RuleWithNoTopLevelLiteralsOptions;
|
|
@@ -6366,6 +6374,11 @@ interface RuleWithNoRestrictedDependenciesOptions {
|
|
|
6366
6374
|
level: RulePlainConfiguration;
|
|
6367
6375
|
options?: NoRestrictedDependenciesOptions;
|
|
6368
6376
|
}
|
|
6377
|
+
interface RuleWithNoSvelteUnnecessaryStateWrapOptions {
|
|
6378
|
+
fix?: FixKind;
|
|
6379
|
+
level: RulePlainConfiguration;
|
|
6380
|
+
options?: NoSvelteUnnecessaryStateWrapOptions;
|
|
6381
|
+
}
|
|
6369
6382
|
interface RuleWithNoTopLevelLiteralsOptions {
|
|
6370
6383
|
level: RulePlainConfiguration;
|
|
6371
6384
|
options?: NoTopLevelLiteralsOptions;
|
|
@@ -8058,6 +8071,16 @@ interface NoReactNativeRawTextOptions {
|
|
|
8058
8071
|
}
|
|
8059
8072
|
type NoReactStringRefsOptions = {};
|
|
8060
8073
|
type NoRestrictedDependenciesOptions = {};
|
|
8074
|
+
interface NoSvelteUnnecessaryStateWrapOptions {
|
|
8075
|
+
/**
|
|
8076
|
+
* Additional class names to treat as already reactive (beyond the built-in `svelte/reactivity` classes).
|
|
8077
|
+
*/
|
|
8078
|
+
additionalReactiveClasses?: string[];
|
|
8079
|
+
/**
|
|
8080
|
+
* When `true`, allows `$state()` wrapping for variables that are reassigned after declaration.
|
|
8081
|
+
*/
|
|
8082
|
+
allowReassign?: boolean;
|
|
8083
|
+
}
|
|
8061
8084
|
type NoTopLevelLiteralsOptions = {};
|
|
8062
8085
|
type NoUndeclaredClassesOptions = {};
|
|
8063
8086
|
type NoUnnecessaryTemplateExpressionOptions = {};
|
|
@@ -8172,6 +8195,10 @@ type UseIncludesOptions = {};
|
|
|
8172
8195
|
type UseMathMinMaxOptions = {};
|
|
8173
8196
|
type UseNamedCaptureGroupOptions = {};
|
|
8174
8197
|
interface UseNullishCoalescingOptions {
|
|
8198
|
+
/**
|
|
8199
|
+
* Whether to ignore `||` and `||=` binary operations used inside a `Boolean()` call (default: `false`).
|
|
8200
|
+
*/
|
|
8201
|
+
ignoreBooleanCoercion?: boolean;
|
|
8175
8202
|
/**
|
|
8176
8203
|
* Ignore `||` expressions in conditional test positions (default: `true`).
|
|
8177
8204
|
*/
|
|
@@ -8180,6 +8207,10 @@ interface UseNullishCoalescingOptions {
|
|
|
8180
8207
|
* Whether to ignore `||` and `||=` binary operations that are part of a mixed logical expression with `&&` (default: `false`).
|
|
8181
8208
|
*/
|
|
8182
8209
|
ignoreMixedLogicalExpressions?: boolean;
|
|
8210
|
+
/**
|
|
8211
|
+
* Whether to ignore `||` and `||=` operations whose non-nullish operand types are all primitives of the configured kinds. Accepts `true` for every primitive, or an object selecting `string`, `number`, `boolean`, `bigint` (default: none).
|
|
8212
|
+
*/
|
|
8213
|
+
ignorePrimitives?: IgnorePrimitives;
|
|
8183
8214
|
/**
|
|
8184
8215
|
* Ignore ternary expressions that check for `null` or `undefined` (default: `false`).
|
|
8185
8216
|
*/
|
|
@@ -8895,6 +8926,9 @@ interface Hook {
|
|
|
8895
8926
|
}
|
|
8896
8927
|
type AvailabilityTarget = AvailabilityNamed | number;
|
|
8897
8928
|
type TestFunctionKind = "it" | "test";
|
|
8929
|
+
type IgnorePrimitives =
|
|
8930
|
+
| boolean
|
|
8931
|
+
| { bigint?: boolean; boolean?: boolean; number?: boolean; string?: boolean };
|
|
8898
8932
|
type ComponentDefinitionStyle =
|
|
8899
8933
|
| "functionDeclaration"
|
|
8900
8934
|
| "functionExpression"
|
|
@@ -9342,6 +9376,7 @@ type Category =
|
|
|
9342
9376
|
| "lint/nursery/noReactNativeLiteralColors"
|
|
9343
9377
|
| "lint/nursery/noReactNativeRawText"
|
|
9344
9378
|
| "lint/nursery/noReactStringRefs"
|
|
9379
|
+
| "lint/nursery/noSvelteUnnecessaryStateWrap"
|
|
9345
9380
|
| "lint/nursery/noTopLevelLiterals"
|
|
9346
9381
|
| "lint/nursery/noUndeclaredClasses"
|
|
9347
9382
|
| "lint/nursery/noUnnecessaryTemplateExpression"
|
|
@@ -9867,6 +9902,7 @@ type DocumentFileSource =
|
|
|
9867
9902
|
| { Js: JsFileSource }
|
|
9868
9903
|
| { Json: JsonFileSource }
|
|
9869
9904
|
| { Css: CssFileSource }
|
|
9905
|
+
| { Graphql: GraphqlFileSource }
|
|
9870
9906
|
| { Html: HtmlFileSource }
|
|
9871
9907
|
| { Grit: GritFileSource };
|
|
9872
9908
|
type EditorFeatures = EditorFeature[];
|
|
@@ -9875,7 +9911,7 @@ interface JsFileSource {
|
|
|
9875
9911
|
* Used to mark if the JavaScript is embedded inside some particular files. This affects the parsing.
|
|
9876
9912
|
For example, if inside an Astro file, a top-level return statement is allowed.
|
|
9877
9913
|
*/
|
|
9878
|
-
embedding_kind:
|
|
9914
|
+
embedding_kind: JsEmbeddingKind;
|
|
9879
9915
|
language: Language;
|
|
9880
9916
|
module_kind: ModuleKind;
|
|
9881
9917
|
variant: LanguageVariant;
|
|
@@ -9891,10 +9927,13 @@ interface CssFileSource {
|
|
|
9891
9927
|
* Used to mark if the CSS is embedded inside some particular files. This affects the parsing.
|
|
9892
9928
|
For example, if inside a styled`` literal, a top-level declaration is allowed.
|
|
9893
9929
|
*/
|
|
9894
|
-
embeddingKind:
|
|
9930
|
+
embeddingKind: CssEmbeddingKind;
|
|
9895
9931
|
language: CssFileLanguage;
|
|
9896
9932
|
variant: CssVariant;
|
|
9897
9933
|
}
|
|
9934
|
+
interface GraphqlFileSource {
|
|
9935
|
+
variant: GraphqlVariant;
|
|
9936
|
+
}
|
|
9898
9937
|
interface HtmlFileSource {
|
|
9899
9938
|
variant: HtmlVariant;
|
|
9900
9939
|
}
|
|
@@ -9902,7 +9941,7 @@ interface GritFileSource {
|
|
|
9902
9941
|
variant: GritVariant;
|
|
9903
9942
|
}
|
|
9904
9943
|
type EditorFeature = "gotoDefinition";
|
|
9905
|
-
type
|
|
9944
|
+
type JsEmbeddingKind =
|
|
9906
9945
|
| "None"
|
|
9907
9946
|
| {
|
|
9908
9947
|
Astro: {
|
|
@@ -9967,9 +10006,10 @@ type ModuleKind = "script" | "module";
|
|
|
9967
10006
|
type LanguageVariant = "standard" | "standardRestricted" | "jsx";
|
|
9968
10007
|
type LanguageVersion = "eS2022" | "eSNext";
|
|
9969
10008
|
type JsonFileVariant = "standard" | "jsonc";
|
|
9970
|
-
type
|
|
10009
|
+
type CssEmbeddingKind = "None" | "Styled" | { Html: EmbeddingHtmlKind };
|
|
9971
10010
|
type CssFileLanguage = "css" | "scss";
|
|
9972
10011
|
type CssVariant = "standard" | "cssModules" | "tailwindCss";
|
|
10012
|
+
type GraphqlVariant = "standard";
|
|
9973
10013
|
type HtmlVariant =
|
|
9974
10014
|
| { Standard: HtmlTextExpressions }
|
|
9975
10015
|
| "Astro"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|