@biomejs/wasm-web 2.4.4 → 2.4.5
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 +111 -4
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -2151,6 +2151,11 @@ See https://biomejs.dev/linter/rules/no-vue-options-api
|
|
|
2151
2151
|
*/
|
|
2152
2152
|
noVueOptionsApi?: NoVueOptionsApiConfiguration;
|
|
2153
2153
|
/**
|
|
2154
|
+
* Disallow the use of value wrapped by ref()(Composition API) as operand.
|
|
2155
|
+
See https://biomejs.dev/linter/rules/no-vue-ref-as-operand
|
|
2156
|
+
*/
|
|
2157
|
+
noVueRefAsOperand?: NoVueRefAsOperandConfiguration;
|
|
2158
|
+
/**
|
|
2154
2159
|
* Disallow using v-if and v-for directives on the same element.
|
|
2155
2160
|
See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
|
|
2156
2161
|
*/
|
|
@@ -2160,6 +2165,11 @@ See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
|
|
|
2160
2165
|
*/
|
|
2161
2166
|
recommended?: boolean;
|
|
2162
2167
|
/**
|
|
2168
|
+
* Prefer Array.prototype.some() over verbose existence checks.
|
|
2169
|
+
See https://biomejs.dev/linter/rules/use-array-some
|
|
2170
|
+
*/
|
|
2171
|
+
useArraySome?: UseArraySomeConfiguration;
|
|
2172
|
+
/**
|
|
2163
2173
|
* Require Array#sort and Array#toSorted calls to always provide a compareFunction.
|
|
2164
2174
|
See https://biomejs.dev/linter/rules/use-array-sort-compare
|
|
2165
2175
|
*/
|
|
@@ -2200,7 +2210,7 @@ See https://biomejs.dev/linter/rules/use-exhaustive-switch-cases
|
|
|
2200
2210
|
*/
|
|
2201
2211
|
useExhaustiveSwitchCases?: UseExhaustiveSwitchCasesConfiguration;
|
|
2202
2212
|
/**
|
|
2203
|
-
* Ensure that test functions contain at least one expect() assertion.
|
|
2213
|
+
* Ensure that test functions contain at least one expect() or similar assertion.
|
|
2204
2214
|
See https://biomejs.dev/linter/rules/use-expect
|
|
2205
2215
|
*/
|
|
2206
2216
|
useExpect?: UseExpectConfiguration;
|
|
@@ -2240,6 +2250,16 @@ See https://biomejs.dev/linter/rules/use-lone-executable-definition
|
|
|
2240
2250
|
*/
|
|
2241
2251
|
useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
|
|
2242
2252
|
/**
|
|
2253
|
+
* Enforce using named capture groups in regular expression.
|
|
2254
|
+
See https://biomejs.dev/linter/rules/use-named-capture-group
|
|
2255
|
+
*/
|
|
2256
|
+
useNamedCaptureGroup?: UseNamedCaptureGroupConfiguration;
|
|
2257
|
+
/**
|
|
2258
|
+
* Enforce using the nullish coalescing operator (??) instead of logical or (||).
|
|
2259
|
+
See https://biomejs.dev/linter/rules/use-nullish-coalescing
|
|
2260
|
+
*/
|
|
2261
|
+
useNullishCoalescing?: UseNullishCoalescingConfiguration;
|
|
2262
|
+
/**
|
|
2243
2263
|
* Enforce valid describe() callback.
|
|
2244
2264
|
See https://biomejs.dev/linter/rules/use-playwright-valid-describe-callback
|
|
2245
2265
|
*/
|
|
@@ -2255,6 +2275,11 @@ See https://biomejs.dev/linter/rules/use-required-scripts
|
|
|
2255
2275
|
*/
|
|
2256
2276
|
useRequiredScripts?: UseRequiredScriptsConfiguration;
|
|
2257
2277
|
/**
|
|
2278
|
+
* Enforce that \<style> blocks in Vue SFCs have the scoped attribute and that \<style> blocks in Astro components do not have the is:global directive.
|
|
2279
|
+
See https://biomejs.dev/linter/rules/use-scoped-styles
|
|
2280
|
+
*/
|
|
2281
|
+
useScopedStyles?: UseScopedStylesConfiguration;
|
|
2282
|
+
/**
|
|
2258
2283
|
* Enforce the sorting of CSS utility classes.
|
|
2259
2284
|
See https://biomejs.dev/linter/rules/use-sorted-classes
|
|
2260
2285
|
*/
|
|
@@ -2265,6 +2290,11 @@ See https://biomejs.dev/linter/rules/use-spread
|
|
|
2265
2290
|
*/
|
|
2266
2291
|
useSpread?: UseSpreadConfiguration;
|
|
2267
2292
|
/**
|
|
2293
|
+
* Enforce the use of the u or v flag for regular expressions.
|
|
2294
|
+
See https://biomejs.dev/linter/rules/use-unicode-regex
|
|
2295
|
+
*/
|
|
2296
|
+
useUnicodeRegex?: UseUnicodeRegexConfiguration;
|
|
2297
|
+
/**
|
|
2268
2298
|
* Enforce consistent defineProps declaration style.
|
|
2269
2299
|
See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
|
|
2270
2300
|
*/
|
|
@@ -4004,9 +4034,15 @@ type NoVueArrowFuncInWatchConfiguration =
|
|
|
4004
4034
|
type NoVueOptionsApiConfiguration =
|
|
4005
4035
|
| RulePlainConfiguration
|
|
4006
4036
|
| RuleWithNoVueOptionsApiOptions;
|
|
4037
|
+
type NoVueRefAsOperandConfiguration =
|
|
4038
|
+
| RulePlainConfiguration
|
|
4039
|
+
| RuleWithNoVueRefAsOperandOptions;
|
|
4007
4040
|
type NoVueVIfWithVForConfiguration =
|
|
4008
4041
|
| RulePlainConfiguration
|
|
4009
4042
|
| RuleWithNoVueVIfWithVForOptions;
|
|
4043
|
+
type UseArraySomeConfiguration =
|
|
4044
|
+
| RulePlainConfiguration
|
|
4045
|
+
| RuleWithUseArraySomeOptions;
|
|
4010
4046
|
type UseArraySortCompareConfiguration =
|
|
4011
4047
|
| RulePlainConfiguration
|
|
4012
4048
|
| RuleWithUseArraySortCompareOptions;
|
|
@@ -4051,6 +4087,12 @@ type UseLoneAnonymousOperationConfiguration =
|
|
|
4051
4087
|
type UseLoneExecutableDefinitionConfiguration =
|
|
4052
4088
|
| RulePlainConfiguration
|
|
4053
4089
|
| RuleWithUseLoneExecutableDefinitionOptions;
|
|
4090
|
+
type UseNamedCaptureGroupConfiguration =
|
|
4091
|
+
| RulePlainConfiguration
|
|
4092
|
+
| RuleWithUseNamedCaptureGroupOptions;
|
|
4093
|
+
type UseNullishCoalescingConfiguration =
|
|
4094
|
+
| RulePlainConfiguration
|
|
4095
|
+
| RuleWithUseNullishCoalescingOptions;
|
|
4054
4096
|
type UsePlaywrightValidDescribeCallbackConfiguration =
|
|
4055
4097
|
| RulePlainConfiguration
|
|
4056
4098
|
| RuleWithUsePlaywrightValidDescribeCallbackOptions;
|
|
@@ -4060,10 +4102,16 @@ type UseRegexpExecConfiguration =
|
|
|
4060
4102
|
type UseRequiredScriptsConfiguration =
|
|
4061
4103
|
| RulePlainConfiguration
|
|
4062
4104
|
| RuleWithUseRequiredScriptsOptions;
|
|
4105
|
+
type UseScopedStylesConfiguration =
|
|
4106
|
+
| RulePlainConfiguration
|
|
4107
|
+
| RuleWithUseScopedStylesOptions;
|
|
4063
4108
|
type UseSortedClassesConfiguration =
|
|
4064
4109
|
| RulePlainConfiguration
|
|
4065
4110
|
| RuleWithUseSortedClassesOptions;
|
|
4066
4111
|
type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
4112
|
+
type UseUnicodeRegexConfiguration =
|
|
4113
|
+
| RulePlainConfiguration
|
|
4114
|
+
| RuleWithUseUnicodeRegexOptions;
|
|
4067
4115
|
type UseVueConsistentDefinePropsDeclarationConfiguration =
|
|
4068
4116
|
| RulePlainConfiguration
|
|
4069
4117
|
| RuleWithUseVueConsistentDefinePropsDeclarationOptions;
|
|
@@ -5650,10 +5698,19 @@ interface RuleWithNoVueOptionsApiOptions {
|
|
|
5650
5698
|
level: RulePlainConfiguration;
|
|
5651
5699
|
options?: NoVueOptionsApiOptions;
|
|
5652
5700
|
}
|
|
5701
|
+
interface RuleWithNoVueRefAsOperandOptions {
|
|
5702
|
+
level: RulePlainConfiguration;
|
|
5703
|
+
options?: NoVueRefAsOperandOptions;
|
|
5704
|
+
}
|
|
5653
5705
|
interface RuleWithNoVueVIfWithVForOptions {
|
|
5654
5706
|
level: RulePlainConfiguration;
|
|
5655
5707
|
options?: NoVueVIfWithVForOptions;
|
|
5656
5708
|
}
|
|
5709
|
+
interface RuleWithUseArraySomeOptions {
|
|
5710
|
+
fix?: FixKind;
|
|
5711
|
+
level: RulePlainConfiguration;
|
|
5712
|
+
options?: UseArraySomeOptions;
|
|
5713
|
+
}
|
|
5657
5714
|
interface RuleWithUseArraySortCompareOptions {
|
|
5658
5715
|
level: RulePlainConfiguration;
|
|
5659
5716
|
options?: UseArraySortCompareOptions;
|
|
@@ -5719,6 +5776,15 @@ interface RuleWithUseLoneExecutableDefinitionOptions {
|
|
|
5719
5776
|
level: RulePlainConfiguration;
|
|
5720
5777
|
options?: UseLoneExecutableDefinitionOptions;
|
|
5721
5778
|
}
|
|
5779
|
+
interface RuleWithUseNamedCaptureGroupOptions {
|
|
5780
|
+
level: RulePlainConfiguration;
|
|
5781
|
+
options?: UseNamedCaptureGroupOptions;
|
|
5782
|
+
}
|
|
5783
|
+
interface RuleWithUseNullishCoalescingOptions {
|
|
5784
|
+
fix?: FixKind;
|
|
5785
|
+
level: RulePlainConfiguration;
|
|
5786
|
+
options?: UseNullishCoalescingOptions;
|
|
5787
|
+
}
|
|
5722
5788
|
interface RuleWithUsePlaywrightValidDescribeCallbackOptions {
|
|
5723
5789
|
level: RulePlainConfiguration;
|
|
5724
5790
|
options?: UsePlaywrightValidDescribeCallbackOptions;
|
|
@@ -5731,6 +5797,11 @@ interface RuleWithUseRequiredScriptsOptions {
|
|
|
5731
5797
|
level: RulePlainConfiguration;
|
|
5732
5798
|
options?: UseRequiredScriptsOptions;
|
|
5733
5799
|
}
|
|
5800
|
+
interface RuleWithUseScopedStylesOptions {
|
|
5801
|
+
fix?: FixKind;
|
|
5802
|
+
level: RulePlainConfiguration;
|
|
5803
|
+
options?: UseScopedStylesOptions;
|
|
5804
|
+
}
|
|
5734
5805
|
interface RuleWithUseSortedClassesOptions {
|
|
5735
5806
|
fix?: FixKind;
|
|
5736
5807
|
level: RulePlainConfiguration;
|
|
@@ -5741,6 +5812,11 @@ interface RuleWithUseSpreadOptions {
|
|
|
5741
5812
|
level: RulePlainConfiguration;
|
|
5742
5813
|
options?: UseSpreadOptions;
|
|
5743
5814
|
}
|
|
5815
|
+
interface RuleWithUseUnicodeRegexOptions {
|
|
5816
|
+
fix?: FixKind;
|
|
5817
|
+
level: RulePlainConfiguration;
|
|
5818
|
+
options?: UseUnicodeRegexOptions;
|
|
5819
|
+
}
|
|
5744
5820
|
interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
|
|
5745
5821
|
level: RulePlainConfiguration;
|
|
5746
5822
|
options?: UseVueConsistentDefinePropsDeclarationOptions;
|
|
@@ -7103,7 +7179,9 @@ type NoUnnecessaryConditionsOptions = {};
|
|
|
7103
7179
|
type NoUselessReturnOptions = {};
|
|
7104
7180
|
type NoVueArrowFuncInWatchOptions = {};
|
|
7105
7181
|
type NoVueOptionsApiOptions = {};
|
|
7182
|
+
type NoVueRefAsOperandOptions = {};
|
|
7106
7183
|
type NoVueVIfWithVForOptions = {};
|
|
7184
|
+
type UseArraySomeOptions = {};
|
|
7107
7185
|
type UseArraySortCompareOptions = {};
|
|
7108
7186
|
type UseAwaitThenableOptions = {};
|
|
7109
7187
|
type UseConsistentEnumValueTypeOptions = {};
|
|
@@ -7142,6 +7220,19 @@ interface UseInputNameOptions {
|
|
|
7142
7220
|
}
|
|
7143
7221
|
type UseLoneAnonymousOperationOptions = {};
|
|
7144
7222
|
type UseLoneExecutableDefinitionOptions = {};
|
|
7223
|
+
type UseNamedCaptureGroupOptions = {};
|
|
7224
|
+
interface UseNullishCoalescingOptions {
|
|
7225
|
+
/**
|
|
7226
|
+
* Whether to ignore `||` expressions in conditional test positions
|
|
7227
|
+
(if/while/for/do-while/ternary conditions).
|
|
7228
|
+
|
|
7229
|
+
When `true` (the default), the rule will not report `||` expressions
|
|
7230
|
+
that appear in places where the falsy-checking behavior may be intentional.
|
|
7231
|
+
|
|
7232
|
+
Default: `true`
|
|
7233
|
+
*/
|
|
7234
|
+
ignoreConditionalTests?: boolean;
|
|
7235
|
+
}
|
|
7145
7236
|
type UsePlaywrightValidDescribeCallbackOptions = {};
|
|
7146
7237
|
type UseRegexpExecOptions = {};
|
|
7147
7238
|
interface UseRequiredScriptsOptions {
|
|
@@ -7150,6 +7241,7 @@ interface UseRequiredScriptsOptions {
|
|
|
7150
7241
|
*/
|
|
7151
7242
|
requiredScripts?: string[];
|
|
7152
7243
|
}
|
|
7244
|
+
type UseScopedStylesOptions = {};
|
|
7153
7245
|
interface UseSortedClassesOptions {
|
|
7154
7246
|
/**
|
|
7155
7247
|
* Additional attributes that will be sorted.
|
|
@@ -7161,6 +7253,7 @@ interface UseSortedClassesOptions {
|
|
|
7161
7253
|
functions?: string[];
|
|
7162
7254
|
}
|
|
7163
7255
|
type UseSpreadOptions = {};
|
|
7256
|
+
type UseUnicodeRegexOptions = {};
|
|
7164
7257
|
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
7165
7258
|
style?: DeclarationStyle;
|
|
7166
7259
|
}
|
|
@@ -7993,10 +8086,10 @@ type Category =
|
|
|
7993
8086
|
| "lint/correctness/useValidForDirection"
|
|
7994
8087
|
| "lint/correctness/useValidTypeof"
|
|
7995
8088
|
| "lint/correctness/useYield"
|
|
7996
|
-
| "lint/nursery/useExpect"
|
|
7997
8089
|
| "lint/nursery/noAmbiguousAnchorText"
|
|
7998
8090
|
| "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
|
|
7999
8091
|
| "lint/nursery/noColorInvalidHex"
|
|
8092
|
+
| "lint/nursery/noConditionalExpect"
|
|
8000
8093
|
| "lint/nursery/noContinue"
|
|
8001
8094
|
| "lint/nursery/noDeprecatedMediaType"
|
|
8002
8095
|
| "lint/nursery/noDivRegex"
|
|
@@ -8026,7 +8119,6 @@ type Category =
|
|
|
8026
8119
|
| "lint/nursery/noMultiStr"
|
|
8027
8120
|
| "lint/nursery/noNestedPromises"
|
|
8028
8121
|
| "lint/nursery/noParametersOnlyUsedInRecursion"
|
|
8029
|
-
| "lint/nursery/noConditionalExpect"
|
|
8030
8122
|
| "lint/nursery/noPlaywrightElementHandle"
|
|
8031
8123
|
| "lint/nursery/noPlaywrightEval"
|
|
8032
8124
|
| "lint/nursery/noPlaywrightForceOption"
|
|
@@ -8053,7 +8145,9 @@ type Category =
|
|
|
8053
8145
|
| "lint/nursery/noUselessReturn"
|
|
8054
8146
|
| "lint/nursery/noVueArrowFuncInWatch"
|
|
8055
8147
|
| "lint/nursery/noVueOptionsApi"
|
|
8148
|
+
| "lint/nursery/noVueRefAsOperand"
|
|
8056
8149
|
| "lint/nursery/noVueVIfWithVFor"
|
|
8150
|
+
| "lint/nursery/useArraySome"
|
|
8057
8151
|
| "lint/nursery/useArraySortCompare"
|
|
8058
8152
|
| "lint/nursery/useAwaitThenable"
|
|
8059
8153
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
@@ -8064,6 +8158,7 @@ type Category =
|
|
|
8064
8158
|
| "lint/nursery/useDestructuring"
|
|
8065
8159
|
| "lint/nursery/useErrorCause"
|
|
8066
8160
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8161
|
+
| "lint/nursery/useExpect"
|
|
8067
8162
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
8068
8163
|
| "lint/nursery/useExplicitType"
|
|
8069
8164
|
| "lint/nursery/useFind"
|
|
@@ -8074,11 +8169,17 @@ type Category =
|
|
|
8074
8169
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8075
8170
|
| "lint/nursery/useLoneAnonymousOperation"
|
|
8076
8171
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
8172
|
+
| "lint/nursery/useNullishCoalescing"
|
|
8173
|
+
| "lint/nursery/useMaxParams"
|
|
8174
|
+
| "lint/nursery/useNamedCaptureGroup"
|
|
8077
8175
|
| "lint/nursery/usePlaywrightValidDescribeCallback"
|
|
8176
|
+
| "lint/nursery/useQwikMethodUsage"
|
|
8177
|
+
| "lint/nursery/useQwikValidLexicalScope"
|
|
8078
8178
|
| "lint/nursery/useRegexpExec"
|
|
8079
8179
|
| "lint/nursery/useRequiredScripts"
|
|
8080
8180
|
| "lint/nursery/useSortedClasses"
|
|
8081
8181
|
| "lint/nursery/useSpread"
|
|
8182
|
+
| "lint/nursery/useUnicodeRegex"
|
|
8082
8183
|
| "lint/nursery/useUniqueArgumentNames"
|
|
8083
8184
|
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
8084
8185
|
| "lint/nursery/useUniqueGraphqlOperationName"
|
|
@@ -8090,6 +8191,7 @@ type Category =
|
|
|
8090
8191
|
| "lint/nursery/useVueDefineMacrosOrder"
|
|
8091
8192
|
| "lint/nursery/useVueHyphenatedAttributes"
|
|
8092
8193
|
| "lint/nursery/useVueMultiWordComponentNames"
|
|
8194
|
+
| "lint/nursery/useScopedStyles"
|
|
8093
8195
|
| "lint/nursery/useVueVForKey"
|
|
8094
8196
|
| "lint/nursery/useVueValidTemplateRoot"
|
|
8095
8197
|
| "lint/nursery/useVueValidVBind"
|
|
@@ -8510,7 +8612,8 @@ type DocumentFileSource =
|
|
|
8510
8612
|
| { Css: CssFileSource }
|
|
8511
8613
|
| { Graphql: GraphqlFileSource }
|
|
8512
8614
|
| { Html: HtmlFileSource }
|
|
8513
|
-
| { Grit: GritFileSource }
|
|
8615
|
+
| { Grit: GritFileSource }
|
|
8616
|
+
| { Markdown: MdFileSource };
|
|
8514
8617
|
interface JsFileSource {
|
|
8515
8618
|
/**
|
|
8516
8619
|
* Used to mark if the JavaScript is embedded inside some particular files. This affects the parsing.
|
|
@@ -8545,6 +8648,9 @@ interface HtmlFileSource {
|
|
|
8545
8648
|
interface GritFileSource {
|
|
8546
8649
|
variant: GritVariant;
|
|
8547
8650
|
}
|
|
8651
|
+
interface MdFileSource {
|
|
8652
|
+
variant: MarkdownVariant;
|
|
8653
|
+
}
|
|
8548
8654
|
type EmbeddingKind =
|
|
8549
8655
|
| "None"
|
|
8550
8656
|
| {
|
|
@@ -8594,6 +8700,7 @@ type HtmlVariant =
|
|
|
8594
8700
|
| "Vue"
|
|
8595
8701
|
| "Svelte";
|
|
8596
8702
|
type GritVariant = "Standard";
|
|
8703
|
+
type MarkdownVariant = "Standard";
|
|
8597
8704
|
type EmbeddingHtmlKind = "None" | "Html" | "Vue" | "Astro" | "Svelte";
|
|
8598
8705
|
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
8599
8706
|
interface OpenFileResult {
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|