@biomejs/wasm-nodejs 2.3.9 → 2.3.11

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
@@ -1,10 +1,10 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function main(): void;
4
3
  interface SupportsFeatureParams {
5
4
  features: FeatureName;
6
5
  path: BiomePath;
7
6
  projectKey: ProjectKey;
7
+ skipIgnoreCheck?: boolean;
8
8
  }
9
9
  type FeatureName = FeatureKind[];
10
10
  type BiomePath = string;
@@ -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,16 @@ 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;
1711
+ /**
1712
+ * Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
1713
+ See <https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document>
1714
+ */
1715
+ noBeforeInteractiveScriptOutsideDocument?: NoBeforeInteractiveScriptOutsideDocumentConfiguration;
1705
1716
  /**
1706
1717
  * Disallow continue statements.
1707
1718
  See <https://biomejs.dev/linter/rules/no-continue>
@@ -1758,6 +1769,11 @@ See <https://biomejs.dev/linter/rules/no-jsx-literals>
1758
1769
  */
1759
1770
  noJsxLiterals?: NoJsxLiteralsConfiguration;
1760
1771
  /**
1772
+ * Disallow .bind(), arrow functions, or function expressions in JSX props.
1773
+ See <https://biomejs.dev/linter/rules/no-jsx-props-bind>
1774
+ */
1775
+ noJsxPropsBind?: NoJsxPropsBindConfiguration;
1776
+ /**
1761
1777
  * Prevent problematic leaked values from being rendered.
1762
1778
  See <https://biomejs.dev/linter/rules/no-leaked-render>
1763
1779
  */
@@ -1768,6 +1784,11 @@ See <https://biomejs.dev/linter/rules/no-misused-promises>
1768
1784
  */
1769
1785
  noMisusedPromises?: NoMisusedPromisesConfiguration;
1770
1786
  /**
1787
+ * Disallow use of chained assignment expressions.
1788
+ See <https://biomejs.dev/linter/rules/no-multi-assign>
1789
+ */
1790
+ noMultiAssign?: NoMultiAssignConfiguration;
1791
+ /**
1771
1792
  * Disallow creating multiline strings by escaping newlines.
1772
1793
  See <https://biomejs.dev/linter/rules/no-multi-str>
1773
1794
  */
@@ -1793,6 +1814,11 @@ See <https://biomejs.dev/linter/rules/no-react-forward-ref>
1793
1814
  */
1794
1815
  noReactForwardRef?: NoReactForwardRefConfiguration;
1795
1816
  /**
1817
+ * Disallow assignments in return statements.
1818
+ See <https://biomejs.dev/linter/rules/no-return-assign>
1819
+ */
1820
+ noReturnAssign?: NoReturnAssignConfiguration;
1821
+ /**
1796
1822
  * Disallow javascript: URLs in HTML.
1797
1823
  See <https://biomejs.dev/linter/rules/no-script-url>
1798
1824
  */
@@ -1813,6 +1839,11 @@ See <https://biomejs.dev/linter/rules/no-ternary>
1813
1839
  */
1814
1840
  noTernary?: NoTernaryConfiguration;
1815
1841
  /**
1842
+ * Disallow the use of undeclared environment variables.
1843
+ See <https://biomejs.dev/linter/rules/no-undeclared-env-vars>
1844
+ */
1845
+ noUndeclaredEnvVars?: NoUndeclaredEnvVarsConfiguration;
1846
+ /**
1816
1847
  * Disallow unknown DOM properties.
1817
1848
  See <https://biomejs.dev/linter/rules/no-unknown-attribute>
1818
1849
  */
@@ -1957,11 +1988,46 @@ See <https://biomejs.dev/linter/rules/use-spread>
1957
1988
  */
1958
1989
  useSpread?: UseSpreadConfiguration;
1959
1990
  /**
1991
+ * Require all argument names for fields & directives to be unique.
1992
+ See <https://biomejs.dev/linter/rules/use-unique-argument-names>
1993
+ */
1994
+ useUniqueArgumentNames?: UseUniqueArgumentNamesConfiguration;
1995
+ /**
1996
+ * Require all fields of a type to be unique.
1997
+ See <https://biomejs.dev/linter/rules/use-unique-field-definition-names>
1998
+ */
1999
+ useUniqueFieldDefinitionNames?: UseUniqueFieldDefinitionNamesConfiguration;
2000
+ /**
1960
2001
  * Enforce unique operation names across a GraphQL document.
1961
2002
  See <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>
1962
2003
  */
1963
2004
  useUniqueGraphqlOperationName?: UseUniqueGraphqlOperationNameConfiguration;
1964
2005
  /**
2006
+ * Require fields within an input object to be unique.
2007
+ See <https://biomejs.dev/linter/rules/use-unique-input-field-names>
2008
+ */
2009
+ useUniqueInputFieldNames?: UseUniqueInputFieldNamesConfiguration;
2010
+ /**
2011
+ * Require all variable definitions to be unique.
2012
+ See <https://biomejs.dev/linter/rules/use-unique-variable-names>
2013
+ */
2014
+ useUniqueVariableNames?: UseUniqueVariableNamesConfiguration;
2015
+ /**
2016
+ * Enforce consistent defineProps declaration style.
2017
+ See <https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration>
2018
+ */
2019
+ useVueConsistentDefinePropsDeclaration?: UseVueConsistentDefinePropsDeclarationConfiguration;
2020
+ /**
2021
+ * Enforce a consistent style for v-bind in Vue templates.
2022
+ See <https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style>
2023
+ */
2024
+ useVueConsistentVBindStyle?: UseVueConsistentVBindStyleConfiguration;
2025
+ /**
2026
+ * Enforce a consistent style for v-on in Vue templates.
2027
+ See <https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style>
2028
+ */
2029
+ useVueConsistentVOnStyle?: UseVueConsistentVOnStyleConfiguration;
2030
+ /**
1965
2031
  * Enforce specific order of Vue compiler macros.
1966
2032
  See <https://biomejs.dev/linter/rules/use-vue-define-macros-order>
1967
2033
  */
@@ -1977,11 +2043,26 @@ See <https://biomejs.dev/linter/rules/use-vue-multi-word-component-names>
1977
2043
  */
1978
2044
  useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
1979
2045
  /**
2046
+ * Enforce that elements using v-for also specify a unique key.
2047
+ See <https://biomejs.dev/linter/rules/use-vue-v-for-key>
2048
+ */
2049
+ useVueVForKey?: UseVueVForKeyConfiguration;
2050
+ /**
2051
+ * Enforce valid Vue \<template> root usage.
2052
+ See <https://biomejs.dev/linter/rules/use-vue-valid-template-root>
2053
+ */
2054
+ useVueValidTemplateRoot?: UseVueValidTemplateRootConfiguration;
2055
+ /**
1980
2056
  * Forbids v-bind directives with missing arguments or invalid modifiers.
1981
2057
  See <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>
1982
2058
  */
1983
2059
  useVueValidVBind?: UseVueValidVBindConfiguration;
1984
2060
  /**
2061
+ * Enforce valid v-cloak Vue directives.
2062
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-cloak>
2063
+ */
2064
+ useVueValidVCloak?: UseVueValidVCloakConfiguration;
2065
+ /**
1985
2066
  * Enforce valid usage of v-else.
1986
2067
  See <https://biomejs.dev/linter/rules/use-vue-valid-v-else>
1987
2068
  */
