@biomejs/wasm-nodejs 1.4.0 → 1.4.1-nightly.bc772a3

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
@@ -753,6 +753,10 @@ interface Nursery {
753
753
  * Disallow use of implicit any type on variable declarations.
754
754
  */
755
755
  noImplicitAnyLet?: RuleConfiguration;
756
+ /**
757
+ * Disallow characters made with multiple code points in character class syntax.
758
+ */
759
+ noMisleadingCharacterClass?: RuleConfiguration;
756
760
  /**
757
761
  * Disallow unused imports.
758
762
  */
@@ -773,6 +777,10 @@ interface Nursery {
773
777
  * Ensure async functions utilize await.
774
778
  */
775
779
  useAwait?: RuleConfiguration;
780
+ /**
781
+ * This rule recommends a for-of loop when in a for loop, the index used to extract an item from the iterated array.
782
+ */
783
+ useForOf?: RuleConfiguration;
776
784
  /**
777
785
  * Enforce the use of import type when an import only has specifiers with type qualifier.
778
786
  */
@@ -785,6 +793,10 @@ interface Nursery {
785
793
  * Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
786
794
  */
787
795
  useRegexLiterals?: RuleConfiguration;
796
+ /**
797
+ * Enforce using function types instead of object type with call signatures.
798
+ */
799
+ useShorthandFunctionType?: RuleConfiguration;
788
800
  /**
789
801
  * Elements with ARIA roles must use a valid, non-abstract ARIA role.
790
802
  */
@@ -1422,15 +1434,18 @@ type Category =
1422
1434
  | "lint/nursery/noDuplicateJsonKeys"
1423
1435
  | "lint/nursery/noEmptyBlockStatements"
1424
1436
  | "lint/nursery/noImplicitAnyLet"
1437
+ | "lint/nursery/noMisleadingCharacterClass"
1425
1438
  | "lint/nursery/noUnusedImports"
1426
1439
  | "lint/nursery/noUnusedPrivateClassMembers"
1427
1440
  | "lint/nursery/noUselessLoneBlockStatements"
1428
1441
  | "lint/nursery/useAwait"
1429
1442
  | "lint/nursery/useBiomeSuppressionComment"
1443
+ | "lint/nursery/useForOf"
1430
1444
  | "lint/nursery/useGroupedTypeImport"
1431
1445
  | "lint/nursery/useImportRestrictions"
1432
1446
  | "lint/nursery/useRegexLiterals"
1433
1447
  | "lint/nursery/useValidAriaRole"
1448
+ | "lint/nursery/useShorthandFunctionType"
1434
1449
  | "lint/performance/noAccumulatingSpread"
1435
1450
  | "lint/performance/noDelete"
1436
1451
  | "lint/security/noDangerouslySetInnerHtml"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.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"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.4.1-nightly.bc772a3","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"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}