@biomejs/wasm-web 2.4.7 → 2.4.9

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
@@ -929,6 +929,7 @@ type Semicolons = "always" | "asNeeded";
929
929
  type JsTrailingCommas = "all" | "es5" | "none";
930
930
  type JsonTrailingCommas = "none" | "all";
931
931
  type RuleDomain =
932
+ | "drizzle"
932
933
  | "react"
933
934
  | "test"
934
935
  | "solid"
@@ -1911,6 +1912,16 @@ See https://biomejs.dev/linter/rules/no-div-regex
1911
1912
  */
1912
1913
  noDivRegex?: NoDivRegexConfiguration;
1913
1914
  /**
1915
+ * Require .where() to be called when using .delete() with Drizzle ORM.
1916
+ See https://biomejs.dev/linter/rules/no-drizzle-delete-without-where
1917
+ */
1918
+ noDrizzleDeleteWithoutWhere?: NoDrizzleDeleteWithoutWhereConfiguration;
1919
+ /**
1920
+ * Require .where() to be called when using .update() with Drizzle ORM.
1921
+ See https://biomejs.dev/linter/rules/no-drizzle-update-without-where
1922
+ */
1923
+ noDrizzleUpdateWithoutWhere?: NoDrizzleUpdateWithoutWhereConfiguration;
1924
+ /**
1914
1925
  * Require all argument names for fields & directives to be unique.
1915
1926
  See https://biomejs.dev/linter/rules/no-duplicate-argument-names
1916
1927
  */
@@ -1946,6 +1957,11 @@ See https://biomejs.dev/linter/rules/no-duplicate-input-field-names
1946
1957
  */
1947
1958
  noDuplicateInputFieldNames?: NoDuplicateInputFieldNamesConfiguration;
1948
1959
  /**
1960
+ * Disallow duplicate selectors.
1961
+ See https://biomejs.dev/linter/rules/no-duplicate-selectors
1962
+ */
1963
+ noDuplicateSelectors?: NoDuplicateSelectorsConfiguration;
1964
+ /**
1949
1965
  * Require all variable definitions to be unique.
1950
1966
  See https://biomejs.dev/linter/rules/no-duplicate-variable-names
1951
1967
  */
@@ -2001,6 +2017,11 @@ See https://biomejs.dev/linter/rules/no-increment-decrement
2001
2017
  */
2002
2018
  noIncrementDecrement?: NoIncrementDecrementConfiguration;
2003
2019
  /**
2020
+ * Disallow the use of inline styles.
2021
+ See https://biomejs.dev/linter/rules/no-inline-styles
2022
+ */
2023
+ noInlineStyles?: NoInlineStylesConfiguration;
2024
+ /**
2004
2025
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
2005
2026
  See https://biomejs.dev/linter/rules/no-jsx-props-bind
2006
2027
  */
@@ -2146,6 +2167,11 @@ See https://biomejs.dev/linter/rules/no-unnecessary-conditions
2146
2167
  */
2147
2168
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
2148
2169
  /**
2170
+ * Disallow dependencies with untrusted licenses.
2171
+ See https://biomejs.dev/linter/rules/no-untrusted-licenses
2172
+ */
2173
+ noUntrustedLicenses?: NoUntrustedLicensesConfiguration;
2174
+ /**
2149
2175
  * Disallow redundant return statements.
2150
2176
  See https://biomejs.dev/linter/rules/no-useless-return
2151
2177
  */
@@ -3918,6 +3944,12 @@ type NoDeprecatedMediaTypeConfiguration =
3918
3944
  type NoDivRegexConfiguration =
3919
3945
  | RulePlainConfiguration
3920
3946
  | RuleWithNoDivRegexOptions;
3947
+ type NoDrizzleDeleteWithoutWhereConfiguration =
3948
+ | RulePlainConfiguration
3949
+ | RuleWithNoDrizzleDeleteWithoutWhereOptions;
3950
+ type NoDrizzleUpdateWithoutWhereConfiguration =
3951
+ | RulePlainConfiguration
3952
+ | RuleWithNoDrizzleUpdateWithoutWhereOptions;
3921
3953
  type NoDuplicateArgumentNamesConfiguration =
3922
3954
  | RulePlainConfiguration
3923
3955
  | RuleWithNoDuplicateArgumentNamesOptions;