@@ -2007,10 +2088,25 @@ See <https://biomejs.dev/linter/rules/use-vue-valid-v-on>
2007
2088
  */
2008
2089
  useVueValidVOn?: UseVueValidVOnConfiguration;
2009
2090
  /**
2091
+ * Enforce valid v-once Vue directives.
2092
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-once>
2093
+ */
2094
+ useVueValidVOnce?: UseVueValidVOnceConfiguration;
2095
+ /**
2096
+ * Enforce valid v-pre Vue directives.
2097
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-pre>
2098
+ */
2099
+ useVueValidVPre?: UseVueValidVPreConfiguration;
2100
+ /**
2010
2101
  * Enforce valid v-text Vue directives.
2011
2102
  See <https://biomejs.dev/linter/rules/use-vue-valid-v-text>
2012
2103
  */
2013
2104
  useVueValidVText?: UseVueValidVTextConfiguration;
2105
+ /**
2106
+ * Enforce opting in to Vue Vapor mode in \<script setup> blocks.
2107
+ See <https://biomejs.dev/linter/rules/use-vue-vapor>
2108
+ */
2109
+ useVueVapor?: UseVueVaporConfiguration;
2014
2110
  }
2015
2111
  interface Performance {
2016
2112
  /**
@@ -3413,6 +3509,12 @@ type UseValidTypeofConfiguration =
3413
3509
  | RulePlainConfiguration
3414
3510
  | RuleWithUseValidTypeofOptions;
3415
3511
  type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
3512
+ type NoAmbiguousAnchorTextConfiguration =
3513
+ | RulePlainConfiguration
3514
+ | RuleWithNoAmbiguousAnchorTextOptions;
3515
+ type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
3516
+ | RulePlainConfiguration
3517
+ | RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
3416
3518
  type NoContinueConfiguration =
3417
3519
  | RulePlainConfiguration
3418
3520
  | RuleWithNoContinueOptions;
@@ -3444,12 +3546,18 @@ type NoIncrementDecrementConfiguration =
3444
3546
  type NoJsxLiteralsConfiguration =
3445
3547
  | RulePlainConfiguration
3446
3548
  | RuleWithNoJsxLiteralsOptions;
3549
+ type NoJsxPropsBindConfiguration =
3550
+ | RulePlainConfiguration
3551
+ | RuleWithNoJsxPropsBindOptions;
3447
3552
  type NoLeakedRenderConfiguration =
3448
3553
  | RulePlainConfiguration
3449
3554
  | RuleWithNoLeakedRenderOptions;
3450
3555
  type NoMisusedPromisesConfiguration =
3451
3556
  | RulePlainConfiguration
3452
3557
  | RuleWithNoMisusedPromisesOptions;
3558
+ type NoMultiAssignConfiguration =
3559
+ | RulePlainConfiguration
3560
+ | RuleWithNoMultiAssignOptions;
3453
3561
  type NoMultiStrConfiguration =
3454
3562
  | RulePlainConfiguration
3455
3563
  | RuleWithNoMultiStrOptions;
@@ -3463,6 +3571,9 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
3463
3571
  type NoReactForwardRefConfiguration =
3464
3572
  | RulePlainConfiguration
3465
3573
  | RuleWithNoReactForwardRefOptions;
3574
+ type NoReturnAssignConfiguration =
3575
+ | RulePlainConfiguration
3576
+ | RuleWithNoReturnAssignOptions;
3466
3577
  type NoScriptUrlConfiguration =
3467
3578
  | RulePlainConfiguration
3468
3579
  | RuleWithNoScriptUrlOptions;
@@ -3471,6 +3582,9 @@ type NoSyncScriptsConfiguration =
3471
3582
  | RulePlainConfiguration
3472
3583
  | RuleWithNoSyncScriptsOptions;
3473
3584
  type NoTernaryConfiguration = RulePlainConfiguration | RuleWithNoTernaryOptions;
3585
+ type NoUndeclaredEnvVarsConfiguration =
3586
+ | RulePlainConfiguration
3587
+ | RuleWithNoUndeclaredEnvVarsOptions;
3474
3588
  type NoUnknownAttributeConfiguration =
3475
3589
  | RulePlainConfiguration
3476
3590
  | RuleWithNoUnknownAttributeOptions;
@@ -3551,9 +3665,30 @@ type UseSortedClassesConfiguration =
3551
3665
  | RulePlainConfiguration
3552
3666
  | RuleWithUseSortedClassesOptions;
3553
3667
  type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
3668
+ type UseUniqueArgumentNamesConfiguration =
3669
+ | RulePlainConfiguration
3670
+ | RuleWithUseUniqueArgumentNamesOptions;
3671
+ type UseUniqueFieldDefinitionNamesConfiguration =
3672
+ | RulePlainConfiguration
3673
+ | RuleWithUseUniqueFieldDefinitionNamesOptions;
3554
3674
  type UseUniqueGraphqlOperationNameConfiguration =
3555
3675
  | RulePlainConfiguration
3556
3676
  | RuleWithUseUniqueGraphqlOperationNameOptions;
3677
+ type UseUniqueInputFieldNamesConfiguration =
3678
+ | RulePlainConfiguration
3679
+ | RuleWithUseUniqueInputFieldNamesOptions;
3680
+ type UseUniqueVariableNamesConfiguration =
3681
+ | RulePlainConfiguration
3682
+ | RuleWithUseUniqueVariableNamesOptions;
3683
+ type UseVueConsistentDefinePropsDeclarationConfiguration =
3684
+ | RulePlainConfiguration
3685
+ | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
3686
+ type UseVueConsistentVBindStyleConfiguration =
3687
+ | RulePlainConfiguration
3688
+ | RuleWithUseVueConsistentVBindStyleOptions;
3689
+ type UseVueConsistentVOnStyleConfiguration =
3690
+ | RulePlainConfiguration
3691
+ | RuleWithUseVueConsistentVOnStyleOptions;
3557
3692
  type UseVueDefineMacrosOrderConfiguration =
3558
3693
  | RulePlainConfiguration
3559
3694
  | RuleWithUseVueDefineMacrosOrderOptions;
@@ -3563,9 +3698,18 @@ type UseVueHyphenatedAttributesConfiguration =
3563
3698
  type UseVueMultiWordComponentNamesConfiguration =
3564
3699
  | RulePlainConfiguration
3565
3700
  | RuleWithUseVueMultiWordComponentNamesOptions;
3701
+ type UseVueVForKeyConfiguration =
3702
+ | RulePlainConfiguration
3703
+ | RuleWithUseVueVForKeyOptions;
3704
+ type UseVueValidTemplateRootConfiguration =
3705
+ | RulePlainConfiguration
3706
+ | RuleWithUseVueValidTemplateRootOptions;
3566
3707
  type UseVueValidVBindConfiguration =
3567
3708
  | RulePlainConfiguration
3568
3709
  | RuleWithUseVueValidVBindOptions;
3710
+ type UseVueValidVCloakConfiguration =
3711
+ | RulePlainConfiguration
3712
+ | RuleWithUseVueValidVCloakOptions;
3569
3713
  type UseVueValidVElseConfiguration =
3570
3714
  | RulePlainConfiguration
3571
3715
  | RuleWithUseVueValidVElseOptions;
@@ -3581,9 +3725,18 @@ type UseVueValidVIfConfiguration =
3581
3725
  type UseVueValidVOnConfiguration =
3582
3726
  | RulePlainConfiguration
3583
3727
  | RuleWithUseVueValidVOnOptions;
3728
+ type UseVueValidVOnceConfiguration =
3729
+ | RulePlainConfiguration
3730
+ | RuleWithUseVueValidVOnceOptions;
3731
+ type UseVueValidVPreConfiguration =
3732
+ | RulePlainConfiguration
3733
+ | RuleWithUseVueValidVPreOptions;
3584
3734
  type UseVueValidVTextConfiguration =
3585
3735
  | RulePlainConfiguration
3586
3736
  | RuleWithUseVueValidVTextOptions;
3737
+ type UseVueVaporConfiguration =
3738
+ | RulePlainConfiguration
3739
+ | RuleWithUseVueVaporOptions;
3587
3740
  type NoAccumulatingSpreadConfiguration =
3588
3741
  | RulePlainConfiguration
3589
3742
  | RuleWithNoAccumulatingSpreadOptions;
@@ -4791,6 +4944,14 @@ interface RuleWithUseYieldOptions {
4791
4944
  level: RulePlainConfiguration;
4792
4945
  options?: UseYieldOptions;
4793
4946
  }
4947
+ interface RuleWithNoAmbiguousAnchorTextOptions {
4948
+ level: RulePlainConfiguration;
4949
+ options?: NoAmbiguousAnchorTextOptions;
4950
+ }
4951
+ interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
4952
+ level: RulePlainConfiguration;
4953
+ options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
4954
+ }
4794
4955
  interface RuleWithNoContinueOptions {
4795
4956
  level: RulePlainConfiguration;
4796
4957
  options?: NoContinueOptions;
@@ -4837,6 +4998,10 @@ interface RuleWithNoJsxLiteralsOptions {
4837
4998
  level: RulePlainConfiguration;
4838
4999
  options?: NoJsxLiteralsOptions;
4839
5000
  }
5001
+ interface RuleWithNoJsxPropsBindOptions {
5002
+ level: RulePlainConfiguration;
5003
+ options?: NoJsxPropsBindOptions;
5004
+ }
4840
5005
  interface RuleWithNoLeakedRenderOptions {
4841
5006
  level: RulePlainConfiguration;
4842
5007
  options?: NoLeakedRenderOptions;
@@ -4846,6 +5011,10 @@ interface RuleWithNoMisusedPromisesOptions {
4846
5011
  level: RulePlainConfiguration;
4847
5012
  options?: NoMisusedPromisesOptions;
4848
5013
  }
5014
+ interface RuleWithNoMultiAssignOptions {
5015
+ level: RulePlainConfiguration;
5016
+ options?: NoMultiAssignOptions;
5017
+ }
4849
5018
  interface RuleWithNoMultiStrOptions {
4850
5019
  level: RulePlainConfiguration;
4851
5020
  options?: NoMultiStrOptions;
@@ -4868,6 +5037,10 @@ interface RuleWithNoReactForwardRefOptions {
4868
5037
  level: RulePlainConfiguration;
4869
5038
  options?: NoReactForwardRefOptions;
4870
5039
  }
5040
+ interface RuleWithNoReturnAssignOptions {
5041
+ level: RulePlainConfiguration;
5042
+ options?: NoReturnAssignOptions;
5043
+ }
4871
5044
  interface RuleWithNoScriptUrlOptions {
4872
5045
  level: RulePlainConfiguration;
4873
5046
  options?: NoScriptUrlOptions;
@@ -4884,6 +5057,10 @@ interface RuleWithNoTernaryOptions {
4884
5057
  level: RulePlainConfiguration;
4885
5058
  options?: NoTernaryOptions;
4886
5059
  }
5060
+ interface RuleWithNoUndeclaredEnvVarsOptions {
5061
+ level: RulePlainConfiguration;
5062
+ options?: NoUndeclaredEnvVarsOptions;
5063
+ }
4887
5064
  interface RuleWithNoUnknownAttributeOptions {
4888
5065
  level: RulePlainConfiguration;
4889
5066
  options?: NoUnknownAttributeOptions;
@@ -5003,10 +5180,40 @@ interface RuleWithUseSpreadOptions {
5003
5180
  level: RulePlainConfiguration;
5004
5181
  options?: UseSpreadOptions;
5005
5182
  }
5183
+ interface RuleWithUseUniqueArgumentNamesOptions {
5184
+ level: RulePlainConfiguration;
5185
+ options?: UseUniqueArgumentNamesOptions;
5186
+ }
5187
+ interface RuleWithUseUniqueFieldDefinitionNamesOptions {
5188
+ level: RulePlainConfiguration;
5189
+ options?: UseUniqueFieldDefinitionNamesOptions;
5190
+ }
5006
5191
  interface RuleWithUseUniqueGraphqlOperationNameOptions {
5007
5192
  level: RulePlainConfiguration;
5008
5193
  options?: UseUniqueGraphqlOperationNameOptions;
5009
5194
  }
5195
+ interface RuleWithUseUniqueInputFieldNamesOptions {
5196
+ level: RulePlainConfiguration;
5197
+ options?: UseUniqueInputFieldNamesOptions;
5198
+ }
5199
+ interface RuleWithUseUniqueVariableNamesOptions {
5200
+ level: RulePlainConfiguration;
5201
+ options?: UseUniqueVariableNamesOptions;
5202
+ }
5203
+ interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
5204
+ level: RulePlainConfiguration;
5205
+ options?: UseVueConsistentDefinePropsDeclarationOptions;
5206
+ }
5207
+ interface RuleWithUseVueConsistentVBindStyleOptions {
5208
+ fix?: FixKind;
5209
+ level: RulePlainConfiguration;
5210
+ options?: UseVueConsistentVBindStyleOptions;
5211
+ }
5212
+ interface RuleWithUseVueConsistentVOnStyleOptions {
5213
+ fix?: FixKind;
5214
+ level: RulePlainConfiguration;
5215
+ options?: UseVueConsistentVOnStyleOptions;
5216
+ }
5010
5217
  interface RuleWithUseVueDefineMacrosOrderOptions {
5011
5218
  fix?: FixKind;
5012
5219
  level: RulePlainConfiguration;
@@ -5021,10 +5228,24 @@ interface RuleWithUseVueMultiWordComponentNamesOptions {
5021
5228
  level: RulePlainConfiguration;
5022
5229
  options?: UseVueMultiWordComponentNamesOptions;
5023
5230
  }
5231
+ interface RuleWithUseVueVForKeyOptions {
5232
+ level: RulePlainConfiguration;
5233
+ options?: UseVueVForKeyOptions;
5234
+ }
5235
+ interface RuleWithUseVueValidTemplateRootOptions {
5236
+ fix?: FixKind;
5237
+ level: RulePlainConfiguration;
5238
+ options?: UseVueValidTemplateRootOptions;
5239
+ }
5024
5240
  interface RuleWithUseVueValidVBindOptions {
5025
5241
  level: RulePlainConfiguration;
5026
5242
  options?: UseVueValidVBindOptions;
5027
5243
  }
5244
+ interface RuleWithUseVueValidVCloakOptions {
5245
+ fix?: FixKind;
5246
+ level: RulePlainConfiguration;
5247
+ options?: UseVueValidVCloakOptions;
5248
+ }
5028
5249
  interface RuleWithUseVueValidVElseOptions {
5029
5250
  level: RulePlainConfiguration;
5030
5251
  options?: UseVueValidVElseOptions;
@@ -5045,10 +5266,25 @@ interface RuleWithUseVueValidVOnOptions {
5045
5266
  level: RulePlainConfiguration;
5046
5267
  options?: UseVueValidVOnOptions;
5047
5268
  }
5269
+ interface RuleWithUseVueValidVOnceOptions {
5270
+ fix?: FixKind;
5271
+ level: RulePlainConfiguration;
5272
+ options?: UseVueValidVOnceOptions;
5273
+ }
5274
+ interface RuleWithUseVueValidVPreOptions {
5275
+ fix?: FixKind;
5276
+ level: RulePlainConfiguration;
5277
+ options?: UseVueValidVPreOptions;
5278
+ }
5048
5279
  interface RuleWithUseVueValidVTextOptions {
5049
5280
  level: RulePlainConfiguration;
5050
5281
  options?: UseVueValidVTextOptions;
5051
5282
  }
5283
+ interface RuleWithUseVueVaporOptions {
5284
+ fix?: FixKind;
5285
+ level: RulePlainConfiguration;
5286
+ options?: UseVueVaporOptions;
5287
+ }
5052
5288
  interface RuleWithNoAccumulatingSpreadOptions {
5053
5289
  level: RulePlainConfiguration;
5054
5290
  options?: NoAccumulatingSpreadOptions;
@@ -6141,6 +6377,13 @@ to a DOM element id.
6141
6377
  type UseValidForDirectionOptions = {};
6142
6378
  type UseValidTypeofOptions = {};
6143
6379
  type UseYieldOptions = {};
6380
+ interface NoAmbiguousAnchorTextOptions {
6381
+ /**
6382
+ * It allows users to modify the strings that can be checked for in the anchor text. Useful for specifying other words in other languages
6383
+ */
6384
+ words?: string[];
6385
+ }
6386
+ type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
6144
6387
  type NoContinueOptions = {};
