@biomejs/wasm-web 1.6.0 → 1.6.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
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export function main(): void;
6
6
  interface SupportsFeatureParams {
7
- feature: FeatureName[];
7
+ features: FeatureName[];
8
8
  path: BiomePath;
9
9
  }
10
10
  type FeatureName = "Format" | "Lint" | "OrganizeImports";
@@ -842,10 +842,22 @@ interface Nursery {
842
842
  * Disallow the use of barrel file.
843
843
  */
844
844
  noBarrelFile?: RuleConfiguration_for_Null;
845
+ /**
846
+ * Succinct description of the rule.
847
+ */
848
+ noColorInvalidHex?: RuleConfiguration_for_Null;
845
849
  /**
846
850
  * Disallow the use of console.
847
851
  */
848
852
  noConsole?: RuleConfiguration_for_Null;
853
+ /**
854
+ * Disallow using a callback in asynchronous tests and hooks.
855
+ */
856
+ noDoneCallback?: RuleConfiguration_for_Null;
857
+ /**
858
+ * Disallow duplicate conditions in if-else-if chains
859
+ */
860
+ noDuplicateElseIf?: RuleConfiguration_for_Null;
849
861
  /**
850
862
  * Disallow two keys with the same name inside a JSON object.
851
863
  */
@@ -1512,7 +1524,7 @@ interface ConsistentArrayTypeOptions {
1512
1524
  }
1513
1525
  interface FilenamingConventionOptions {
1514
1526
  /**
1515
- * Allowed cases for _TypeScript_ `enum` member names.
1527
+ * Allowed cases for file names.
1516
1528
  */
1517
1529
  filenameCases: FilenameCases;
1518
1530
  /**
@@ -1604,8 +1616,8 @@ interface JsFileSource {
1604
1616
  version: LanguageVersion;
1605
1617
  }
1606
1618
  interface JsonFileSource {
1607
- allow_trailing_comma: boolean;
1608
- variant: JsonVariant;
1619
+ allow_comments: boolean;
1620
+ allow_trailing_commas: boolean;
1609
1621
  }
1610
1622
  interface CssFileSource {
1611
1623
  variant: CssVariant;
@@ -1615,7 +1627,6 @@ type Language = "JavaScript" | { TypeScript: { definition_file: boolean } };
1615
1627
  type ModuleKind = "Script" | "Module";
1616
1628
  type LanguageVariant = "Standard" | "StandardRestricted" | "Jsx";
1617
1629
  type LanguageVersion = "ES2022" | "ESNext";
1618
- type JsonVariant = "Standard" | "Jsonc";
1619
1630
  type CssVariant = "Standard";
1620
1631
  interface ChangeFileParams {
1621
1632
  content: string;
@@ -1769,9 +1780,13 @@ type Category =
1769
1780
  | "lint/correctness/useIsNan"
1770
1781
  | "lint/correctness/useValidForDirection"
1771
1782
  | "lint/correctness/useYield"
1783
+ | "lint/nursery/colorNoInvalidHex"
1772
1784
  | "lint/nursery/noApproximativeNumericConstant"
1773
1785
  | "lint/nursery/noBarrelFile"
1786
+ | "lint/nursery/noColorInvalidHex"
1774
1787
  | "lint/nursery/noConsole"
1788
+ | "lint/nursery/noDoneCallback"
1789
+ | "lint/nursery/noDuplicateElseIf"
1775
1790
  | "lint/nursery/noDuplicateJsonKeys"
1776
1791
  | "lint/nursery/noDuplicateTestHooks"
1777
1792
  | "lint/nursery/noExcessiveNestedTestSuites"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.6.0","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.6.2","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}