@@ -3939,6 +3971,9 @@ type NoDuplicateGraphqlOperationNameConfiguration =
3939
3971
  type NoDuplicateInputFieldNamesConfiguration =
3940
3972
  | RulePlainConfiguration
3941
3973
  | RuleWithNoDuplicateInputFieldNamesOptions;
3974
+ type NoDuplicateSelectorsConfiguration =
3975
+ | RulePlainConfiguration
3976
+ | RuleWithNoDuplicateSelectorsOptions;
3942
3977
  type NoDuplicateVariableNamesConfiguration =
3943
3978
  | RulePlainConfiguration
3944
3979
  | RuleWithNoDuplicateVariableNamesOptions;
@@ -3970,6 +4005,9 @@ type NoHexColorsConfiguration =
3970
4005
  type NoIncrementDecrementConfiguration =
3971
4006
  | RulePlainConfiguration
3972
4007
  | RuleWithNoIncrementDecrementOptions;
4008
+ type NoInlineStylesConfiguration =
4009
+ | RulePlainConfiguration
4010
+ | RuleWithNoInlineStylesOptions;
3973
4011
  type NoJsxPropsBindConfiguration =
3974
4012
  | RulePlainConfiguration
3975
4013
  | RuleWithNoJsxPropsBindOptions;
@@ -4051,6 +4089,9 @@ type NoUnknownAttributeConfiguration =
4051
4089
  type NoUnnecessaryConditionsConfiguration =
4052
4090
  | RulePlainConfiguration
4053
4091
  | RuleWithNoUnnecessaryConditionsOptions;
4092
+ type NoUntrustedLicensesConfiguration =
4093
+ | RulePlainConfiguration
4094
+ | RuleWithNoUntrustedLicensesOptions;
4054
4095
  type NoUselessReturnConfiguration =
4055
4096
  | RulePlainConfiguration
4056
4097
  | RuleWithNoUselessReturnOptions;
@@ -5528,6 +5569,14 @@ interface RuleWithNoDivRegexOptions {
5528
5569
  level: RulePlainConfiguration;
5529
5570
  options?: NoDivRegexOptions;
5530
5571
  }