6145
6388
  type NoDeprecatedImportsOptions = {};
6146
6389
  type NoDuplicateDependenciesOptions = {};
@@ -6183,17 +6426,29 @@ interface NoJsxLiteralsOptions {
6183
6426
  */
6184
6427
  noStrings?: boolean;
6185
6428
  }
6429
+ type NoJsxPropsBindOptions = {};
6186
6430
  type NoLeakedRenderOptions = {};
6187
6431
  type NoMisusedPromisesOptions = {};
6432
+ type NoMultiAssignOptions = {};
6188
6433
  type NoMultiStrOptions = {};
6189
6434
  type NoNextAsyncClientComponentOptions = {};
6190
6435
  type NoParametersOnlyUsedInRecursionOptions = {};
6191
6436
  type NoProtoOptions = {};
6192
6437
  type NoReactForwardRefOptions = {};
6438
+ type NoReturnAssignOptions = {};
6193
6439
  type NoScriptUrlOptions = {};
6194
6440
  type NoShadowOptions = {};
6195
6441
  type NoSyncScriptsOptions = {};
6196
6442
  type NoTernaryOptions = {};
6443
+ interface NoUndeclaredEnvVarsOptions {
6444
+ /**
6445
+ * Environment variables that should always be allowed.
6446
+ Use this to specify environment variables that are always available
6447
+ in your environment, even when not declared in turbo.json.
6448
+ Supports regular expressions, e.g. `["MY_ENV_.*"]`.
6449
+ */
6450
+ allowedEnvVars?: Regex[];
6451
+ }
6197
6452
  interface NoUnknownAttributeOptions {
6198
6453
  ignore?: string[];
6199
6454
  }
