@biomejs/wasm-web 2.4.8 → 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
@@ -1957,6 +1957,11 @@ See https://biomejs.dev/linter/rules/no-duplicate-input-field-names
1957
1957
  */
1958
1958
  noDuplicateInputFieldNames?: NoDuplicateInputFieldNamesConfiguration;
1959
1959
  /**
1960
+ * Disallow duplicate selectors.
1961
+ See https://biomejs.dev/linter/rules/no-duplicate-selectors
1962
+ */
1963
+ noDuplicateSelectors?: NoDuplicateSelectorsConfiguration;
1964
+ /**
1960
1965
  * Require all variable definitions to be unique.
1961
1966
  See https://biomejs.dev/linter/rules/no-duplicate-variable-names
1962
1967
  */
@@ -2012,6 +2017,11 @@ See https://biomejs.dev/linter/rules/no-increment-decrement
2012
2017
  */
2013
2018
  noIncrementDecrement?: NoIncrementDecrementConfiguration;
2014
2019
  /**
2020
+ * Disallow the use of inline styles.
2021
+ See https://biomejs.dev/linter/rules/no-inline-styles
2022
+ */
2023
+ noInlineStyles?: NoInlineStylesConfiguration;
2024
+ /**
2015
2025
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
2016
2026
  See https://biomejs.dev/linter/rules/no-jsx-props-bind
2017
2027
  */
@@ -2157,6 +2167,11 @@ See https://biomejs.dev/linter/rules/no-unnecessary-conditions
2157
2167
  */
2158
2168
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
2159
2169
  /**
2170
+ * Disallow dependencies with untrusted licenses.
2171
+ See https://biomejs.dev/linter/rules/no-untrusted-licenses
2172
+ */
2173
+ noUntrustedLicenses?: NoUntrustedLicensesConfiguration;
2174
+ /**
2160
2175
  * Disallow redundant return statements.
2161
2176
  See https://biomejs.dev/linter/rules/no-useless-return
2162
2177
  */
@@ -3956,6 +3971,9 @@ type NoDuplicateGraphqlOperationNameConfiguration =
3956
3971
  type NoDuplicateInputFieldNamesConfiguration =
3957
3972
  | RulePlainConfiguration
3958
3973
  | RuleWithNoDuplicateInputFieldNamesOptions;
3974
+ type NoDuplicateSelectorsConfiguration =
3975
+ | RulePlainConfiguration
3976
+ | RuleWithNoDuplicateSelectorsOptions;
3959
3977
  type NoDuplicateVariableNamesConfiguration =
3960
3978
  | RulePlainConfiguration
3961
3979
  | RuleWithNoDuplicateVariableNamesOptions;
@@ -3987,6 +4005,9 @@ type NoHexColorsConfiguration =
3987
4005
  type NoIncrementDecrementConfiguration =
3988
4006
  | RulePlainConfiguration
3989
4007
  | RuleWithNoIncrementDecrementOptions;
4008
+ type NoInlineStylesConfiguration =
4009
+ | RulePlainConfiguration
4010
+ | RuleWithNoInlineStylesOptions;
3990
4011
  type NoJsxPropsBindConfiguration =
3991
4012
  | RulePlainConfiguration
3992
4013
  | RuleWithNoJsxPropsBindOptions;
@@ -4068,6 +4089,9 @@ type NoUnknownAttributeConfiguration =
4068
4089
  type NoUnnecessaryConditionsConfiguration =
4069
4090
  | RulePlainConfiguration
4070
4091
  | RuleWithNoUnnecessaryConditionsOptions;
4092
+ type NoUntrustedLicensesConfiguration =
4093
+ | RulePlainConfiguration
4094
+ | RuleWithNoUntrustedLicensesOptions;
4071
4095
  type NoUselessReturnConfiguration =
4072
4096
  | RulePlainConfiguration
4073
4097
  | RuleWithNoUselessReturnOptions;
@@ -5581,6 +5605,10 @@ interface RuleWithNoDuplicateInputFieldNamesOptions {
5581
5605
  level: RulePlainConfiguration;
5582
5606
  options?: NoDuplicateInputFieldNamesOptions;
5583
5607
  }
