@biomejs/wasm-web 1.8.1 → 1.8.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 CHANGED
@@ -949,6 +949,10 @@ interface Nursery {
949
949
  * Disallow invalid !important within keyframe declarations
950
950
  */
951
951
  noImportantInKeyframe?: RuleConfiguration_for_Null;
952
+ /**
953
+ * Disallow non-standard direction values for linear gradient functions.
954
+ */
955
+ noInvalidDirectionInLinearGradient?: RuleConfiguration_for_Null;
952
956
  /**
953
957
  * Disallow the use of @import at-rules in invalid positions.
954
958
  */
@@ -973,6 +977,10 @@ interface Nursery {
973
977
  * Disallow shorthand properties that override related longhand properties.
974
978
  */
975
979
  noShorthandPropertyOverrides?: RuleConfiguration_for_Null;
980
+ /**
981
+ * Enforce the use of String.slice() over String.substr() and String.substring().
982
+ */
983
+ noSubstr?: RuleFixConfiguration_for_Null;
976
984
  /**
977
985
  * Disallow the use of dependencies that aren't specified in the package.json.
978
986
  */
@@ -1034,7 +1042,7 @@ interface Nursery {
1034
1042
  */
1035
1043
  useConsistentBuiltinInstantiation?: RuleFixConfiguration_for_Null;
1036
1044
  /**
1037
- * Disallowing invalid named grid areas in CSS Grid Layouts.
1045
+ * Disallows invalid named grid areas in CSS Grid Layouts.
1038
1046
  */
1039
1047
  useConsistentGridAreas?: RuleConfiguration_for_Null;
1040
1048
  /**
@@ -1093,6 +1101,10 @@ interface Nursery {
1093
1101
  * Require regex literals to be declared at the top level.
1094
1102
  */
1095
1103
  useTopLevelRegex?: RuleConfiguration_for_Null;
1104
+ /**
1105
+ * Use valid values for the autocomplete attribute on input elements.
1106
+ */
1107
+ useValidAutocomplete?: RuleConfiguration_for_UseValidAutocompleteOptions;
1096
1108
  }
1097
1109
  interface Performance {
1098
1110
  /**
@@ -1628,6 +1640,9 @@ type RuleConfiguration_for_RestrictedImportsOptions =
1628
1640
  type RuleFixConfiguration_for_UtilityClassSortingOptions =
1629
1641
  | RulePlainConfiguration
1630
1642
  | RuleWithFixOptions_for_UtilityClassSortingOptions;
1643
+ type RuleConfiguration_for_UseValidAutocompleteOptions =
1644
+ | RulePlainConfiguration
1645
+ | RuleWithOptions_for_UseValidAutocompleteOptions;
1631
1646
  type RuleConfiguration_for_RestrictedGlobalsOptions =
1632
1647
  | RulePlainConfiguration
1633
1648
  | RuleWithOptions_for_RestrictedGlobalsOptions;
@@ -1743,6 +1758,16 @@ interface RuleWithFixOptions_for_UtilityClassSortingOptions {
1743
1758
  */
1744
1759
  options: UtilityClassSortingOptions;
1745
1760
  }
1761
+ interface RuleWithOptions_for_UseValidAutocompleteOptions {
1762
+ /**
1763
+ * The severity of the emitted diagnostics by the rule
1764
+ */
1765
+ level: RulePlainConfiguration;
1766
+ /**
1767
+ * Rule's options
1768
+ */
1769
+ options: UseValidAutocompleteOptions;
1770
+ }
1746
1771
  interface RuleWithOptions_for_RestrictedGlobalsOptions {
1747
1772
  /**
1748
1773
  * The severity of the emitted diagnostics by the rule
@@ -1839,6 +1864,12 @@ interface UtilityClassSortingOptions {
1839
1864
  */
1840
1865
  functions?: string[];
1841
1866
  }
1867
+ interface UseValidAutocompleteOptions {
1868
+ /**
1869
+ * `input` like custom components that should be checked.
1870
+ */
1871
+ inputComponents: string[];
1872
+ }
1842
1873
  interface RestrictedGlobalsOptions {
1843
1874
  /**
1844
1875
  * A list of names that should trigger the rule
@@ -2214,6 +2245,7 @@ type Category =
2214
2245
  | "lint/nursery/noEmptyBlock"
2215
2246
  | "lint/nursery/noEvolvingTypes"
2216
2247
  | "lint/nursery/noImportantInKeyframe"
2248
+ | "lint/nursery/noInvalidDirectionInLinearGradient"
2217
2249
  | "lint/nursery/noInvalidPositionAtImportRule"
2218
2250
  | "lint/nursery/noLabelWithoutControl"
2219
2251
  | "lint/nursery/noMisplacedAssertion"
@@ -2221,6 +2253,7 @@ type Category =
2221
2253
  | "lint/nursery/noReactSpecificProps"
2222
2254
  | "lint/nursery/noRestrictedImports"
2223
2255
  | "lint/nursery/noShorthandPropertyOverrides"
2256
+ | "lint/nursery/noSubstr"
2224
2257
  | "lint/nursery/noTypeOnlyImportAttributes"
2225
2258
  | "lint/nursery/noUndeclaredDependencies"
2226
2259
  | "lint/nursery/noUnknownFunction"
@@ -2252,6 +2285,7 @@ type Category =
2252
2285
  | "lint/nursery/useThrowNewError"
2253
2286
  | "lint/nursery/useThrowOnlyError"
2254
2287
  | "lint/nursery/useTopLevelRegex"
2288
+ | "lint/nursery/useValidAutocomplete"
2255
2289
  | "lint/performance/noAccumulatingSpread"
2256
2290
  | "lint/performance/noBarrelFile"
2257
2291
  | "lint/performance/noDelete"
@@ -2357,6 +2391,7 @@ type Category =
2357
2391
  | "lint/suspicious/useIsArray"
2358
2392
  | "lint/suspicious/useNamespaceKeyword"
2359
2393
  | "lint/suspicious/useValidTypeof"
2394
+ | "assists/nursery/useSortedKeys"
2360
2395
  | "files/missingHandler"
2361
2396
  | "format"
2362
2397
  | "check"
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Biome Developers and Contributors"
5
5
  ],
6
6
  "description": "WebAssembly bindings to the Biome workspace API",
7
- "version": "1.8.1",
7
+ "version": "1.8.2",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",