@@ -6261,7 +6516,28 @@ interface UseSortedClassesOptions {
6261
6516
  functions?: string[];
6262
6517
  }
6263
6518
  type UseSpreadOptions = {};
6519
+ type UseUniqueArgumentNamesOptions = {};
6520
+ type UseUniqueFieldDefinitionNamesOptions = {};
6264
6521
  type UseUniqueGraphqlOperationNameOptions = {};
6522
+ type UseUniqueInputFieldNamesOptions = {};
6523
+ type UseUniqueVariableNamesOptions = {};
6524
+ interface UseVueConsistentDefinePropsDeclarationOptions {
6525
+ style?: DeclarationStyle;
6526
+ }
6527
+ interface UseVueConsistentVBindStyleOptions {
6528
+ /**
6529
+ * Preferred style for `v-bind` usage: "shorthand" or "longhand".
6530
+ If omitted, shorthand is preferred.
6531
+ */
6532
+ style?: VueDirectiveStyle;
6533
+ }
6534
+ interface UseVueConsistentVOnStyleOptions {
6535
+ /**
6536
+ * Preferred style for `v-on` usage: "shorthand" or "longhand".
6537
+ If omitted, shorthand is preferred.
6538
+ */
6539
+ style?: VueDirectiveStyle2;
6540
+ }
6265
6541
  interface UseVueDefineMacrosOrderOptions {
6266
6542
  /**
6267
6543
  * The order of the Vue define macros.
@@ -6284,7 +6560,10 @@ interface UseVueMultiWordComponentNamesOptions {
6284
6560
  */
6285
6561
  ignores?: string[];
6286
6562
  }
6563
+ type UseVueVForKeyOptions = {};
6564
+ type UseVueValidTemplateRootOptions = {};
6287
6565
  type UseVueValidVBindOptions = {};
6566
+ type UseVueValidVCloakOptions = {};
6288
6567
  type UseVueValidVElseOptions = {};
6289
6568
  type UseVueValidVElseIfOptions = {};
6290
6569
  type UseVueValidVHtmlOptions = {};
@@ -6295,7 +6574,10 @@ interface UseVueValidVOnOptions {
6295
6574
  */
6296
6575
  modifiers?: string[];
6297
6576
  }
6577
+ type UseVueValidVOnceOptions = {};
6578
+ type UseVueValidVPreOptions = {};
6298
6579
  type UseVueValidVTextOptions = {};
6580
+ type UseVueVaporOptions = {};
6299
6581
  type NoAccumulatingSpreadOptions = {};
6300
6582
  type NoAwaitInLoopsOptions = {};
6301
6583
  type NoBarrelFileOptions = {};
@@ -6650,8 +6932,12 @@ while for `useState()` it would be `[1]`.
6650
6932
  */
6651
6933
  stableResult?: StableHookResult;
6652
6934
  }
6935
+ type Regex = string;
6653
6936
  type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
6654
6937
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
6938
+ type DeclarationStyle = "type" | "runtime";
6939
+ type VueDirectiveStyle = "shorthand" | "longhand";
6940
+ type VueDirectiveStyle2 = "shorthand" | "longhand";
6655
6941
  type PropertyAssignmentMode = "allow" | "deny";
6656
6942
  type Paths = string | PathOptions;
6657
6943
  type Patterns = PatternOptions;
@@ -6661,7 +6947,6 @@ type Accessibility = "noPublic" | "explicit" | "none";
6661
6947
  type ObjectPropertySyntax = "explicit" | "shorthand";
