@biomejs/wasm-web 2.3.3 → 2.3.4

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
@@ -1513,6 +1513,10 @@ interface Correctness {
1513
1513
  useYield?: RuleConfiguration_for_UseYieldOptions;
1514
1514
  }
1515
1515
  interface Nursery {
1516
+ /**
1517
+ * Disallow continue statements.
1518
+ */
1519
+ noContinue?: RuleConfiguration_for_NoContinueOptions;
1516
1520
  /**
1517
1521
  * Restrict imports of deprecated exports.
1518
1522
  */
@@ -2895,6 +2899,9 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
2895
2899
  type RuleConfiguration_for_UseYieldOptions =
2896
2900
  | RulePlainConfiguration
2897
2901
  | RuleWithOptions_for_UseYieldOptions;
2902
+ type RuleConfiguration_for_NoContinueOptions =
2903
+ | RulePlainConfiguration
2904
+ | RuleWithOptions_for_NoContinueOptions;
2898
2905
  type RuleConfiguration_for_NoDeprecatedImportsOptions =
2899
2906
  | RulePlainConfiguration
2900
2907
  | RuleWithOptions_for_NoDeprecatedImportsOptions;
@@ -5318,6 +5325,16 @@ interface RuleWithOptions_for_UseYieldOptions {
5318
5325
  */
5319
5326
  options: UseYieldOptions;
5320
5327
  }
5328
+ interface RuleWithOptions_for_NoContinueOptions {
5329
+ /**
5330
+ * The severity of the emitted diagnostics by the rule
5331
+ */
5332
+ level: RulePlainConfiguration;
5333
+ /**
5334
+ * Rule's options
5335
+ */
5336
+ options: NoContinueOptions;
5337
+ }
5321
5338
  interface RuleWithOptions_for_NoDeprecatedImportsOptions {
5322
5339
  /**
5323
5340
  * The severity of the emitted diagnostics by the rule
@@ -8022,7 +8039,7 @@ interface NoRestrictedElementsOptions {
8022
8039
  /**
8023
8040
  * Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
8024
8041
  */
8025
- elements: CustomRestrictedElements;
8042
+ elements?: CustomRestrictedElements;
8026
8043
  }
8027
8044
  interface NoSelfAssignOptions {}
8028
8045
  interface NoSetterReturnOptions {}
@@ -8121,6 +8138,7 @@ interface UseUniqueElementIdsOptions {
8121
8138
  interface UseValidForDirectionOptions {}
8122
8139
  interface UseValidTypeofOptions {}
8123
8140
  interface UseYieldOptions {}
8141
+ interface NoContinueOptions {}
8124
8142
  interface NoDeprecatedImportsOptions {}
8125
8143
  interface NoDuplicateDependenciesOptions {}
8126
8144
  interface NoEmptySourceOptions {
@@ -8162,7 +8180,7 @@ interface NoParametersOnlyUsedInRecursionOptions {}
8162
8180
  interface NoReactForwardRefOptions {}
8163
8181
  interface NoShadowOptions {}
8164
8182
  interface NoUnknownAttributeOptions {
8165
- ignore: string[];
8183
+ ignore?: string[];
8166
8184
  }
8167
8185
  interface NoUnnecessaryConditionsOptions {}
8168
8186
  interface NoUnresolvedImportsOptions {}
@@ -8277,13 +8295,13 @@ interface NoRestrictedGlobalsOptions {
8277
8295
  /**
8278
8296
  * A list of names that should trigger the rule
8279
8297
  */
8280
- deniedGlobals: Record<string, string>;
8298
+ deniedGlobals?: Record<string, string>;
8281
8299
  }
8282
8300
  interface NoRestrictedImportsOptions {
8283
8301
  /**
8284
8302
  * A list of import paths that should trigger the rule.
8285
8303
  */
8286
- paths: Record<string, Paths>;
8304
+ paths?: Record<string, Paths>;
8287
8305
  /**
8288
8306
  * gitignore-style patterns that should trigger the rule.
8289
8307
  */
@@ -8312,7 +8330,7 @@ interface UseComponentExportOnlyModulesOptions {
8312
8330
  /**
8313
8331
  * A list of names that can be additionally exported from the module This option is for exports that do not hinder [React Fast Refresh](https://github.com/facebook/react/tree/main/packages/react-refresh), such as [`meta` in Remix](https://remix.run/docs/en/main/route/meta)
8314
8332
  */
8315
- allowExportNames: string[];
8333
+ allowExportNames?: string[];
8316
8334
  }
8317
8335
  interface UseConsistentArrayTypeOptions {
8318
8336
  syntax?: ConsistentArrayType;
@@ -8347,7 +8365,7 @@ interface UseFilenamingConventionOptions {
8347
8365
  /**
8348
8366
  * Allowed cases for file names.
8349
8367
  */
8350
- filenameCases: FilenameCases;
8368
+ filenameCases?: FilenameCases;
8351
8369
  /**
8352
8370
  * Regular expression to enforce
8353
8371
  */
@@ -8355,11 +8373,11 @@ interface UseFilenamingConventionOptions {
8355
8373
  /**
8356
8374
  * If `false`, then non-ASCII characters are allowed.
8357
8375
  */
8358
- requireAscii: boolean;
8376
+ requireAscii?: boolean;
8359
8377
  /**
8360
8378
  * If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
8361
8379
  */
8362
- strictCase: boolean;
8380
+ strictCase?: boolean;
8363
8381
  }
8364
8382
  interface UseForOfOptions {}
8365
8383
  interface UseFragmentSyntaxOptions {}
@@ -8376,15 +8394,15 @@ interface UseNamingConventionOptions {
8376
8394
  /**
8377
8395
  * Custom conventions.
8378
8396
  */
8379
- conventions: Convention[];
8397
+ conventions?: Convention[];
8380
8398
  /**
8381
8399
  * If `false`, then non-ASCII characters are allowed.
8382
8400
  */
8383
- requireAscii: boolean;
8401
+ requireAscii?: boolean;
8384
8402
  /**
8385
8403
  * If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
8386
8404
  */
8387
- strictCase: boolean;
8405
+ strictCase?: boolean;
8388
8406
  }
8389
8407
  interface UseNodeAssertStrictOptions {}
8390
8408
  interface UseNodejsImportProtocolOptions {}
@@ -8396,7 +8414,7 @@ interface UseReadonlyClassPropertiesOptions {
8396
8414
  /**
8397
8415
  * When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
8398
8416
  */
8399
- checkAllProperties: boolean;
8417
+ checkAllProperties?: boolean;
8400
8418
  }
8401
8419
  interface UseSelfClosingElementsOptions {
8402
8420
  ignoreHtmlElements?: boolean;
@@ -8420,7 +8438,7 @@ interface NoBitwiseOperatorsOptions {
8420
8438
  /**
8421
8439
  * Allows a list of bitwise operators to be used as exceptions.
8422
8440
  */
8423
- allow: string[];
8441
+ allow?: string[];
8424
8442
  }
8425
8443
  interface NoCatchAssignOptions {}
8426
8444
  interface NoClassAssignOptions {}
@@ -8430,14 +8448,14 @@ interface NoConfusingLabelsOptions {
8430
8448
  /**
8431
8449
  * A list of (non-confusing) labels that should be allowed
8432
8450
  */
8433
- allowedLabels: string[];
8451
+ allowedLabels?: string[];
8434
8452
  }
8435
8453
  interface NoConfusingVoidTypeOptions {}
8436
8454
  interface NoConsoleOptions {
8437
8455
  /**
8438
8456
  * Allowed calls on the console object.
8439
8457
  */
8440
- allow: string[];
8458
+ allow?: string[];
8441
8459
  }
8442
8460
  interface NoConstEnumOptions {}
8443
8461
  interface NoConstantBinaryExpressionsOptions {}
@@ -8451,7 +8469,7 @@ interface NoDoubleEqualsOptions {
8451
8469
 
8452
8470
  If `false`, no such exception will be made.
8453
8471
  */
8454
- ignoreNull: boolean;
8472
+ ignoreNull?: boolean;
8455
8473
  }
8456
8474
  interface NoDuplicateAtImportRulesOptions {}
8457
8475
  interface NoDuplicateCaseOptions {}
@@ -8892,6 +8910,7 @@ type Category =
8892
8910
  | "lint/correctness/useValidTypeof"
8893
8911
  | "lint/correctness/useYield"
8894
8912
  | "lint/nursery/noColorInvalidHex"
8913
+ | "lint/nursery/noContinue"
8895
8914
  | "lint/nursery/noDeprecatedImports"
8896
8915
  | "lint/nursery/noDuplicateDependencies"
8897
8916
  | "lint/nursery/noEmptySource"
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.3.3",
8
+ "version": "2.3.4",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",