@biomejs/wasm-web 2.0.0-beta.6 → 2.0.1

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
@@ -769,7 +769,7 @@ type QuoteProperties = "asNeeded" | "preserve";
769
769
  type Semicolons = "always" | "asNeeded";
770
770
  type TrailingCommas = "all" | "es5" | "none";
771
771
  type TrailingCommas2 = "none" | "all";
772
- type RuleDomain = "react" | "test" | "solid" | "next" | "project";
772
+ type RuleDomain = "react" | "test" | "solid" | "next" | "vue" | "project";
773
773
  type RuleDomainValue = "all" | "none" | "recommended";
774
774
  type SeverityOrGroup_for_A11y = GroupPlainConfiguration | A11y;
775
775
  type SeverityOrGroup_for_Complexity = GroupPlainConfiguration | Complexity;
@@ -1684,7 +1684,7 @@ interface Style {
1684
1684
  /**
1685
1685
  * Disallow reassigning function parameters.
1686
1686
  */
1687
- noParameterAssign?: RuleConfiguration_for_Null;
1687
+ noParameterAssign?: RuleConfiguration_for_NoParameterAssignOptions;
1688
1688
  /**
1689
1689
  * Disallow the use of parameter properties in class constructors.
1690
1690
  */
@@ -2292,6 +2292,9 @@ type RuleFixConfiguration_for_UtilityClassSortingOptions =
2292
2292
  type RuleFixConfiguration_for_NoBlankTargetOptions =
2293
2293
  | RulePlainConfiguration
2294
2294
  | RuleWithFixOptions_for_NoBlankTargetOptions;
2295
+ type RuleConfiguration_for_NoParameterAssignOptions =
2296
+ | RulePlainConfiguration
2297
+ | RuleWithOptions_for_NoParameterAssignOptions;
2295
2298
  type RuleConfiguration_for_RestrictedGlobalsOptions =
2296
2299
  | RulePlainConfiguration
2297
2300
  | RuleWithOptions_for_RestrictedGlobalsOptions;
@@ -2577,6 +2580,16 @@ interface RuleWithFixOptions_for_NoBlankTargetOptions {
2577
2580
  */
2578
2581
  options: NoBlankTargetOptions;
2579
2582
  }
2583
+ interface RuleWithOptions_for_NoParameterAssignOptions {
2584
+ /**
2585
+ * The severity of the emitted diagnostics by the rule
2586
+ */
2587
+ level: RulePlainConfiguration;
2588
+ /**
2589
+ * Rule's options
2590
+ */
2591
+ options: NoParameterAssignOptions;
2592
+ }
2580
2593
  interface RuleWithOptions_for_RestrictedGlobalsOptions {
2581
2594
  /**
2582
2595
  * The severity of the emitted diagnostics by the rule
@@ -2803,7 +2816,7 @@ interface UndeclaredVariablesOptions {
2803
2816
  }
2804
2817
  interface NoUnusedVariablesOptions {
2805
2818
  /**
2806
- * Whether to ignore unused variables from an object destructuring with a spread (i.e.: whether `a` and `b` in `const { a, b, ...rest } = obj` should be ignored by this rule).
2819
+ * Whether to ignore unused variables from an object destructuring with a spread.
2807
2820
  */
2808
2821
  ignoreRestSiblings?: boolean;
2809
2822
  }
@@ -2878,6 +2891,12 @@ interface NoBlankTargetOptions {
2878
2891
  */
2879
2892
  allowNoReferrer?: boolean;
2880
2893
  }
2894
+ interface NoParameterAssignOptions {
2895
+ /**
2896
+ * Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to `allow`.
2897
+ */
2898
+ propertyAssignment?: PropertyAssignmentMode;
2899
+ }
2881
2900
  interface RestrictedGlobalsOptions {
2882
2901
  /**
2883
2902
  * A list of names that should trigger the rule
@@ -2998,6 +3017,7 @@ For example, for React's `useRef()` hook the value would be `true`, while for `u
2998
3017
  }
2999
3018
  type CustomRestrictedElements = Record<string, string>;
3000
3019
  type ObjectPropertySyntax = "explicit" | "shorthand";
3020
+ type PropertyAssignmentMode = "allow" | "deny";
3001
3021
  type CustomRestrictedImport = string | CustomRestrictedImportOptions;
3002
3022
  type CustomRestrictedType = string | CustomRestrictedTypeOptions;
3003
3023
  type ConsistentArrayType = "shorthand" | "generic";
@@ -3641,7 +3661,7 @@ interface OpenProjectResult {
3641
3661
  */
3642
3662
  scanKind: ScanKind;
3643
3663
  }
3644
- type ScanKind = "none" | "knownFiles" | "project";
3664
+ type ScanKind = "noScanner" | "knownFiles" | "project";
3645
3665
  interface OpenFileParams {
3646
3666
  content: FileContent;
3647
3667
  documentFileSource?: DocumentFileSource;
@@ -3777,6 +3797,7 @@ interface PullDiagnosticsResult {
3777
3797
  skippedDiagnostics: number;
3778
3798
  }
3779
3799
  interface PullActionsParams {
3800
+ categories?: RuleCategories;
3780
3801
  enabledRules?: RuleCode[];
3781
3802
  only?: RuleCode[];
3782
3803
  path: BiomePath;
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.0.0-beta.6",
8
+ "version": "2.0.1",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",
@@ -27,5 +27,8 @@
27
27
  "linter",
28
28
  "formatter",
29
29
  "wasm"
30
- ]
30
+ ],
31
+ "publishConfig": {
32
+ "provenance": true
33
+ }
31
34
  }