6662
6948
  type ConsistentTypeDefinition = "interface" | "type";
6663
6949
  type FilenameCases = FilenameCase[];
6664
- type Regex = string;
6665
6950
  type UseImportTypeStyle = "auto" | "inlineType" | "separatedType";
6666
6951
  interface Convention {
6667
6952
  /**
@@ -6975,6 +7260,8 @@ type Category =
6975
7260
  | "lint/correctness/useValidForDirection"
6976
7261
  | "lint/correctness/useValidTypeof"
6977
7262
  | "lint/correctness/useYield"
7263
+ | "lint/nursery/noAmbiguousAnchorText"
7264
+ | "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
6978
7265
  | "lint/nursery/noColorInvalidHex"
6979
7266
  | "lint/nursery/noContinue"
6980
7267
  | "lint/nursery/noDeprecatedImports"
@@ -6988,17 +7275,22 @@ type Category =
6988
7275
  | "lint/nursery/noImportCycles"
6989
7276
  | "lint/nursery/noIncrementDecrement"
6990
7277
  | "lint/nursery/noJsxLiterals"
7278
+ | "lint/nursery/noJsxPropsBind"
6991
7279
  | "lint/nursery/noLeakedRender"
6992
7280
  | "lint/nursery/noMissingGenericFamilyKeyword"
6993
7281
  | "lint/nursery/noMisusedPromises"
7282
+ | "lint/nursery/noMultiAssign"
6994
7283
  | "lint/nursery/noMultiStr"
6995
7284
  | "lint/nursery/noNextAsyncClientComponent"
6996
7285
  | "lint/nursery/noParametersOnlyUsedInRecursion"
6997
7286
  | "lint/nursery/noProto"
6998
7287
  | "lint/nursery/noReactForwardRef"
7288
+ | "lint/nursery/noReturnAssign"
7289
+ | "lint/nursery/noScriptUrl"
6999
7290
  | "lint/nursery/noShadow"
7000
7291
  | "lint/nursery/noSyncScripts"
7001
7292
  | "lint/nursery/noTernary"
7293
+ | "lint/nursery/noUndeclaredEnvVars"
7002
7294
  | "lint/nursery/noUnknownAttribute"
7003
7295
  | "lint/nursery/noUnnecessaryConditions"
7004
7296
  | "lint/nursery/noUnresolvedImports"
@@ -7035,11 +7327,22 @@ type Category =
7035
7327
  | "lint/nursery/useRequiredScripts"
7036
7328
  | "lint/nursery/useSortedClasses"
7037
7329
  | "lint/nursery/useSpread"
7330
+ | "lint/nursery/useUniqueArgumentNames"
7331
+ | "lint/nursery/useUniqueFieldDefinitionNames"
7038
7332
  | "lint/nursery/useUniqueGraphqlOperationName"
7333
+ | "lint/nursery/useUniqueInputFieldNames"
7334
+ | "lint/nursery/useUniqueVariableNames"
7335
+ | "lint/nursery/useVueConsistentDefinePropsDeclaration"
7336
+ | "lint/nursery/useVueConsistentVBindStyle"
7337
+ | "lint/nursery/useVueConsistentVOnStyle"
7039
7338
  | "lint/nursery/useVueDefineMacrosOrder"
7040
7339
  | "lint/nursery/useVueHyphenatedAttributes"
7041
7340
  | "lint/nursery/useVueMultiWordComponentNames"
7341
+ | "lint/nursery/useVueVForKey"
7342
+ | "lint/nursery/useVueVapor"
7343
+ | "lint/nursery/useVueValidTemplateRoot"
7042
7344
  | "lint/nursery/useVueValidVBind"
7345
+ | "lint/nursery/useVueValidVCloak"
7043
7346
  | "lint/nursery/useVueValidVElse"
7044
7347
  | "lint/nursery/useVueValidVElseIf"
7045
7348
  | "lint/nursery/useVueValidVFor"
@@ -7047,6 +7350,8 @@ type Category =
7047
7350
  | "lint/nursery/useVueValidVIf"
7048
7351
  | "lint/nursery/useVueValidVModel"
7049
7352
  | "lint/nursery/useVueValidVOn"
7353
+ | "lint/nursery/useVueValidVOnce"
7354
+ | "lint/nursery/useVueValidVPre"
7050
7355
  | "lint/nursery/useVueValidVText"
7051
7356
  | "lint/performance/noAccumulatingSpread"
7052
7357
  | "lint/performance/noAwaitInLoops"
@@ -7064,7 +7369,6 @@ type Category =
7064
7369
  | "lint/security/noDangerouslySetInnerHtml"
7065
7370
  | "lint/security/noDangerouslySetInnerHtmlWithChildren"
7066
7371
  | "lint/security/noGlobalEval"
7067
- | "lint/nursery/noScriptUrl"
7068
7372
  | "lint/security/noSecrets"
7069
7373
  | "lint/style/noCommonJs"
7070
7374
  | "lint/style/noDefaultExport"
@@ -7472,7 +7776,6 @@ interface GritFileSource {
7472
7776
  variant: GritVariant;
7473
7777
  }
7474
7778
  type EmbeddingKind =
7475
- | "Vue"
7476
7779
  | "Svelte"
7477
7780
  | "None"
7478
7781
  | {
@@ -7482,6 +7785,14 @@ type EmbeddingKind =
7482
7785
  */
7483
7786
  frontmatter: boolean;
7484
7787
  };
7788
+ }
7789
+ | {
7790
+ Vue: {
7791
+ /**
7792
+ * Whether the script is inside script tag with setup attribute
7793
+ */
7794
+ setup: boolean;
7795
+ };
7485
7796
  };
7486
7797
  type Language = "javaScript" | { typeScript: { definition_file: boolean } };
7487
7798
  type ModuleKind = "script" | "module";
@@ -7584,8 +7895,11 @@ interface GetSemanticModelParams {
7584
7895
  }
7585
7896
  type GetModuleGraphParams = {};
7586
7897
  interface GetModuleGraphResult {
7587
- data: Record<string, SerializedJsModuleInfo>;
7898
+ data: Record<string, SerializedModuleInfo>;
7588
7899
  }
7900
+ type SerializedModuleInfo =
7901
+ | { js: SerializedJsModuleInfo }
7902
+ | { css: SerializedCssModuleInfo };
7589
7903
  interface SerializedJsModuleInfo {
7590
7904
  /**
7591
7905
  * Dynamic imports.
@@ -7619,6 +7933,14 @@ Maps from the local imported name to the absolute path it resolves to.
7619
7933
  */
7620
7934
  staticImports: Record<string, string>;
7621
7935
  }