5572
+ interface RuleWithNoDrizzleDeleteWithoutWhereOptions {
5573
+ level: RulePlainConfiguration;
5574
+ options?: NoDrizzleDeleteWithoutWhereOptions;
5575
+ }
5576
+ interface RuleWithNoDrizzleUpdateWithoutWhereOptions {
5577
+ level: RulePlainConfiguration;
5578
+ options?: NoDrizzleUpdateWithoutWhereOptions;
5579
+ }
5531
5580
  interface RuleWithNoDuplicateArgumentNamesOptions {
5532
5581
  level: RulePlainConfiguration;
5533
5582
  options?: NoDuplicateArgumentNamesOptions;
@@ -5556,6 +5605,10 @@ interface RuleWithNoDuplicateInputFieldNamesOptions {
5556
5605
  level: RulePlainConfiguration;
5557
5606
  options?: NoDuplicateInputFieldNamesOptions;
5558
5607
  }
5608
+ interface RuleWithNoDuplicateSelectorsOptions {
5609
+ level: RulePlainConfiguration;
5610
+ options?: NoDuplicateSelectorsOptions;
5611
+ }
5559
5612
  interface RuleWithNoDuplicateVariableNamesOptions {
5560
5613
  level: RulePlainConfiguration;
5561
5614
  options?: NoDuplicateVariableNamesOptions;
@@ -5602,6 +5655,11 @@ interface RuleWithNoIncrementDecrementOptions {
5602
5655
  level: RulePlainConfiguration;
5603
5656
  options?: NoIncrementDecrementOptions;
5604
5657
  }
5658
+ interface RuleWithNoInlineStylesOptions {
5659
+ fix?: FixKind;
5660
+ level: RulePlainConfiguration;
5661
+ options?: NoInlineStylesOptions;
5662
+ }
5605
5663
  interface RuleWithNoJsxPropsBindOptions {
5606
5664
  level: RulePlainConfiguration;
5607
5665
  options?: NoJsxPropsBindOptions;
@@ -5724,6 +5782,10 @@ interface RuleWithNoUnnecessaryConditionsOptions {
5724
5782
  level: RulePlainConfiguration;
5725
5783
  options?: NoUnnecessaryConditionsOptions;
5726
5784
  }
5785
+ interface RuleWithNoUntrustedLicensesOptions {
5786
+ level: RulePlainConfiguration;
5787
+ options?: NoUntrustedLicensesOptions;
5788
+ }
5727
5789
  interface RuleWithNoUselessReturnOptions {
5728
5790
  fix?: FixKind;
5729
5791
  level: RulePlainConfiguration;
@@ -5772,6 +5834,7 @@ interface RuleWithUseConsistentGraphqlDescriptionsOptions {
5772
5834
  options?: UseConsistentGraphqlDescriptionsOptions;
5773
5835
  }
5774
5836
  interface RuleWithUseConsistentMethodSignaturesOptions {
5837
+ fix?: FixKind;
5775
5838
  level: RulePlainConfiguration;
5776
5839
  options?: UseConsistentMethodSignaturesOptions;
5777
5840
  }
@@ -7144,6 +7207,18 @@ interface NoDeprecatedMediaTypeOptions {
7144
7207
  allow?: string[];
7145
7208
  }
7146
7209
  type NoDivRegexOptions = {};
7210
+ interface NoDrizzleDeleteWithoutWhereOptions {
7211
+ /**
7212
+ * List of variable names to consider as Drizzle ORM instances.
7213
+ */
7214
+ drizzleObjectName?: string[];
7215
+ }
7216
+ interface NoDrizzleUpdateWithoutWhereOptions {
7217
+ /**
7218
+ * List of variable names to consider as Drizzle ORM instances.
7219
+ */
7220
+ drizzleObjectName?: string[];
7221
+ }
7147
7222
  type NoDuplicateArgumentNamesOptions = {};
7148
7223
  type NoDuplicateAttributesOptions = {};
7149
7224
  type NoDuplicateEnumValueNamesOptions = {};
@@ -7151,6 +7226,7 @@ type NoDuplicateEnumValuesOptions = {};
7151
7226
  type NoDuplicateFieldDefinitionNamesOptions = {};
7152
7227
  type NoDuplicateGraphqlOperationNameOptions = {};
7153
7228
  type NoDuplicateInputFieldNamesOptions = {};
7229
+ type NoDuplicateSelectorsOptions = {};
7154
7230
  type NoDuplicateVariableNamesOptions = {};
7155
7231
  type NoDuplicatedSpreadPropsOptions = {};
7156
7232
  type NoEmptyObjectKeysOptions = {};
@@ -7181,6 +7257,7 @@ interface NoIncrementDecrementOptions {
7181
7257
  */
7182
7258
  allowForLoopAfterthoughts?: boolean;
7183
7259
  }
7260
+ type NoInlineStylesOptions = {};
7184
7261
  type NoJsxPropsBindOptions = {};
7185
7262
  type NoLeakedRenderOptions = {};
7186
7263
  type NoMisusedPromisesOptions = {};
@@ -7226,6 +7303,40 @@ interface NoUnknownAttributeOptions {
7226
7303
  ignore?: string[];
7227
7304
  }
7228
7305
  type NoUnnecessaryConditionsOptions = {};
7306
+ interface NoUntrustedLicensesOptions {
7307
+ /**
7308
+ * Additional license identifiers to trust, beyond valid SPDX identifiers.
7309
+
7310
+ Useful for custom or proprietary licenses that are not part of the SPDX
7311
+ standard but are acceptable in your project.
7312
+ */
7313
+ allow?: string[];
7314
+ /**
7315
+ * License identifiers to explicitly deny, even if they are valid SPDX identifiers.
7316
+
7317
+ Use this to block specific licenses that your project or organization can't use (e.g.,
7318
+ copyleft licenses in a proprietary project).
7319
+ */
7320
+ deny?: string[];
7321
+ /**
7322
+ * When `true`, deprecated SPDX license identifiers are accepted.
7323
+ When `false`, deprecated licenses are flagged as untrusted.
7324
+ Defaults to `false`.
7325
+ */
7326
+ ignoreDeprecated?: boolean;
7327
+ /**
7328
+ * When `true`, only licenses recognized as free/libre by the Free Software
7329
+ Foundation (FSF) are trusted. Licenses in the `allow` list bypass this check.
7330
+ Defaults to `false`.
7331
+ */
7332
+ requireFsfLibre?: boolean;
7333
+ /**
7334
+ * When `true`, only licenses approved by the Open Source Initiative (OSI)
7335
+ are trusted. Licenses in the `allow` list bypass this check.
7336
+ Defaults to `false`.
7337
+ */
7338
+ requireOsiApproved?: boolean;
7339
+ }
7229
7340
  type NoUselessReturnOptions = {};
7230
7341
  type NoVueArrowFuncInWatchOptions = {};
7231
7342
  type NoVueOptionsApiOptions = {};
@@ -8183,6 +8294,7 @@ type Category =
8183
8294
  | "lint/nursery/noDuplicateFieldDefinitionNames"
8184
8295
  | "lint/nursery/noDuplicateGraphqlOperationName"
8185
8296
  | "lint/nursery/noDuplicateInputFieldNames"
8297
+ | "lint/nursery/noDuplicateSelectors"
8186
8298
  | "lint/nursery/noDuplicateVariableNames"
8187
8299
  | "lint/nursery/noDuplicatedSpreadProps"
8188
8300
  | "lint/nursery/noEmptyObjectKeys"
@@ -8195,6 +8307,7 @@ type Category =
8195
8307
  | "lint/nursery/noHexColors"
8196
8308
  | "lint/nursery/noImplicitCoercion"
8197
8309
  | "lint/nursery/noIncrementDecrement"
8310
+ | "lint/nursery/noInlineStyles"
8198
8311
  | "lint/nursery/noJsxPropsBind"
8199
8312
  | "lint/nursery/noLeakedRender"
8200
8313
  | "lint/nursery/noMissingGenericFamilyKeyword"
@@ -8203,6 +8316,8 @@ type Category =
8203
8316
  | "lint/nursery/noMultiStr"
8204
8317
  | "lint/nursery/noNestedPromises"
8205
8318
  | "lint/nursery/noParametersOnlyUsedInRecursion"
8319
+ | "lint/nursery/noDrizzleDeleteWithoutWhere"
8320
+ | "lint/nursery/noDrizzleUpdateWithoutWhere"
8206
8321
  | "lint/nursery/noPlaywrightElementHandle"
8207
8322
  | "lint/nursery/noPlaywrightEval"
8208
8323
  | "lint/nursery/noPlaywrightForceOption"
@@ -8221,9 +8336,11 @@ type Category =
8221
8336
  | "lint/nursery/noShadow"
8222
8337
  | "lint/nursery/noSyncScripts"
8223
8338
  | "lint/nursery/noTernary"
8339
+ | "lint/nursery/noTopLevelLiterals"
8224
8340
  | "lint/nursery/noUndeclaredEnvVars"
8225
8341
  | "lint/nursery/noUnknownAttribute"
8226
8342
  | "lint/nursery/noUnnecessaryConditions"
8343
+ | "lint/nursery/noUntrustedLicenses"
8227
8344
  | "lint/nursery/noUnwantedPolyfillio"
8228
8345
  | "lint/nursery/noUselessBackrefInRegex"
8229
8346
  | "lint/nursery/noUselessReturn"
@@ -8266,7 +8383,6 @@ type Category =
8266
8383
  | "lint/nursery/useScopedStyles"
8267
8384
  | "lint/nursery/useSortedClasses"
8268
8385
  | "lint/nursery/useSpread"
8269
- | "lint/nursery/noTopLevelLiterals"
8270
8386
  | "lint/nursery/useUnicodeRegex"
8271
8387
  | "lint/nursery/useUniqueArgumentNames"
8272
8388
  | "lint/nursery/useUniqueFieldDefinitionNames"
@@ -8751,6 +8867,12 @@ type EmbeddingKind =
8751
8867
  | {
8752
8868
  Vue: {
8753
8869
  /**
8870
+ * Whether this embed should be parsed as statements (module/script).
8871
+ When `false`, the content is parsed as an expression via `parse_template_expression`.
8872
+ Source-level embeds (`<script>`) use `true`; directives and text expressions use `false`.
8873
+ */
8874
+ allow_statements: boolean;
8875
+ /**
8754
8876
  * Whether this is a v-on event handler (e.g., @click="handler")
8755
8877
  */
8756
8878
  event_handler: boolean;
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.7",
8
+ "version": "2.4.9",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",