@biomejs/wasm-bundler 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_bg.js CHANGED
@@ -3,102 +3,16 @@ export function __wbg_set_wasm(val) {
3
3
  wasm = val;
4
4
  }
5
5
 
6
-
7
- let cachedUint8ArrayMemory0 = null;
8
-
9
- function getUint8ArrayMemory0() {
10
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
11
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
12
- }
13
- return cachedUint8ArrayMemory0;
14
- }
15
-
16
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
17
-
18
- cachedTextDecoder.decode();
19
-
20
- const MAX_SAFARI_DECODE_BYTES = 2146435072;
21
- let numBytesDecoded = 0;
22
- function decodeText(ptr, len) {
23
- numBytesDecoded += len;
24
- if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
25
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
26
- cachedTextDecoder.decode();
27
- numBytesDecoded = len;
28
- }
29
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
30
- }
31
-
32
- function getStringFromWasm0(ptr, len) {
33
- ptr = ptr >>> 0;
34
- return decodeText(ptr, len);
35
- }
36
-
37
- let WASM_VECTOR_LEN = 0;
38
-
39
- const cachedTextEncoder = new TextEncoder();
40
-
41
- if (!('encodeInto' in cachedTextEncoder)) {
42
- cachedTextEncoder.encodeInto = function (arg, view) {
43
- const buf = cachedTextEncoder.encode(arg);
44
- view.set(buf);
45
- return {
46
- read: arg.length,
47
- written: buf.length
48
- };
49
- }
50
- }
51
-
52
- function passStringToWasm0(arg, malloc, realloc) {
53
-
54
- if (realloc === undefined) {
55
- const buf = cachedTextEncoder.encode(arg);
56
- const ptr = malloc(buf.length, 1) >>> 0;
57
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
58
- WASM_VECTOR_LEN = buf.length;
59
- return ptr;
60
- }
61
-
62
- let len = arg.length;
63
- let ptr = malloc(len, 1) >>> 0;
64
-
65
- const mem = getUint8ArrayMemory0();
66
-
67
- let offset = 0;
68
-
69
- for (; offset < len; offset++) {
70
- const code = arg.charCodeAt(offset);
71
- if (code > 0x7F) break;
72
- mem[ptr + offset] = code;
73
- }
74
-
75
- if (offset !== len) {
76
- if (offset !== 0) {
77
- arg = arg.slice(offset);
78
- }
79
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
80
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
81
- const ret = cachedTextEncoder.encodeInto(arg, view);
82
-
83
- offset += ret.written;
84
- ptr = realloc(ptr, len, offset, 1) >>> 0;
85
- }
86
-
87
- WASM_VECTOR_LEN = offset;
88
- return ptr;
6
+ function addToExternrefTable0(obj) {
7
+ const idx = wasm.__externref_table_alloc();
8
+ wasm.__wbindgen_externrefs.set(idx, obj);
9
+ return idx;
89
10
  }
90
11
 
91
- let cachedDataViewMemory0 = null;
92
-
93
- function getDataViewMemory0() {
94
- if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
95
- cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
12
+ function _assertClass(instance, klass) {
13
+ if (!(instance instanceof klass)) {
14
+ throw new Error(`expected instance of ${klass.name}`);
96
15
  }
97
- return cachedDataViewMemory0;
98
- }
99
-
100
- function isLikeNone(x) {
101
- return x === undefined || x === null;
102
16
  }
103
17
 
104
18
  function debugString(val) {
@@ -166,10 +80,30 @@ function debugString(val) {
166
80
  return className;
167
81
  }
168
82
 
169
- function addToExternrefTable0(obj) {
170
- const idx = wasm.__externref_table_alloc();
171
- wasm.__wbindgen_externrefs.set(idx, obj);
172
- return idx;
83
+ function getArrayU8FromWasm0(ptr, len) {
84
+ ptr = ptr >>> 0;
85
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
86
+ }
87
+
88
+ let cachedDataViewMemory0 = null;
89
+ function getDataViewMemory0() {
90
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
91
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
92
+ }
93
+ return cachedDataViewMemory0;
94
+ }
95
+
96
+ function getStringFromWasm0(ptr, len) {
97
+ ptr = ptr >>> 0;
98
+ return decodeText(ptr, len);
99
+ }
100
+
101
+ let cachedUint8ArrayMemory0 = null;
102
+ function getUint8ArrayMemory0() {
103
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
104
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
105
+ }
106
+ return cachedUint8ArrayMemory0;
173
107
  }
174
108
 
175
109
  function handleError(f, args) {
@@ -181,9 +115,8 @@ function handleError(f, args) {
181
115
  }
182
116
  }
183
117
 
184
- function getArrayU8FromWasm0(ptr, len) {
185
- ptr = ptr >>> 0;
186
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
118
+ function isLikeNone(x) {
119
+ return x === undefined || x === null;
187
120
  }
188
121
 
189
122
  function passArray8ToWasm0(arg, malloc) {
@@ -193,8 +126,41 @@ function passArray8ToWasm0(arg, malloc) {
193
126
  return ptr;
194
127
  }
195
128
 
196
- export function main() {
197
- wasm.main();
129
+ function passStringToWasm0(arg, malloc, realloc) {
130
+ if (realloc === undefined) {
131
+ const buf = cachedTextEncoder.encode(arg);
132
+ const ptr = malloc(buf.length, 1) >>> 0;
133
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
134
+ WASM_VECTOR_LEN = buf.length;
135
+ return ptr;
136
+ }
137
+
138
+ let len = arg.length;
139
+ let ptr = malloc(len, 1) >>> 0;
140
+
141
+ const mem = getUint8ArrayMemory0();
142
+
143
+ let offset = 0;
144
+
145
+ for (; offset < len; offset++) {
146
+ const code = arg.charCodeAt(offset);
147
+ if (code > 0x7F) break;
148
+ mem[ptr + offset] = code;
149
+ }
150
+ if (offset !== len) {
151
+ if (offset !== 0) {
152
+ arg = arg.slice(offset);
153
+ }
154
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
155
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
156
+ const ret = cachedTextEncoder.encodeInto(arg, view);
157
+
158
+ offset += ret.written;
159
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
160
+ }
161
+
162
+ WASM_VECTOR_LEN = offset;
163
+ return ptr;
198
164
  }
199
165
 
200
166
  function takeFromExternrefTable0(idx) {
@@ -203,25 +169,54 @@ function takeFromExternrefTable0(idx) {
203
169
  return value;
204
170
  }
205
171
 
206
- function _assertClass(instance, klass) {
207
- if (!(instance instanceof klass)) {
208
- throw new Error(`expected instance of ${klass.name}`);
172
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
173
+ cachedTextDecoder.decode();
174
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
175
+ let numBytesDecoded = 0;
176
+ function decodeText(ptr, len) {
177
+ numBytesDecoded += len;
178
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
179
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
180
+ cachedTextDecoder.decode();
181
+ numBytesDecoded = len;
182
+ }
183
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
184
+ }
185
+
186
+ const cachedTextEncoder = new TextEncoder();
187
+
188
+ if (!('encodeInto' in cachedTextEncoder)) {
189
+ cachedTextEncoder.encodeInto = function (arg, view) {
190
+ const buf = cachedTextEncoder.encode(arg);
191
+ view.set(buf);
192
+ return {
193
+ read: arg.length,
194
+ written: buf.length
195
+ };
209
196
  }
210
197
  }
211
198
 
199
+ let WASM_VECTOR_LEN = 0;
200
+
212
201
  const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
213
202
  ? { register: () => {}, unregister: () => {} }
214
203
  : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0, 1));
215
204
 
216
- export class DiagnosticPrinter {
205
+ const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
206
+ ? { register: () => {}, unregister: () => {} }
207
+ : new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
217
208
 
209
+ const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
210
+ ? { register: () => {}, unregister: () => {} }
211
+ : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
212
+
213
+ export class DiagnosticPrinter {
218
214
  __destroy_into_raw() {
219
215
  const ptr = this.__wbg_ptr;
220
216
  this.__wbg_ptr = 0;
221
217
  DiagnosticPrinterFinalization.unregister(this);
222
218
  return ptr;
223
219
  }
224
-
225
220
  free() {
226
221
  const ptr = this.__destroy_into_raw();
227
222
  wasm.__wbg_diagnosticprinter_free(ptr, 0);
@@ -283,19 +278,13 @@ export class DiagnosticPrinter {
283
278
  }
284
279
  if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
285
280
 
286
- const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
287
- ? { register: () => {}, unregister: () => {} }
288
- : new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
289
-
290
281
  export class MemoryFileSystem {
291
-
292
282
  __destroy_into_raw() {
293
283
  const ptr = this.__wbg_ptr;
294
284
  this.__wbg_ptr = 0;
295
285
  MemoryFileSystemFinalization.unregister(this);
296
286
  return ptr;
297
287
  }
298
-
299
288
  free() {
300
289
  const ptr = this.__destroy_into_raw();
301
290
  wasm.__wbg_memoryfilesystem_free(ptr, 0);
@@ -328,12 +317,7 @@ export class MemoryFileSystem {
328
317
  }
329
318
  if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
330
319
 
331
- const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
332
- ? { register: () => {}, unregister: () => {} }
333
- : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
334
-
335
320
  export class Workspace {
336
-
337
321
  static __wrap(ptr) {
338
322
  ptr = ptr >>> 0;
339
323
  const obj = Object.create(Workspace.prototype);
@@ -341,14 +325,12 @@ export class Workspace {
341
325
  WorkspaceFinalization.register(obj, obj.__wbg_ptr, obj);
342
326
  return obj;
343
327
  }
344
-
345
328
  __destroy_into_raw() {
346
329
  const ptr = this.__wbg_ptr;
347
330
  this.__wbg_ptr = 0;
348
331
  WorkspaceFinalization.unregister(this);
349
332
  return ptr;
350
333
  }
351
-
352
334
  free() {
353
335
  const ptr = this.__destroy_into_raw();
354
336
  wasm.__wbg_workspace_free(ptr, 0);
@@ -708,12 +690,16 @@ export class Workspace {
708
690
  }
709
691
  if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
710
692
 
711
- export function __wbg_Error_e83987f665cf5504(arg0, arg1) {
693
+ export function main() {
694
+ wasm.main();
695
+ }
696
+
697
+ export function __wbg_Error_52673b7de5a0ca89(arg0, arg1) {
712
698
  const ret = Error(getStringFromWasm0(arg0, arg1));
713
699
  return ret;
714
700
  };
715
701
 
716
- export function __wbg_Number_bb48ca12f395cd08(arg0) {
702
+ export function __wbg_Number_2d1dcfcf4ec51736(arg0) {
717
703
  const ret = Number(arg0);
718
704
  return ret;
719
705
  };
@@ -726,20 +712,20 @@ export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
726
712
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
727
713
  };
728
714
 
729
- export function __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd(arg0, arg1) {
715
+ export function __wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d(arg0, arg1) {
730
716
  const v = arg1;
731
717
  const ret = typeof(v) === 'bigint' ? v : undefined;
732
718
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
733
719
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
734
720
  };
735
721
 
736
- export function __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68(arg0) {
722
+ export function __wbg___wbindgen_boolean_get_dea25b33882b895b(arg0) {
737
723
  const v = arg0;
738
724
  const ret = typeof(v) === 'boolean' ? v : undefined;
739
725
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
740
726
  };
741
727
 
742
- export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0, arg1) {
728
+ export function __wbg___wbindgen_debug_string_adfb662ae34724b6(arg0, arg1) {
743
729
  const ret = debugString(arg1);
744
730
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
745
731
  const len1 = WASM_VECTOR_LEN;
@@ -747,55 +733,55 @@ export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0, arg1) {
747
733
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
748
734
  };
749
735
 
750
- export function __wbg___wbindgen_in_bb933bd9e1b3bc0f(arg0, arg1) {
736
+ export function __wbg___wbindgen_in_0d3e1e8f0c669317(arg0, arg1) {
751
737
  const ret = arg0 in arg1;
752
738
  return ret;
753
739
  };
754
740
 
755
- export function __wbg___wbindgen_is_bigint_cb320707dcd35f0b(arg0) {
741
+ export function __wbg___wbindgen_is_bigint_0e1a2e3f55cfae27(arg0) {
756
742
  const ret = typeof(arg0) === 'bigint';
757
743
  return ret;
758
744
  };
759
745
 
760
- export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0) {
746
+ export function __wbg___wbindgen_is_function_8d400b8b1af978cd(arg0) {
761
747
  const ret = typeof(arg0) === 'function';
762
748
  return ret;
763
749
  };
764
750
 
765
- export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0) {
751
+ export function __wbg___wbindgen_is_object_ce774f3490692386(arg0) {
766
752
  const val = arg0;
767
753
  const ret = typeof(val) === 'object' && val !== null;
768
754
  return ret;
769
755
  };
770
756
 
771
- export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0) {
757
+ export function __wbg___wbindgen_is_string_704ef9c8fc131030(arg0) {
772
758
  const ret = typeof(arg0) === 'string';
773
759
  return ret;
774
760
  };
775
761
 
776
- export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0) {
762
+ export function __wbg___wbindgen_is_undefined_f6b95eab589e0269(arg0) {
777
763
  const ret = arg0 === undefined;
778
764
  return ret;
779
765
  };
780
766
 
781
- export function __wbg___wbindgen_jsval_eq_6b13ab83478b1c50(arg0, arg1) {
767
+ export function __wbg___wbindgen_jsval_eq_b6101cc9cef1fe36(arg0, arg1) {
782
768
  const ret = arg0 === arg1;
783
769
  return ret;
784
770
  };
785
771
 
786
- export function __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147(arg0, arg1) {
772
+ export function __wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d(arg0, arg1) {
787
773
  const ret = arg0 == arg1;
788
774
  return ret;
789
775
  };
790
776
 
791
- export function __wbg___wbindgen_number_get_a20bf9b85341449d(arg0, arg1) {
777
+ export function __wbg___wbindgen_number_get_9619185a74197f95(arg0, arg1) {
792
778
  const obj = arg1;
793
779
  const ret = typeof(obj) === 'number' ? obj : undefined;
794
780
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
795
781
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
796
782
  };
797
783
 
798
- export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0, arg1) {
784
+ export function __wbg___wbindgen_string_get_a2a31e16edf96e42(arg0, arg1) {
799
785
  const obj = arg1;
800
786
  const ret = typeof(obj) === 'string' ? obj : undefined;
801
787
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -804,21 +790,21 @@ export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0, arg1) {
804
790
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
805
791
  };
806
792
 
807
- export function __wbg___wbindgen_throw_b855445ff6a94295(arg0, arg1) {
793
+ export function __wbg___wbindgen_throw_dd24417ed36fc46e(arg0, arg1) {
808
794
  throw new Error(getStringFromWasm0(arg0, arg1));
809
795
  };
810
796
 
811
- export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg0, arg1) {
797
+ export function __wbg_call_abb4ff46ce38be40() { return handleError(function (arg0, arg1) {
812
798
  const ret = arg0.call(arg1);
813
799
  return ret;
814
800
  }, arguments) };
815
801
 
816
- export function __wbg_done_2042aa2670fb1db1(arg0) {
802
+ export function __wbg_done_62ea16af4ce34b24(arg0) {
817
803
  const ret = arg0.done;
818
804
  return ret;
819
805
  };
820
806
 
821
- export function __wbg_entries_e171b586f8f6bdbf(arg0) {
807
+ export function __wbg_entries_83c79938054e065f(arg0) {
822
808
  const ret = Object.entries(arg0);
823
809
  return ret;
824
810
  };
@@ -835,12 +821,12 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
835
821
  }
836
822
  };
837
823
 
838
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
824
+ export function __wbg_get_6b7bd52aca3f9671(arg0, arg1) {
839
825
  const ret = arg0[arg1 >>> 0];
840
826
  return ret;
841
827
  };
842
828
 
843
- export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
829
+ export function __wbg_get_af9dab7e9603ea93() { return handleError(function (arg0, arg1) {
844
830
  const ret = Reflect.get(arg0, arg1);
845
831
  return ret;
846
832
  }, arguments) };
@@ -850,7 +836,7 @@ export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
850
836
  return ret;
851
837
  };
852
838
 
853
- export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0) {
839
+ export function __wbg_instanceof_ArrayBuffer_f3320d2419cd0355(arg0) {
854
840
  let result;
855
841
  try {
856
842
  result = arg0 instanceof ArrayBuffer;
@@ -861,7 +847,7 @@ export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0) {
861
847
  return ret;
862
848
  };
863
849
 
864
- export function __wbg_instanceof_Map_8579b5e2ab5437c7(arg0) {
850
+ export function __wbg_instanceof_Map_084be8da74364158(arg0) {
865
851
  let result;
866
852
  try {
867
853
  result = arg0 instanceof Map;
@@ -872,7 +858,7 @@ export function __wbg_instanceof_Map_8579b5e2ab5437c7(arg0) {
872
858
  return ret;
873
859
  };
874
860
 
875
- export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0) {
861
+ export function __wbg_instanceof_Uint8Array_da54ccc9d3e09434(arg0) {
876
862
  let result;
877
863
  try {
878
864
  result = arg0 instanceof Uint8Array;
@@ -883,43 +869,43 @@ export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0) {
883
869
  return ret;
884
870
  };
885
871
 
886
- export function __wbg_isArray_96e0af9891d0945d(arg0) {
872
+ export function __wbg_isArray_51fd9e6422c0a395(arg0) {
887
873
  const ret = Array.isArray(arg0);
888
874
  return ret;
889
875
  };
890
876
 
891
- export function __wbg_isSafeInteger_d216eda7911dde36(arg0) {
877
+ export function __wbg_isSafeInteger_ae7d3f054d55fa16(arg0) {
892
878
  const ret = Number.isSafeInteger(arg0);
893
879
  return ret;
894
880
  };
895
881
 
896
- export function __wbg_iterator_e5822695327a3c39() {
882
+ export function __wbg_iterator_27b7c8b35ab3e86b() {
897
883
  const ret = Symbol.iterator;
898
884
  return ret;
899
885
  };
900
886
 
901
- export function __wbg_length_69bca3cb64fc8748(arg0) {
887
+ export function __wbg_length_22ac23eaec9d8053(arg0) {
902
888
  const ret = arg0.length;
903
889
  return ret;
904
890
  };
905
891
 
906
- export function __wbg_length_cdd215e10d9dd507(arg0) {
892
+ export function __wbg_length_d45040a40c570362(arg0) {
907
893
  const ret = arg0.length;
908
894
  return ret;
909
895
  };
910
896
 
911
- export function __wbg_new_1acc0b6eea89d040() {
897
+ export function __wbg_new_1ba21ce319a06297() {
912
898
  const ret = new Object();
913
899
  return ret;
914
900
  };
915
901
 
916
- export function __wbg_new_5a79be3ab53b8aa5(arg0) {
917
- const ret = new Uint8Array(arg0);
902
+ export function __wbg_new_25f239778d6112b9() {
903
+ const ret = new Array();
918
904
  return ret;
919
905
  };
920
906
 
921
- export function __wbg_new_68651c719dcda04e() {
922
- const ret = new Map();
907
+ export function __wbg_new_6421f6084cc5bc5a(arg0) {
908
+ const ret = new Uint8Array(arg0);
923
909
  return ret;
924
910
  };
925
911
 
@@ -928,31 +914,31 @@ export function __wbg_new_8a6f238a6ece86ea() {
928
914
  return ret;
929
915
  };
930
916
 
931
- export function __wbg_new_a7442b4b19c1a356(arg0, arg1) {
932
- const ret = new Error(getStringFromWasm0(arg0, arg1));
917
+ export function __wbg_new_b546ae120718850e() {
918
+ const ret = new Map();
933
919
  return ret;
934
920
  };
935
921
 
936
- export function __wbg_new_e17d9f43105b08be() {
937
- const ret = new Array();
922
+ export function __wbg_new_df1173567d5ff028(arg0, arg1) {
923
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
938
924
  return ret;
939
925
  };
940
926
 
941
- export function __wbg_new_no_args_ee98eee5275000a4(arg0, arg1) {
927
+ export function __wbg_new_no_args_cb138f77cf6151ee(arg0, arg1) {
942
928
  const ret = new Function(getStringFromWasm0(arg0, arg1));
943
929
  return ret;
944
930
  };
945
931
 
946
- export function __wbg_next_020810e0ae8ebcb0() { return handleError(function (arg0) {
947
- const ret = arg0.next();
948
- return ret;
949
- }, arguments) };
950
-
951
- export function __wbg_next_2c826fe5dfec6b6a(arg0) {
932
+ export function __wbg_next_138a17bbf04e926c(arg0) {
952
933
  const ret = arg0.next;
953
934
  return ret;
954
935
  };
955
936
 
937
+ export function __wbg_next_3cfe5c0fe2a4cc53() { return handleError(function (arg0) {
938
+ const ret = arg0.next();
939
+ return ret;
940
+ }, arguments) };
941
+
956
942
  export function __wbg_now_2c95c9de01293173(arg0) {
957
943
  const ret = arg0.now();
958
944
  return ret;
@@ -963,7 +949,7 @@ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
963
949
  return ret;
964
950
  };
965
951
 
966
- export function __wbg_prototypesetcall_2a6620b6922694b2(arg0, arg1, arg2) {
952
+ export function __wbg_prototypesetcall_dfe9b766cdc1f1fd(arg0, arg1, arg2) {
967
953
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
968
954
  };
969
955
 
@@ -971,13 +957,13 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
971
957
  arg0[arg1] = arg2;
972
958
  };
973
959
 
974
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
975
- const ret = arg0.set(arg1, arg2);
976
- return ret;
960
+ export function __wbg_set_7df433eea03a5c14(arg0, arg1, arg2) {
961
+ arg0[arg1 >>> 0] = arg2;
977
962
  };
978
963
 
979
- export function __wbg_set_c213c871859d6500(arg0, arg1, arg2) {
980
- arg0[arg1 >>> 0] = arg2;
964
+ export function __wbg_set_efaaf145b9377369(arg0, arg1, arg2) {
965
+ const ret = arg0.set(arg1, arg2);
966
+ return ret;
981
967
  };
982
968
 
983
969
  export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
@@ -988,27 +974,27 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
988
974
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
989
975
  };
990
976
 
991
- export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e() {
977
+ export function __wbg_static_accessor_GLOBAL_769e6b65d6557335() {
992
978
  const ret = typeof global === 'undefined' ? null : global;
993
979
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
994
980
  };
995
981
 
996
- export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac() {
982
+ export function __wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1() {
997
983
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
998
984
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
999
985
  };
1000
986
 
1001
- export function __wbg_static_accessor_SELF_6fdf4b64710cc91b() {
987
+ export function __wbg_static_accessor_SELF_08f5a74c69739274() {
1002
988
  const ret = typeof self === 'undefined' ? null : self;
1003
989
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1004
990
  };
1005
991
 
1006
- export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2() {
992
+ export function __wbg_static_accessor_WINDOW_a8924b26aa92d024() {
1007
993
  const ret = typeof window === 'undefined' ? null : window;
1008
994
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1009
995
  };
1010
996
 
1011
- export function __wbg_value_692627309814bb8c(arg0) {
997
+ export function __wbg_value_57b7b035e117f7ee(arg0) {
1012
998
  const ret = arg0.value;
1013
999
  return ret;
1014
1000
  };
@@ -1045,6 +1031,4 @@ export function __wbindgen_init_externref_table() {
1045
1031
  table.set(offset + 1, null);
1046
1032
  table.set(offset + 2, true);
1047
1033
  table.set(offset + 3, false);
1048
- ;
1049
1034
  };
1050
-
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.9",
8
+ "version": "2.3.11",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",