7936
+ interface SerializedCssModuleInfo {
7937
+ /**
7938
+ * Map of all static imports found in the module.
7939
+
7940
+ Maps from the local imported name to the absolute path it resolves to.
7941
+ */
7942
+ imports: string[];
7943
+ }
7622
7944
  interface PullDiagnosticsParams {
7623
7945
  categories: RuleCategories;
7624
7946
  /**
@@ -7812,6 +8134,7 @@ interface DropPatternParams {
7812
8134
  }
7813
8135
 
7814
8136
 
8137
+
7815
8138
  export class DiagnosticPrinter {
7816
8139
  free(): void;
7817
8140
  [Symbol.dispose](): void;
@@ -7820,6 +8143,7 @@ export class DiagnosticPrinter {
7820
8143
  constructor(file_name: string, file_source: string);
7821
8144
  finish(): string;
7822
8145
  }
8146
+
7823
8147
  export class MemoryFileSystem {
7824
8148
  free(): void;
7825
8149
  [Symbol.dispose](): void;
@@ -7827,6 +8151,7 @@ export class MemoryFileSystem {
7827
8151
  insert(path: string, data: Uint8Array): void;
7828
8152
  remove(path: string): void;
7829
8153
  }
8154
+
7830
8155
  export class Workspace {
7831
8156
  free(): void;
7832
8157
  [Symbol.dispose](): void;
@@ -7858,3 +8183,5 @@ export class Workspace {
7858
8183
  fixFile(params: FixFileParams): FixFileResult;
7859
8184
  openFile(params: OpenFileParams): OpenFileResult;
7860
8185
  }
8186
+
8187
+ export function main(): void;
package/biome_wasm.js CHANGED
@@ -2,93 +2,16 @@
2
2
  let imports = {};
3
3
  imports['__wbindgen_placeholder__'] = module.exports;
4
4
 
5
- let cachedUint8ArrayMemory0 = null;
6
-
7
- function getUint8ArrayMemory0() {
8
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
9
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
10
- }
11
- return cachedUint8ArrayMemory0;
12
- }
13
-
14
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
15
-
16
- cachedTextDecoder.decode();
17
-
18
- function decodeText(ptr, len) {
19
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
20
- }
21
-
22
- function getStringFromWasm0(ptr, len) {
23
- ptr = ptr >>> 0;
24
- return decodeText(ptr, len);
25
- }
26
-
27
- let WASM_VECTOR_LEN = 0;
28
-
29
- const cachedTextEncoder = new TextEncoder();
30
-
31
- if (!('encodeInto' in cachedTextEncoder)) {
32
- cachedTextEncoder.encodeInto = function (arg, view) {
33
- const buf = cachedTextEncoder.encode(arg);
34
- view.set(buf);
35
- return {
36
- read: arg.length,
37
- written: buf.length
38
- };
39
- }
40
- }
41
-
42
- function passStringToWasm0(arg, malloc, realloc) {
43
-
44
- if (realloc === undefined) {
45
- const buf = cachedTextEncoder.encode(arg);
46
- const ptr = malloc(buf.length, 1) >>> 0;
47
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
48
- WASM_VECTOR_LEN = buf.length;
49
- return ptr;
50
- }
51
-
52
- let len = arg.length;
53
- let ptr = malloc(len, 1) >>> 0;
54
-
55
- const mem = getUint8ArrayMemory0();
56
-
57
- let offset = 0;
58
-
59
- for (; offset < len; offset++) {
60
- const code = arg.charCodeAt(offset);
61
- if (code > 0x7F) break;
62
- mem[ptr + offset] = code;
63
- }
64
-
65
- if (offset !== len) {
66
- if (offset !== 0) {
67
- arg = arg.slice(offset);
68
- }
69
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
70
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
71
- const ret = cachedTextEncoder.encodeInto(arg, view);
72
-
73
- offset += ret.written;
74
- ptr = realloc(ptr, len, offset, 1) >>> 0;
75
- }
76
-
77
- WASM_VECTOR_LEN = offset;
78
- return ptr;
5
+ function addToExternrefTable0(obj) {
6
+ const idx = wasm.__externref_table_alloc();
7
+ wasm.__wbindgen_externrefs.set(idx, obj);
8
+ return idx;
79
9
  }
80
10
 
81
- let cachedDataViewMemory0 = null;
82
-
83
- function getDataViewMemory0() {
84
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
85
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
11
+ function _assertClass(instance, klass) {
12
+ if (!(instance instanceof klass)) {
13
+ throw new Error(`expected instance of ${klass.name}`);
86
14
  }
87
- return cachedDataViewMemory0;
88
- }
89
-
90
- function isLikeNone(x) {
91
- return x === undefined || x === null;
92
15
  }
93
16
 
94
17
  function debugString(val) {
@@ -156,10 +79,30 @@ function debugString(val) {
156
79
  return className;
157
80
  }
158
81
 
159
- function addToExternrefTable0(obj) {
160
- const idx = wasm.__externref_table_alloc();
161
- wasm.__wbindgen_externrefs.set(idx, obj);
162
- return idx;
82
+ function getArrayU8FromWasm0(ptr, len) {
83
+ ptr = ptr >>> 0;
84
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
85
+ }
86
+
87
+ let cachedDataViewMemory0 = null;
88
+ function getDataViewMemory0() {
89
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
90
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
91
+ }
92
+ return cachedDataViewMemory0;
93
+ }
94
+
95
+ function getStringFromWasm0(ptr, len) {
96
+ ptr = ptr >>> 0;
97
+ return decodeText(ptr, len);
98
+ }
99
+
100
+ let cachedUint8ArrayMemory0 = null;
101
+ function getUint8ArrayMemory0() {
102
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
103
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
104
+ }
105
+ return cachedUint8ArrayMemory0;
163
106
  }
164
107
 
165
108
  function handleError(f, args) {
@@ -171,9 +114,8 @@ function handleError(f, args) {
171
114
  }
172
115
  }
173
116
 
174
- function getArrayU8FromWasm0(ptr, len) {
175
- ptr = ptr >>> 0;
176
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
117
+ function isLikeNone(x) {
118
+ return x === undefined || x === null;
177
119
  }
178
120
 
179
121
  function passArray8ToWasm0(arg, malloc) {
@@ -183,9 +125,42 @@ function passArray8ToWasm0(arg, malloc) {
183
125
  return ptr;
184
126
  }
185
127
 
186
- exports.main = function() {
187
- wasm.main();
188
- };
128
+ function passStringToWasm0(arg, malloc, realloc) {
129
+ if (realloc === undefined) {
130
+ const buf = cachedTextEncoder.encode(arg);
131
+ const ptr = malloc(buf.length, 1) >>> 0;
132
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
133
+ WASM_VECTOR_LEN = buf.length;
134
+ return ptr;
135
+ }
136
+
137
+ let len = arg.length;
138
+ let ptr = malloc(len, 1) >>> 0;
139
+
140
+ const mem = getUint8ArrayMemory0();
141
+
142
+ let offset = 0;
143
+
144
+ for (; offset < len; offset++) {
145
+ const code = arg.charCodeAt(offset);
146
+ if (code > 0x7F) break;
147
+ mem[ptr + offset] = code;
148
+ }
149
+ if (offset !== len) {
150
+ if (offset !== 0) {
151
+ arg = arg.slice(offset);
152
+ }
153
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
154
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
155
+ const ret = cachedTextEncoder.encodeInto(arg, view);
156
+
157
+ offset += ret.written;
158
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
159
+ }
160
+
161
+ WASM_VECTOR_LEN = offset;
162
+ return ptr;
163
+ }
189
164
 
190
165
  function takeFromExternrefTable0(idx) {
191
166
  const value = wasm.__wbindgen_externrefs.get(idx);
@@ -193,25 +168,46 @@ function takeFromExternrefTable0(idx) {
193
168
  return value;
194
169
  }
195
170
 
196
- function _assertClass(instance, klass) {
197
- if (!(instance instanceof klass)) {
198
- throw new Error(`expected instance of ${klass.name}`);
171
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
172
+ cachedTextDecoder.decode();
173
+ function decodeText(ptr, len) {
174
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
175
+ }
176
+
177
+ const cachedTextEncoder = new TextEncoder();
178
+
179
+ if (!('encodeInto' in cachedTextEncoder)) {
180
+ cachedTextEncoder.encodeInto = function (arg, view) {
181
+ const buf = cachedTextEncoder.encode(arg);
182
+ view.set(buf);
183
+ return {
184
+ read: arg.length,
185
+ written: buf.length
186
+ };
199
187
  }
200
188
  }
201
189
 
190
+ let WASM_VECTOR_LEN = 0;
191
+
202
192
  const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
203
193
  ? { register: () => {}, unregister: () => {} }
204
194
  : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0, 1));
205
195
 
206
- class DiagnosticPrinter {
196
+ const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
197
+ ? { register: () => {}, unregister: () => {} }
198
+ : new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
207
199
 
200
+ const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
201
+ ? { register: () => {}, unregister: () => {} }
202
+ : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
203
+
204
+ class DiagnosticPrinter {
208
205
  __destroy_into_raw() {
209
206
  const ptr = this.__wbg_ptr;
210
207
  this.__wbg_ptr = 0;
211
208
  DiagnosticPrinterFinalization.unregister(this);
212
209
  return ptr;
213
210
  }
214
-
215
211
  free() {
216
212
  const ptr = this.__destroy_into_raw();
217
213
  wasm.__wbg_diagnosticprinter_free(ptr, 0);
@@ -272,22 +268,15 @@ class DiagnosticPrinter {
272
268
  }
273
269
  }
274
270
  if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
275
-
276
271
  exports.DiagnosticPrinter = DiagnosticPrinter;
277
272
 
278
- const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
279
- ? { register: () => {}, unregister: () => {} }
280
- : new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
281
-
282
273
  class MemoryFileSystem {
283
-
284
274
  __destroy_into_raw() {
285
275
  const ptr = this.__wbg_ptr;
286
276
  this.__wbg_ptr = 0;
287
277
  MemoryFileSystemFinalization.unregister(this);
288
278
  return ptr;
289
279
  }
290
-
291
280
  free() {
292
281
  const ptr = this.__destroy_into_raw();
293
282
  wasm.__wbg_memoryfilesystem_free(ptr, 0);
@@ -319,15 +308,9 @@ class MemoryFileSystem {
319
308
  }
320
309
  }
321
310
  if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
322
-
323
311
  exports.MemoryFileSystem = MemoryFileSystem;
324
312
 
325
- const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
326
- ? { register: () => {}, unregister: () => {} }
327
- : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
328
-
329
313
  class Workspace {
330
-
331
314
  static __wrap(ptr) {
332
315
  ptr = ptr >>> 0;
333
316
  const obj = Object.create(Workspace.prototype);
@@ -335,14 +318,12 @@ class Workspace {
335
318
  WorkspaceFinalization.register(obj, obj.__wbg_ptr, obj);
336
319
  return obj;
337
320
  }
338
-
339
321
  __destroy_into_raw() {
340
322
  const ptr = this.__wbg_ptr;
341
323
  this.__wbg_ptr = 0;
342
324
  WorkspaceFinalization.unregister(this);
343
325
  return ptr;
344
326
  }
345
-
346
327
  free() {
347
328
  const ptr = this.__destroy_into_raw();
348
329
  wasm.__wbg_workspace_free(ptr, 0);
@@ -701,15 +682,19 @@ class Workspace {
701
682
  }
702
683
  }
703
684
  if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
704
-
705
685
  exports.Workspace = Workspace;
706
686
 
707
- exports.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
687
+ function main() {
688
+ wasm.main();
689
+ }
690
+ exports.main = main;
691
+
692
+ exports.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
708
693
  const ret = Error(getStringFromWasm0(arg0, arg1));
709
694
  return ret;
710
695
  };
711
696
 
712
- exports.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
697
+ exports.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
713
698
  const ret = Number(arg0);
714
699
  return ret;
715
700
  };
@@ -722,20 +707,20 @@ exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
722
707
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
723
708
  };
724
709
 
725
- exports.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
710
+ exports.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(arg0, arg1) {
726
711
  const v = arg1;
727
712
  const ret = typeof(v) === 'bigint' ? v : undefined;
728
713
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
729
714
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
730
715
  };
731
716
 
732
- exports.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
717
+ exports.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
733
718
  const v = arg0;
734
719
  const ret = typeof(v) === 'boolean' ? v : undefined;
735
720
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
736
721
  };
737
722
 
738
- exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
723
+ exports.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
739
724
  const ret = debugString(arg1);
740
725
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
741
726
  const len1 = WASM_VECTOR_LEN;
@@ -743,55 +728,55 @@ exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
743
728
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
744
729
  };
745
730
 
746
- exports.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
731
+ exports.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
747
732
  const ret = arg0 in arg1;
748
733
  return ret;
749
734
  };
750
735
 
751
- exports.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
736
+ exports.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(arg0) {
752
737
  const ret = typeof(arg0) === 'bigint';
753
738
  return ret;
754
739
  };
755
740
 
756
- exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
741
+ exports.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
757
742
  const ret = typeof(arg0) === 'function';
758
743
  return ret;
759
744
  };
760
745
 
761
- exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
746
+ exports.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
762
747
  const val = arg0;
763
748
  const ret = typeof(val) === 'object' && val !== null;
764
749
  return ret;
765
750
  };
766
751
 
767
- exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
752
+ exports.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
768
753
  const ret = typeof(arg0) === 'string';
769
754
  return ret;
770
755
  };
771
756
 
772
- exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
757
+ exports.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
773
758
  const ret = arg0 === undefined;
774
759
  return ret;
775
760
  };
776
761
 
777
- exports.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
762
+ exports.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(arg0, arg1) {
778
763
  const ret = arg0 === arg1;
779
764
  return ret;
780
765
  };
781
766
 
782
- exports.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
767
+ exports.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
783
768
  const ret = arg0 == arg1;
784
769
  return ret;
785
770
  };
786
771
 
787
- exports.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
772
+ exports.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
788
773
  const obj = arg1;
789
774
  const ret = typeof(obj) === 'number' ? obj : undefined;
790
775
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
791
776
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
792
777
  };
793
778
 
794
- exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
779
+ exports.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
795
780
  const obj = arg1;
796
781
  const ret = typeof(obj) === 'string' ? obj : undefined;
797
782
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -800,21 +785,21 @@ exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
800
785
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
801
786
  };
802
787
 
803
- exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
788
+ exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
804
789
  throw new Error(getStringFromWasm0(arg0, arg1));
805
790
  };
806
791
 
807
- exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
792
+ exports.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
808
793
  const ret = arg0.call(arg1);
809
794
  return ret;
810
795
  }, arguments) };
811
796
 
812
- exports.__wbg_done_2042aa2670fb1db1 = function(arg0) {
797
+ exports.__wbg_done_62ea16af4ce34b24 = function(arg0) {
813
798
  const ret = arg0.done;
814
799
  return ret;
815
800
  };
816
801
 
817
- exports.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
802
+ exports.__wbg_entries_83c79938054e065f = function(arg0) {
818
803
  const ret = Object.entries(arg0);
819
804
  return ret;
820
805
  };
@@ -831,12 +816,12 @@ exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
831
816
  }
832
817
  };
833
818
 
834
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
819
+ exports.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
835
820
  const ret = arg0[arg1 >>> 0];
836
821
  return ret;
837
822
  };
838
823
 
839
- exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
824
+ exports.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
840
825
  const ret = Reflect.get(arg0, arg1);
841
826
  return ret;
842
827
  }, arguments) };
@@ -846,7 +831,7 @@ exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
846
831
  return ret;
847
832
  };
848
833
 
849
- exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
834
+ exports.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
850
835
  let result;
851
836
  try {
852
837
  result = arg0 instanceof ArrayBuffer;
@@ -857,7 +842,7 @@ exports.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
857
842
  return ret;
858
843
  };
859
844
 
860
- exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
845
+ exports.__wbg_instanceof_Map_084be8da74364158 = function(arg0) {
861
846
  let result;
862
847
  try {
863
848
  result = arg0 instanceof Map;
@@ -868,7 +853,7 @@ exports.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
868
853
  return ret;
869
854
  };
870
855
 
871
- exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
856
+ exports.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
872
857
  let result;
873
858
  try {
874
859
  result = arg0 instanceof Uint8Array;
@@ -879,43 +864,43 @@ exports.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
879
864
  return ret;
880
865
  };
881
866
 
882
- exports.__wbg_isArray_96e0af9891d0945d = function(arg0) {
867
+ exports.__wbg_isArray_51fd9e6422c0a395 = function(arg0) {
883
868
  const ret = Array.isArray(arg0);
884
869
  return ret;
885
870
  };
886
871
 
887
- exports.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
872
+ exports.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
888
873
  const ret = Number.isSafeInteger(arg0);
889
874
  return ret;
890
875
  };
891
876
 
892
- exports.__wbg_iterator_e5822695327a3c39 = function() {
877
+ exports.__wbg_iterator_27b7c8b35ab3e86b = function() {
893
878
  const ret = Symbol.iterator;
894
879
  return ret;
895
880
  };
896
881
 
897
- exports.__wbg_length_69bca3cb64fc8748 = function(arg0) {
882
+ exports.__wbg_length_22ac23eaec9d8053 = function(arg0) {
898
883
  const ret = arg0.length;
899
884
  return ret;
900
885
  };
901
886
 
902
- exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
887
+ exports.__wbg_length_d45040a40c570362 = function(arg0) {
903
888
  const ret = arg0.length;
904
889
  return ret;
905
890
  };
906
891
 
907
- exports.__wbg_new_1acc0b6eea89d040 = function() {
892
+ exports.__wbg_new_1ba21ce319a06297 = function() {
908
893
  const ret = new Object();
909
894
  return ret;
910
895
  };
911
896
 
912
- exports.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
913
- const ret = new Uint8Array(arg0);
897
+ exports.__wbg_new_25f239778d6112b9 = function() {
898
+ const ret = new Array();
914
899
  return ret;
915
900
  };
916
901
 
917
- exports.__wbg_new_68651c719dcda04e = function() {
918
- const ret = new Map();
902
+ exports.__wbg_new_6421f6084cc5bc5a = function(arg0) {
903
+ const ret = new Uint8Array(arg0);
919
904
  return ret;
920
905
  };
921
906
 
@@ -924,31 +909,31 @@ exports.__wbg_new_8a6f238a6ece86ea = function() {
924
909
  return ret;
925
910
  };
926
911
 
927
- exports.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
928
- const ret = new Error(getStringFromWasm0(arg0, arg1));
912
+ exports.__wbg_new_b546ae120718850e = function() {
913
+ const ret = new Map();
929
914
  return ret;
930
915
  };
931
916
 
932
- exports.__wbg_new_e17d9f43105b08be = function() {
933
- const ret = new Array();
917
+ exports.__wbg_new_df1173567d5ff028 = function(arg0, arg1) {
918
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
934
919
  return ret;
935
920
  };
936
921
 
937
- exports.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
922
+ exports.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
938
923
  const ret = new Function(getStringFromWasm0(arg0, arg1));
939
924
  return ret;
940
925
  };
941
926
 
942
- exports.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
943
- const ret = arg0.next();
944
- return ret;
945
- }, arguments) };
946
-
947
- exports.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
927
+ exports.__wbg_next_138a17bbf04e926c = function(arg0) {
948
928
  const ret = arg0.next;
949
929
  return ret;
950
930
  };
951
931
 
932
+ exports.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) {
933
+ const ret = arg0.next();
934
+ return ret;
935
+ }, arguments) };
936
+
952
937
  exports.__wbg_now_2c95c9de01293173 = function(arg0) {
953
938
  const ret = arg0.now();
954
939
  return ret;
@@ -959,7 +944,7 @@ exports.__wbg_performance_7a3ffd0b17f663ad = function(arg0) {
959
944
  return ret;
960
945
  };
961
946
 
962
- exports.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
947
+ exports.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
963
948
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
964
949
  };
965
950
 
@@ -967,13 +952,13 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
967
952
  arg0[arg1] = arg2;
968
953
  };
969
954
 
970
- exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
971
- const ret = arg0.set(arg1, arg2);
972
- return ret;
955
+ exports.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) {
956
+ arg0[arg1 >>> 0] = arg2;
973
957
  };
974
958
 
975
- exports.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
976
- arg0[arg1 >>> 0] = arg2;
959
+ exports.__wbg_set_efaaf145b9377369 = function(arg0, arg1, arg2) {
960
+ const ret = arg0.set(arg1, arg2);
961
+ return ret;
977
962
  };
978
963
 
979
964
  exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
@@ -984,27 +969,27 @@ exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
984
969
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
985
970
  };
986
971
 
987
- exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
972
+ exports.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
988
973
  const ret = typeof global === 'undefined' ? null : global;
989
974
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
990
975
  };
991
976
 
992
- exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
977
+ exports.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
993
978
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
994
979
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
995
980
  };
996
981
 
997
- exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
982
+ exports.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
998
983
  const ret = typeof self === 'undefined' ? null : self;
999
984
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1000
985
  };
1001
986
 
1002
- exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
987
+ exports.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
1003
988
  const ret = typeof window === 'undefined' ? null : window;
1004
989
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1005
990
  };
1006
991
 
1007
- exports.__wbg_value_692627309814bb8c = function(arg0) {
992
+ exports.__wbg_value_57b7b035e117f7ee = function(arg0) {
1008
993
  const ret = arg0.value;
1009
994
  return ret;
1010
995
  };
@@ -1041,7 +1026,6 @@ exports.__wbindgen_init_externref_table = function() {
1041
1026
  table.set(offset + 1, null);
1042
1027
  table.set(offset + 2, true);
1043
1028
  table.set(offset + 3, false);
1044
- ;
1045
1029
  };
1046
1030
 
1047
1031
  const wasmPath = `${__dirname}/biome_wasm_bg.wasm`;
@@ -1050,4 +1034,3 @@ const wasmModule = new WebAssembly.Module(wasmBytes);
1050
1034
  const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
1051
1035
 
1052
1036
  wasm.__wbindgen_start();
1053
-
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.11",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",