@biomejs/wasm-nodejs 2.2.6 → 2.2.7

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
@@ -1492,6 +1492,10 @@ interface Nursery {
1492
1492
  * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
1493
1493
  */
1494
1494
  noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
1495
+ /**
1496
+ * Disallow empty sources.
1497
+ */
1498
+ noEmptySource?: RuleConfiguration_for_NoEmptySourceOptions;
1495
1499
  /**
1496
1500
  * Require Promise-like statements to be handled appropriately.
1497
1501
  */
@@ -2859,6 +2863,9 @@ type RuleConfiguration_for_NoDeprecatedImportsOptions =
2859
2863
  type RuleConfiguration_for_NoDuplicateDependenciesOptions =
2860
2864
  | RulePlainConfiguration
2861
2865
  | RuleWithOptions_for_NoDuplicateDependenciesOptions;
2866
+ type RuleConfiguration_for_NoEmptySourceOptions =
2867
+ | RulePlainConfiguration
2868
+ | RuleWithOptions_for_NoEmptySourceOptions;
2862
2869
  type RuleFixConfiguration_for_NoFloatingPromisesOptions =
2863
2870
  | RulePlainConfiguration
2864
2871
  | RuleWithFixOptions_for_NoFloatingPromisesOptions;
@@ -5263,6 +5270,16 @@ interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
5263
5270
  */
5264
5271
  options: NoDuplicateDependenciesOptions;
5265
5272
  }
5273
+ interface RuleWithOptions_for_NoEmptySourceOptions {
5274
+ /**
5275
+ * The severity of the emitted diagnostics by the rule
5276
+ */
5277
+ level: RulePlainConfiguration;
5278
+ /**
5279
+ * Rule's options
5280
+ */
5281
+ options: NoEmptySourceOptions;
5282
+ }
5266
5283
  interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
5267
5284
  /**
5268
5285
  * The kind of the code actions emitted by the rule
@@ -8027,6 +8044,12 @@ interface UseValidTypeofOptions {}
8027
8044
  interface UseYieldOptions {}
8028
8045
  interface NoDeprecatedImportsOptions {}
8029
8046
  interface NoDuplicateDependenciesOptions {}
8047
+ interface NoEmptySourceOptions {
8048
+ /**
8049
+ * Whether comments are considered meaningful
8050
+ */
8051
+ allowComments?: boolean;
8052
+ }
8030
8053
  interface NoFloatingPromisesOptions {}
8031
8054
  interface NoImportCyclesOptions {
8032
8055
  /**
@@ -8772,6 +8795,7 @@ type Category =
8772
8795
  | "lint/nursery/noColorInvalidHex"
8773
8796
  | "lint/nursery/noDeprecatedImports"
8774
8797
  | "lint/nursery/noDuplicateDependencies"
8798
+ | "lint/nursery/noEmptySource"
8775
8799
  | "lint/nursery/noFloatingPromises"
8776
8800
  | "lint/nursery/noImplicitCoercion"
8777
8801
  | "lint/nursery/noImportCycles"
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": "2.2.6",
7
+ "version": "2.2.7",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",