@biomejs/wasm-nodejs 2.3.9 → 2.3.10

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
@@ -840,7 +840,8 @@ type RuleDomain =
840
840
  | "qwik"
841
841
  | "vue"
842
842
  | "project"
843
- | "tailwind";
843
+ | "tailwind"
844
+ | "turborepo";
844
845
  type RuleDomainValue = "all" | "none" | "recommended";
845
846
  type SeverityOrA11y = GroupPlainConfiguration | A11y;
846
847
  type SeverityOrComplexity = GroupPlainConfiguration | Complexity;
@@ -1702,6 +1703,11 @@ See <https://biomejs.dev/linter/rules/use-yield>
1702
1703
  useYield?: UseYieldConfiguration;
1703
1704
  }
1704
1705
  interface Nursery {
1706
+ /**
1707
+ * Disallow ambiguous anchor descriptions.
1708
+ See <https://biomejs.dev/linter/rules/no-ambiguous-anchor-text>
1709
+ */
1710
+ noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
1705
1711
  /**
1706
1712
  * Disallow continue statements.
1707
1713
  See <https://biomejs.dev/linter/rules/no-continue>
@@ -1813,6 +1819,11 @@ See <https://biomejs.dev/linter/rules/no-ternary>
1813
1819
  */
1814
1820
  noTernary?: NoTernaryConfiguration;
1815
1821
  /**
1822
+ * Disallow the use of undeclared environment variables.
1823
+ See <https://biomejs.dev/linter/rules/no-undeclared-env-vars>
1824
+ */
1825
+ noUndeclaredEnvVars?: NoUndeclaredEnvVarsConfiguration;
1826
+ /**
1816
1827
  * Disallow unknown DOM properties.
1817
1828
  See <https://biomejs.dev/linter/rules/no-unknown-attribute>
1818
1829
  */
@@ -3413,6 +3424,9 @@ type UseValidTypeofConfiguration =
3413
3424
  | RulePlainConfiguration
3414
3425
  | RuleWithUseValidTypeofOptions;
3415
3426
  type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
3427
+ type NoAmbiguousAnchorTextConfiguration =
3428
+ | RulePlainConfiguration
3429
+ | RuleWithNoAmbiguousAnchorTextOptions;
3416
3430
  type NoContinueConfiguration =
3417
3431
  | RulePlainConfiguration
3418
3432
  | RuleWithNoContinueOptions;
@@ -3471,6 +3485,9 @@ type NoSyncScriptsConfiguration =
3471
3485
  | RulePlainConfiguration
3472
3486
  | RuleWithNoSyncScriptsOptions;
3473
3487
  type NoTernaryConfiguration = RulePlainConfiguration | RuleWithNoTernaryOptions;
3488
+ type NoUndeclaredEnvVarsConfiguration =
3489
+ | RulePlainConfiguration
3490
+ | RuleWithNoUndeclaredEnvVarsOptions;
3474
3491
  type NoUnknownAttributeConfiguration =
3475
3492
  | RulePlainConfiguration
3476
3493
  | RuleWithNoUnknownAttributeOptions;
@@ -4791,6 +4808,10 @@ interface RuleWithUseYieldOptions {
4791
4808
  level: RulePlainConfiguration;
4792
4809
  options?: UseYieldOptions;
4793
4810
  }
4811
+ interface RuleWithNoAmbiguousAnchorTextOptions {
4812
+ level: RulePlainConfiguration;
4813
+ options?: NoAmbiguousAnchorTextOptions;
4814
+ }
4794
4815
  interface RuleWithNoContinueOptions {
4795
4816
  level: RulePlainConfiguration;
4796
4817
  options?: NoContinueOptions;
@@ -4884,6 +4905,10 @@ interface RuleWithNoTernaryOptions {
4884
4905
  level: RulePlainConfiguration;
4885
4906
  options?: NoTernaryOptions;
4886
4907
  }
4908
+ interface RuleWithNoUndeclaredEnvVarsOptions {
4909
+ level: RulePlainConfiguration;
4910
+ options?: NoUndeclaredEnvVarsOptions;
4911
+ }
4887
4912
  interface RuleWithNoUnknownAttributeOptions {
4888
4913
  level: RulePlainConfiguration;
4889
4914
  options?: NoUnknownAttributeOptions;
@@ -6141,6 +6166,12 @@ to a DOM element id.
6141
6166
  type UseValidForDirectionOptions = {};
6142
6167
  type UseValidTypeofOptions = {};
6143
6168
  type UseYieldOptions = {};
6169
+ interface NoAmbiguousAnchorTextOptions {
6170
+ /**
6171
+ * It allows users to modify the strings that can be checked for in the anchor text. Useful for specifying other words in other languages
6172
+ */
6173
+ words?: string[];
6174
+ }
6144
6175
  type NoContinueOptions = {};
6145
6176
  type NoDeprecatedImportsOptions = {};
6146
6177
  type NoDuplicateDependenciesOptions = {};
@@ -6194,6 +6225,15 @@ type NoScriptUrlOptions = {};
6194
6225
  type NoShadowOptions = {};
6195
6226
  type NoSyncScriptsOptions = {};
6196
6227
  type NoTernaryOptions = {};
6228
+ interface NoUndeclaredEnvVarsOptions {
6229
+ /**
6230
+ * Environment variables that should always be allowed.
6231
+ Use this to specify environment variables that are always available
6232
+ in your environment, even when not declared in turbo.json.
6233
+ Supports regular expressions, e.g. `["MY_ENV_.*"]`.
6234
+ */
6235
+ allowedEnvVars?: Regex[];
6236
+ }
6197
6237
  interface NoUnknownAttributeOptions {
6198
6238
  ignore?: string[];
6199
6239
  }
@@ -6650,6 +6690,7 @@ while for `useState()` it would be `[1]`.
6650
6690
  */
6651
6691
  stableResult?: StableHookResult;
6652
6692
  }
6693
+ type Regex = string;
6653
6694
  type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
6654
6695
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
6655
6696
  type PropertyAssignmentMode = "allow" | "deny";
@@ -6661,7 +6702,6 @@ type Accessibility = "noPublic" | "explicit" | "none";
6661
6702
  type ObjectPropertySyntax = "explicit" | "shorthand";
6662
6703
  type ConsistentTypeDefinition = "interface" | "type";
6663
6704
  type FilenameCases = FilenameCase[];
6664
- type Regex = string;
6665
6705
  type UseImportTypeStyle = "auto" | "inlineType" | "separatedType";
6666
6706
  interface Convention {
6667
6707
  /**
@@ -6975,6 +7015,7 @@ type Category =
6975
7015
  | "lint/correctness/useValidForDirection"
6976
7016
  | "lint/correctness/useValidTypeof"
6977
7017
  | "lint/correctness/useYield"
7018
+ | "lint/nursery/noAmbiguousAnchorText"
6978
7019
  | "lint/nursery/noColorInvalidHex"
6979
7020
  | "lint/nursery/noContinue"
6980
7021
  | "lint/nursery/noDeprecatedImports"
@@ -6996,9 +7037,11 @@ type Category =
6996
7037
  | "lint/nursery/noParametersOnlyUsedInRecursion"
6997
7038
  | "lint/nursery/noProto"
6998
7039
  | "lint/nursery/noReactForwardRef"
7040
+ | "lint/nursery/noScriptUrl"
6999
7041
  | "lint/nursery/noShadow"
7000
7042
  | "lint/nursery/noSyncScripts"
7001
7043
  | "lint/nursery/noTernary"
7044
+ | "lint/nursery/noUndeclaredEnvVars"
7002
7045
  | "lint/nursery/noUnknownAttribute"
7003
7046
  | "lint/nursery/noUnnecessaryConditions"
7004
7047
  | "lint/nursery/noUnresolvedImports"
@@ -7064,7 +7107,6 @@ type Category =
7064
7107
  | "lint/security/noDangerouslySetInnerHtml"
7065
7108
  | "lint/security/noDangerouslySetInnerHtmlWithChildren"
7066
7109
  | "lint/security/noGlobalEval"
7067
- | "lint/nursery/noScriptUrl"
7068
7110
  | "lint/security/noSecrets"
7069
7111
  | "lint/style/noCommonJs"
7070
7112
  | "lint/style/noDefaultExport"
@@ -7472,7 +7514,6 @@ interface GritFileSource {
7472
7514
  variant: GritVariant;
7473
7515
  }
7474
7516
  type EmbeddingKind =
7475
- | "Vue"
7476
7517
  | "Svelte"
7477
7518
  | "None"
7478
7519
  | {
@@ -7482,6 +7523,14 @@ type EmbeddingKind =
7482
7523
  */
7483
7524
  frontmatter: boolean;
7484
7525
  };
7526
+ }
7527
+ | {
7528
+ Vue: {
7529
+ /**
7530
+ * Whether the script is inside script tag with setup attribute
7531
+ */
7532
+ setup: boolean;
7533
+ };
7485
7534
  };
7486
7535
  type Language = "javaScript" | { typeScript: { definition_file: boolean } };
7487
7536
  type ModuleKind = "script" | "module";
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.3.9",
7
+ "version": "2.3.10",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",