5608
+ interface RuleWithNoDuplicateSelectorsOptions {
5609
+ level: RulePlainConfiguration;
5610
+ options?: NoDuplicateSelectorsOptions;
5611
+ }
5584
5612
  interface RuleWithNoDuplicateVariableNamesOptions {
5585
5613
  level: RulePlainConfiguration;
5586
5614
  options?: NoDuplicateVariableNamesOptions;
@@ -5627,6 +5655,11 @@ interface RuleWithNoIncrementDecrementOptions {
5627
5655
  level: RulePlainConfiguration;
5628
5656
  options?: NoIncrementDecrementOptions;
5629
5657
  }
5658
+ interface RuleWithNoInlineStylesOptions {
5659
+ fix?: FixKind;
5660
+ level: RulePlainConfiguration;
5661
+ options?: NoInlineStylesOptions;
5662
+ }
5630
5663
  interface RuleWithNoJsxPropsBindOptions {
5631
5664
  level: RulePlainConfiguration;
5632
5665
  options?: NoJsxPropsBindOptions;
@@ -5749,6 +5782,10 @@ interface RuleWithNoUnnecessaryConditionsOptions {
5749
5782
  level: RulePlainConfiguration;
5750
5783
  options?: NoUnnecessaryConditionsOptions;
5751
5784
  }
5785
+ interface RuleWithNoUntrustedLicensesOptions {
5786
+ level: RulePlainConfiguration;
5787
+ options?: NoUntrustedLicensesOptions;
5788
+ }
5752
5789
  interface RuleWithNoUselessReturnOptions {
5753
5790
  fix?: FixKind;
5754
5791
  level: RulePlainConfiguration;
@@ -5797,6 +5834,7 @@ interface RuleWithUseConsistentGraphqlDescriptionsOptions {
5797
5834
  options?: UseConsistentGraphqlDescriptionsOptions;
5798
5835
  }
5799
5836
  interface RuleWithUseConsistentMethodSignaturesOptions {
5837
+ fix?: FixKind;
5800
5838
  level: RulePlainConfiguration;
5801
5839
  options?: UseConsistentMethodSignaturesOptions;
5802
5840
  }
@@ -7188,6 +7226,7 @@ type NoDuplicateEnumValuesOptions = {};
7188
7226
  type NoDuplicateFieldDefinitionNamesOptions = {};
7189
7227
  type NoDuplicateGraphqlOperationNameOptions = {};
7190
7228
  type NoDuplicateInputFieldNamesOptions = {};
7229
+ type NoDuplicateSelectorsOptions = {};
7191
7230
  type NoDuplicateVariableNamesOptions = {};
7192
7231
  type NoDuplicatedSpreadPropsOptions = {};
7193
7232
  type NoEmptyObjectKeysOptions = {};
@@ -7218,6 +7257,7 @@ interface NoIncrementDecrementOptions {
7218
7257
  */
7219
7258
  allowForLoopAfterthoughts?: boolean;
7220
7259
  }
7260
+ type NoInlineStylesOptions = {};
7221
7261
  type NoJsxPropsBindOptions = {};
7222
7262
  type NoLeakedRenderOptions = {};
7223
7263
  type NoMisusedPromisesOptions = {};
@@ -7263,6 +7303,40 @@ interface NoUnknownAttributeOptions {
7263
7303
  ignore?: string[];
7264
7304
  }
7265
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
+ }
7266
7340
  type NoUselessReturnOptions = {};
7267
7341
  type NoVueArrowFuncInWatchOptions = {};
7268
7342
  type NoVueOptionsApiOptions = {};
@@ -8220,6 +8294,7 @@ type Category =
8220
8294
  | "lint/nursery/noDuplicateFieldDefinitionNames"
8221
8295
  | "lint/nursery/noDuplicateGraphqlOperationName"
8222
8296
  | "lint/nursery/noDuplicateInputFieldNames"
8297
+ | "lint/nursery/noDuplicateSelectors"
8223
8298
  | "lint/nursery/noDuplicateVariableNames"
8224
8299
  | "lint/nursery/noDuplicatedSpreadProps"
8225
8300
  | "lint/nursery/noEmptyObjectKeys"
@@ -8232,6 +8307,7 @@ type Category =
8232
8307
  | "lint/nursery/noHexColors"
8233
8308
  | "lint/nursery/noImplicitCoercion"
8234
8309
  | "lint/nursery/noIncrementDecrement"
8310
+ | "lint/nursery/noInlineStyles"
8235
8311
  | "lint/nursery/noJsxPropsBind"
8236
8312
  | "lint/nursery/noLeakedRender"
8237
8313
  | "lint/nursery/noMissingGenericFamilyKeyword"
@@ -8260,9 +8336,11 @@ type Category =
8260
8336
  | "lint/nursery/noShadow"
8261
8337
  | "lint/nursery/noSyncScripts"
8262
8338
  | "lint/nursery/noTernary"
8339
+ | "lint/nursery/noTopLevelLiterals"
8263
8340
  | "lint/nursery/noUndeclaredEnvVars"
8264
8341
  | "lint/nursery/noUnknownAttribute"
8265
8342
  | "lint/nursery/noUnnecessaryConditions"
8343
+ | "lint/nursery/noUntrustedLicenses"
8266
8344
  | "lint/nursery/noUnwantedPolyfillio"
8267
8345
  | "lint/nursery/noUselessBackrefInRegex"
8268
8346
  | "lint/nursery/noUselessReturn"
@@ -8305,7 +8383,6 @@ type Category =
8305
8383
  | "lint/nursery/useScopedStyles"
8306
8384
  | "lint/nursery/useSortedClasses"
8307
8385
  | "lint/nursery/useSpread"
8308
- | "lint/nursery/noTopLevelLiterals"
8309
8386
  | "lint/nursery/useUnicodeRegex"
8310
8387
  | "lint/nursery/useUniqueArgumentNames"
8311
8388
  | "lint/nursery/useUniqueFieldDefinitionNames"
@@ -8790,6 +8867,12 @@ type EmbeddingKind =
8790
8867
  | {
8791
8868
  Vue: {
8792
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
+ /**
8793
8876
  * Whether this is a v-on event handler (e.g., @click="handler")
8794
8877
  */
8795
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.8",
8
+ "version": "2.4.9",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",