@biomejs/wasm-nodejs 2.3.13 → 2.3.14
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 +123 -2
- package/biome_wasm.js +31 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1724,6 +1724,11 @@ See https://biomejs.dev/linter/rules/no-deprecated-imports
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
noDeprecatedImports?: NoDeprecatedImportsConfiguration;
|
|
1726
1726
|
/**
|
|
1727
|
+
* Disallow deprecated media types.
|
|
1728
|
+
See https://biomejs.dev/linter/rules/no-deprecated-media-type
|
|
1729
|
+
*/
|
|
1730
|
+
noDeprecatedMediaType?: NoDeprecatedMediaTypeConfiguration;
|
|
1731
|
+
/**
|
|
1727
1732
|
* Disallow equal signs explicitly at the beginning of regular expressions.
|
|
1728
1733
|
See https://biomejs.dev/linter/rules/no-div-regex
|
|
1729
1734
|
*/
|
|
@@ -1814,6 +1819,11 @@ See https://biomejs.dev/linter/rules/no-for-in
|
|
|
1814
1819
|
*/
|
|
1815
1820
|
noForIn?: NoForInConfiguration;
|
|
1816
1821
|
/**
|
|
1822
|
+
* Disallow hex colors.
|
|
1823
|
+
See https://biomejs.dev/linter/rules/no-hex-colors
|
|
1824
|
+
*/
|
|
1825
|
+
noHexColors?: NoHexColorsConfiguration;
|
|
1826
|
+
/**
|
|
1817
1827
|
* Prevent import cycles.
|
|
1818
1828
|
See https://biomejs.dev/linter/rules/no-import-cycles
|
|
1819
1829
|
*/
|
|
@@ -1874,6 +1884,11 @@ See https://biomejs.dev/linter/rules/no-react-forward-ref
|
|
|
1874
1884
|
*/
|
|
1875
1885
|
noReactForwardRef?: NoReactForwardRefConfiguration;
|
|
1876
1886
|
/**
|
|
1887
|
+
* Checks if a default export exports the same symbol as a named export.
|
|
1888
|
+
See https://biomejs.dev/linter/rules/no-redundant-default-export
|
|
1889
|
+
*/
|
|
1890
|
+
noRedundantDefaultExport?: NoRedundantDefaultExportConfiguration;
|
|
1891
|
+
/**
|
|
1877
1892
|
* Disallow assignments in return statements.
|
|
1878
1893
|
See https://biomejs.dev/linter/rules/no-return-assign
|
|
1879
1894
|
*/
|
|
@@ -1939,6 +1954,11 @@ See https://biomejs.dev/linter/rules/no-useless-undefined
|
|
|
1939
1954
|
*/
|
|
1940
1955
|
noUselessUndefined?: NoUselessUndefinedConfiguration;
|
|
1941
1956
|
/**
|
|
1957
|
+
* Disallows using arrow functions when defining a watcher.
|
|
1958
|
+
See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
|
|
1959
|
+
*/
|
|
1960
|
+
noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
|
|
1961
|
+
/**
|
|
1942
1962
|
* Enforce that Vue component data options are declared as functions.
|
|
1943
1963
|
See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
|
|
1944
1964
|
*/
|
|
@@ -2003,6 +2023,11 @@ See https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions
|
|
|
2003
2023
|
*/
|
|
2004
2024
|
useConsistentGraphqlDescriptions?: UseConsistentGraphqlDescriptionsConfiguration;
|
|
2005
2025
|
/**
|
|
2026
|
+
* Enforce consistent use of either method signatures or function properties within interfaces and type aliases.
|
|
2027
|
+
See https://biomejs.dev/linter/rules/use-consistent-method-signatures
|
|
2028
|
+
*/
|
|
2029
|
+
useConsistentMethodSignatures?: UseConsistentMethodSignaturesConfiguration;
|
|
2030
|
+
/**
|
|
2006
2031
|
* Require the @deprecated directive to specify a deletion date.
|
|
2007
2032
|
See https://biomejs.dev/linter/rules/use-deprecated-date
|
|
2008
2033
|
*/
|
|
@@ -2033,11 +2058,21 @@ See https://biomejs.dev/linter/rules/use-find
|
|
|
2033
2058
|
*/
|
|
2034
2059
|
useFind?: UseFindConfiguration;
|
|
2035
2060
|
/**
|
|
2061
|
+
* Enforce the use of globalThis over window, self, and global.
|
|
2062
|
+
See https://biomejs.dev/linter/rules/use-global-this
|
|
2063
|
+
*/
|
|
2064
|
+
useGlobalThis?: UseGlobalThisConfiguration;
|
|
2065
|
+
/**
|
|
2036
2066
|
* Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.
|
|
2037
2067
|
See https://biomejs.dev/linter/rules/use-inline-script-id
|
|
2038
2068
|
*/
|
|
2039
2069
|
useInlineScriptId?: UseInlineScriptIdConfiguration;
|
|
2040
2070
|
/**
|
|
2071
|
+
* Require mutation argument to be always called "input".
|
|
2072
|
+
See https://biomejs.dev/linter/rules/use-input-name
|
|
2073
|
+
*/
|
|
2074
|
+
useInputName?: UseInputNameConfiguration;
|
|
2075
|
+
/**
|
|
2041
2076
|
* Disallow anonymous operations when more than one operation specified in document.
|
|
2042
2077
|
See https://biomejs.dev/linter/rules/use-lone-anonymous-operation
|
|
2043
2078
|
*/
|
|
@@ -3591,6 +3626,9 @@ type NoContinueConfiguration =
|
|
|
3591
3626
|
type NoDeprecatedImportsConfiguration =
|
|
3592
3627
|
| RulePlainConfiguration
|
|
3593
3628
|
| RuleWithNoDeprecatedImportsOptions;
|
|
3629
|
+
type NoDeprecatedMediaTypeConfiguration =
|
|
3630
|
+
| RulePlainConfiguration
|
|
3631
|
+
| RuleWithNoDeprecatedMediaTypeOptions;
|
|
3594
3632
|
type NoDivRegexConfiguration =
|
|
3595
3633
|
| RulePlainConfiguration
|
|
3596
3634
|
| RuleWithNoDivRegexOptions;
|
|
@@ -3643,6 +3681,9 @@ type NoFloatingPromisesConfiguration =
|
|
|
3643
3681
|
| RulePlainConfiguration
|
|
3644
3682
|
| RuleWithNoFloatingPromisesOptions;
|
|
3645
3683
|
type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
|
|
3684
|
+
type NoHexColorsConfiguration =
|
|
3685
|
+
| RulePlainConfiguration
|
|
3686
|
+
| RuleWithNoHexColorsOptions;
|
|
3646
3687
|
type NoImportCyclesConfiguration =
|
|
3647
3688
|
| RulePlainConfiguration
|
|
3648
3689
|
| RuleWithNoImportCyclesOptions;
|
|
@@ -3677,6 +3718,9 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
|
|
|
3677
3718
|
type NoReactForwardRefConfiguration =
|
|
3678
3719
|
| RulePlainConfiguration
|
|
3679
3720
|
| RuleWithNoReactForwardRefOptions;
|
|
3721
|
+
type NoRedundantDefaultExportConfiguration =
|
|
3722
|
+
| RulePlainConfiguration
|
|
3723
|
+
| RuleWithNoRedundantDefaultExportOptions;
|
|
3680
3724
|
type NoReturnAssignConfiguration =
|
|
3681
3725
|
| RulePlainConfiguration
|
|
3682
3726
|
| RuleWithNoReturnAssignOptions;
|
|
@@ -3712,6 +3756,9 @@ type NoUselessCatchBindingConfiguration =
|
|
|
3712
3756
|
type NoUselessUndefinedConfiguration =
|
|
3713
3757
|
| RulePlainConfiguration
|
|
3714
3758
|
| RuleWithNoUselessUndefinedOptions;
|
|
3759
|
+
type NoVueArrowFuncInWatchConfiguration =
|
|
3760
|
+
| RulePlainConfiguration
|
|
3761
|
+
| RuleWithNoVueArrowFuncInWatchOptions;
|
|
3715
3762
|
type NoVueDataObjectDeclarationConfiguration =
|
|
3716
3763
|
| RulePlainConfiguration
|
|
3717
3764
|
| RuleWithNoVueDataObjectDeclarationOptions;
|
|
@@ -3748,6 +3795,9 @@ type UseConsistentEnumValueTypeConfiguration =
|
|
|
3748
3795
|
type UseConsistentGraphqlDescriptionsConfiguration =
|
|
3749
3796
|
| RulePlainConfiguration
|
|
3750
3797
|
| RuleWithUseConsistentGraphqlDescriptionsOptions;
|
|
3798
|
+
type UseConsistentMethodSignaturesConfiguration =
|
|
3799
|
+
| RulePlainConfiguration
|
|
3800
|
+
| RuleWithUseConsistentMethodSignaturesOptions;
|
|
3751
3801
|
type UseDeprecatedDateConfiguration =
|
|
3752
3802
|
| RulePlainConfiguration
|
|
3753
3803
|
| RuleWithUseDeprecatedDateOptions;
|
|
@@ -3764,9 +3814,15 @@ type UseExplicitTypeConfiguration =
|
|
|
3764
3814
|
| RulePlainConfiguration
|
|
3765
3815
|
| RuleWithUseExplicitTypeOptions;
|
|
3766
3816
|
type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
|
|
3817
|
+
type UseGlobalThisConfiguration =
|
|
3818
|
+
| RulePlainConfiguration
|
|
3819
|
+
| RuleWithUseGlobalThisOptions;
|
|
3767
3820
|
type UseInlineScriptIdConfiguration =
|
|
3768
3821
|
| RulePlainConfiguration
|
|
3769
3822
|
| RuleWithUseInlineScriptIdOptions;
|
|
3823
|
+
type UseInputNameConfiguration =
|
|
3824
|
+
| RulePlainConfiguration
|
|
3825
|
+
| RuleWithUseInputNameOptions;
|
|
3770
3826
|
type UseLoneAnonymousOperationConfiguration =
|
|
3771
3827
|
| RulePlainConfiguration
|
|
3772
3828
|
| RuleWithUseLoneAnonymousOperationOptions;
|
|
@@ -5072,6 +5128,10 @@ interface RuleWithNoDeprecatedImportsOptions {
|
|
|
5072
5128
|
level: RulePlainConfiguration;
|
|
5073
5129
|
options?: NoDeprecatedImportsOptions;
|
|
5074
5130
|
}
|
|
5131
|
+
interface RuleWithNoDeprecatedMediaTypeOptions {
|
|
5132
|
+
level: RulePlainConfiguration;
|
|
5133
|
+
options?: NoDeprecatedMediaTypeOptions;
|
|
5134
|
+
}
|
|
5075
5135
|
interface RuleWithNoDivRegexOptions {
|
|
5076
5136
|
fix?: FixKind;
|
|
5077
5137
|
level: RulePlainConfiguration;
|
|
@@ -5147,6 +5207,10 @@ interface RuleWithNoForInOptions {
|
|
|
5147
5207
|
level: RulePlainConfiguration;
|
|
5148
5208
|
options?: NoForInOptions;
|
|
5149
5209
|
}
|
|
5210
|
+
interface RuleWithNoHexColorsOptions {
|
|
5211
|
+
level: RulePlainConfiguration;
|
|
5212
|
+
options?: NoHexColorsOptions;
|
|
5213
|
+
}
|
|
5150
5214
|
interface RuleWithNoImportCyclesOptions {
|
|
5151
5215
|
level: RulePlainConfiguration;
|
|
5152
5216
|
options?: NoImportCyclesOptions;
|
|
@@ -5198,6 +5262,10 @@ interface RuleWithNoReactForwardRefOptions {
|
|
|
5198
5262
|
level: RulePlainConfiguration;
|
|
5199
5263
|
options?: NoReactForwardRefOptions;
|
|
5200
5264
|
}
|
|
5265
|
+
interface RuleWithNoRedundantDefaultExportOptions {
|
|
5266
|
+
level: RulePlainConfiguration;
|
|
5267
|
+
options?: NoRedundantDefaultExportOptions;
|
|
5268
|
+
}
|
|
5201
5269
|
interface RuleWithNoReturnAssignOptions {
|
|
5202
5270
|
level: RulePlainConfiguration;
|
|
5203
5271
|
options?: NoReturnAssignOptions;
|
|
@@ -5252,6 +5320,11 @@ interface RuleWithNoUselessUndefinedOptions {
|
|
|
5252
5320
|
level: RulePlainConfiguration;
|
|
5253
5321
|
options?: NoUselessUndefinedOptions;
|
|
5254
5322
|
}
|
|
5323
|
+
interface RuleWithNoVueArrowFuncInWatchOptions {
|
|
5324
|
+
fix?: FixKind;
|
|
5325
|
+
level: RulePlainConfiguration;
|
|
5326
|
+
options?: NoVueArrowFuncInWatchOptions;
|
|
5327
|
+
}
|
|
5255
5328
|
interface RuleWithNoVueDataObjectDeclarationOptions {
|
|
5256
5329
|
fix?: FixKind;
|
|
5257
5330
|
level: RulePlainConfiguration;
|
|
@@ -5302,6 +5375,10 @@ interface RuleWithUseConsistentGraphqlDescriptionsOptions {
|
|
|
5302
5375
|
level: RulePlainConfiguration;
|
|
5303
5376
|
options?: UseConsistentGraphqlDescriptionsOptions;
|
|
5304
5377
|
}
|
|
5378
|
+
interface RuleWithUseConsistentMethodSignaturesOptions {
|
|
5379
|
+
level: RulePlainConfiguration;
|
|
5380
|
+
options?: UseConsistentMethodSignaturesOptions;
|
|
5381
|
+
}
|
|
5305
5382
|
interface RuleWithUseDeprecatedDateOptions {
|
|
5306
5383
|
level: RulePlainConfiguration;
|
|
5307
5384
|
options?: UseDeprecatedDateOptions;
|
|
@@ -5327,10 +5404,18 @@ interface RuleWithUseFindOptions {
|
|
|
5327
5404
|
level: RulePlainConfiguration;
|
|
5328
5405
|
options?: UseFindOptions;
|
|
5329
5406
|
}
|
|
5407
|
+
interface RuleWithUseGlobalThisOptions {
|
|
5408
|
+
level: RulePlainConfiguration;
|
|
5409
|
+
options?: UseGlobalThisOptions;
|
|
5410
|
+
}
|
|
5330
5411
|
interface RuleWithUseInlineScriptIdOptions {
|
|
5331
5412
|
level: RulePlainConfiguration;
|
|
5332
5413
|
options?: UseInlineScriptIdOptions;
|
|
5333
5414
|
}
|
|
5415
|
+
interface RuleWithUseInputNameOptions {
|
|
5416
|
+
level: RulePlainConfiguration;
|
|
5417
|
+
options?: UseInputNameOptions;
|
|
5418
|
+
}
|
|
5334
5419
|
interface RuleWithUseLoneAnonymousOperationOptions {
|
|
5335
5420
|
level: RulePlainConfiguration;
|
|
5336
5421
|
options?: UseLoneAnonymousOperationOptions;
|
|
@@ -6555,6 +6640,12 @@ interface NoAmbiguousAnchorTextOptions {
|
|
|
6555
6640
|
type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
|
|
6556
6641
|
type NoContinueOptions = {};
|
|
6557
6642
|
type NoDeprecatedImportsOptions = {};
|
|
6643
|
+
interface NoDeprecatedMediaTypeOptions {
|
|
6644
|
+
/**
|
|
6645
|
+
* Media types to allow (case-insensitive).
|
|
6646
|
+
*/
|
|
6647
|
+
allow?: string[];
|
|
6648
|
+
}
|
|
6558
6649
|
type NoDivRegexOptions = {};
|
|
6559
6650
|
type NoDuplicateArgumentNamesOptions = {};
|
|
6560
6651
|
type NoDuplicateAttributesOptions = {};
|
|
@@ -6592,6 +6683,7 @@ interface NoExcessiveLinesPerFileOptions {
|
|
|
6592
6683
|
type NoFloatingClassesOptions = {};
|
|
6593
6684
|
type NoFloatingPromisesOptions = {};
|
|
6594
6685
|
type NoForInOptions = {};
|
|
6686
|
+
type NoHexColorsOptions = {};
|
|
6595
6687
|
interface NoImportCyclesOptions {
|
|
6596
6688
|
/**
|
|
6597
6689
|
* Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
|
|
@@ -6630,6 +6722,7 @@ type NoNextAsyncClientComponentOptions = {};
|
|
|
6630
6722
|
type NoParametersOnlyUsedInRecursionOptions = {};
|
|
6631
6723
|
type NoProtoOptions = {};
|
|
6632
6724
|
type NoReactForwardRefOptions = {};
|
|
6725
|
+
type NoRedundantDefaultExportOptions = {};
|
|
6633
6726
|
type NoReturnAssignOptions = {};
|
|
6634
6727
|
interface NoRootTypeOptions {
|
|
6635
6728
|
/**
|
|
@@ -6659,6 +6752,7 @@ type NoUnresolvedImportsOptions = {};
|
|
|
6659
6752
|
type NoUnusedExpressionsOptions = {};
|
|
6660
6753
|
type NoUselessCatchBindingOptions = {};
|
|
6661
6754
|
type NoUselessUndefinedOptions = {};
|
|
6755
|
+
type NoVueArrowFuncInWatchOptions = {};
|
|
6662
6756
|
type NoVueDataObjectDeclarationOptions = {};
|
|
6663
6757
|
type NoVueDuplicateKeysOptions = {};
|
|
6664
6758
|
type NoVueOptionsApiOptions = {};
|
|
@@ -6687,6 +6781,14 @@ interface UseConsistentGraphqlDescriptionsOptions {
|
|
|
6687
6781
|
*/
|
|
6688
6782
|
style?: UseConsistentGraphqlDescriptionsStyle;
|
|
6689
6783
|
}
|
|
6784
|
+
interface UseConsistentMethodSignaturesOptions {
|
|
6785
|
+
/**
|
|
6786
|
+
* The style of method signatures whose usage will be enforced.
|
|
6787
|
+
|
|
6788
|
+
Default: "property"
|
|
6789
|
+
*/
|
|
6790
|
+
style?: MethodSignatureStyle;
|
|
6791
|
+
}
|
|
6690
6792
|
interface UseDeprecatedDateOptions {
|
|
6691
6793
|
argumentName?: string;
|
|
6692
6794
|
}
|
|
@@ -6700,7 +6802,14 @@ interface UseErrorCauseOptions {
|
|
|
6700
6802
|
type UseExhaustiveSwitchCasesOptions = {};
|
|
6701
6803
|
type UseExplicitTypeOptions = {};
|
|
6702
6804
|
type UseFindOptions = {};
|
|
6805
|
+
type UseGlobalThisOptions = {};
|
|
6703
6806
|
type UseInlineScriptIdOptions = {};
|
|
6807
|
+
interface UseInputNameOptions {
|
|
6808
|
+
/**
|
|
6809
|
+
* Check that the input type name follows the convention <mutationName>Input
|
|
6810
|
+
*/
|
|
6811
|
+
checkInputType?: CheckInputType;
|
|
6812
|
+
}
|
|
6704
6813
|
type UseLoneAnonymousOperationOptions = {};
|
|
6705
6814
|
type UseLoneExecutableDefinitionOptions = {};
|
|
6706
6815
|
interface UseMaxParamsOptions {
|
|
@@ -7143,6 +7252,8 @@ while for `useState()` it would be `[1]`.
|
|
|
7143
7252
|
type Regex = string;
|
|
7144
7253
|
type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
|
|
7145
7254
|
type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
|
|
7255
|
+
type MethodSignatureStyle = "property" | "method";
|
|
7256
|
+
type CheckInputType = "off" | "loose" | "strict";
|
|
7146
7257
|
type DeclarationStyle = "type" | "runtime";
|
|
7147
7258
|
type VueDirectiveStyle = "shorthand" | "longhand";
|
|
7148
7259
|
type VueDirectiveStyle2 = "shorthand" | "longhand";
|
|
@@ -7471,6 +7582,7 @@ type Category =
|
|
|
7471
7582
|
| "lint/nursery/noColorInvalidHex"
|
|
7472
7583
|
| "lint/nursery/noContinue"
|
|
7473
7584
|
| "lint/nursery/noDeprecatedImports"
|
|
7585
|
+
| "lint/nursery/noDeprecatedMediaType"
|
|
7474
7586
|
| "lint/nursery/noDivRegex"
|
|
7475
7587
|
| "lint/nursery/noDuplicateArgumentNames"
|
|
7476
7588
|
| "lint/nursery/noDuplicateAttributes"
|
|
@@ -7489,6 +7601,7 @@ type Category =
|
|
|
7489
7601
|
| "lint/nursery/noFloatingClasses"
|
|
7490
7602
|
| "lint/nursery/noFloatingPromises"
|
|
7491
7603
|
| "lint/nursery/noForIn"
|
|
7604
|
+
| "lint/nursery/noHexColors"
|
|
7492
7605
|
| "lint/nursery/noImplicitCoercion"
|
|
7493
7606
|
| "lint/nursery/noImportCycles"
|
|
7494
7607
|
| "lint/nursery/noIncrementDecrement"
|
|
@@ -7497,13 +7610,13 @@ type Category =
|
|
|
7497
7610
|
| "lint/nursery/noLeakedRender"
|
|
7498
7611
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
7499
7612
|
| "lint/nursery/noMisusedPromises"
|
|
7500
|
-
| "lint/nursery/useConsistentEnumValueType"
|
|
7501
7613
|
| "lint/nursery/noMultiAssign"
|
|
7502
7614
|
| "lint/nursery/noMultiStr"
|
|
7503
7615
|
| "lint/nursery/noNextAsyncClientComponent"
|
|
7504
7616
|
| "lint/nursery/noParametersOnlyUsedInRecursion"
|
|
7505
7617
|
| "lint/nursery/noProto"
|
|
7506
7618
|
| "lint/nursery/noReactForwardRef"
|
|
7619
|
+
| "lint/nursery/noRedundantDefaultExport"
|
|
7507
7620
|
| "lint/nursery/noReturnAssign"
|
|
7508
7621
|
| "lint/nursery/noRootType"
|
|
7509
7622
|
| "lint/nursery/noScriptUrl"
|
|
@@ -7519,6 +7632,7 @@ type Category =
|
|
|
7519
7632
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
7520
7633
|
| "lint/nursery/noUselessCatchBinding"
|
|
7521
7634
|
| "lint/nursery/noUselessUndefined"
|
|
7635
|
+
| "lint/nursery/noVueArrowFuncInWatch"
|
|
7522
7636
|
| "lint/nursery/noVueDataObjectDeclaration"
|
|
7523
7637
|
| "lint/nursery/noVueDuplicateKeys"
|
|
7524
7638
|
| "lint/nursery/noVueOptionsApi"
|
|
@@ -7530,7 +7644,9 @@ type Category =
|
|
|
7530
7644
|
| "lint/nursery/useAwaitThenable"
|
|
7531
7645
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
7532
7646
|
| "lint/nursery/useConsistentArrowReturn"
|
|
7647
|
+
| "lint/nursery/useConsistentEnumValueType"
|
|
7533
7648
|
| "lint/nursery/useConsistentGraphqlDescriptions"
|
|
7649
|
+
| "lint/nursery/useConsistentMethodSignatures"
|
|
7534
7650
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
7535
7651
|
| "lint/nursery/useDeprecatedDate"
|
|
7536
7652
|
| "lint/nursery/useDestructuring"
|
|
@@ -7539,12 +7655,14 @@ type Category =
|
|
|
7539
7655
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
7540
7656
|
| "lint/nursery/useExplicitType"
|
|
7541
7657
|
| "lint/nursery/useFind"
|
|
7658
|
+
| "lint/nursery/useGlobalThis"
|
|
7542
7659
|
| "lint/nursery/useImportRestrictions"
|
|
7543
7660
|
| "lint/nursery/useInlineScriptId"
|
|
7661
|
+
| "lint/nursery/useInputName"
|
|
7544
7662
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
7663
|
+
| "lint/nursery/useLoneAnonymousOperation"
|
|
7545
7664
|
| "lint/nursery/useLoneExecutableDefinition"
|
|
7546
7665
|
| "lint/nursery/useMaxParams"
|
|
7547
|
-
| "lint/nursery/useLoneAnonymousOperation"
|
|
7548
7666
|
| "lint/nursery/useQwikMethodUsage"
|
|
7549
7667
|
| "lint/nursery/useQwikValidLexicalScope"
|
|
7550
7668
|
| "lint/nursery/useRegexpExec"
|
|
@@ -8377,13 +8495,16 @@ export class Workspace {
|
|
|
8377
8495
|
changeFile(params: ChangeFileParams): ChangeFileResult;
|
|
8378
8496
|
fileExists(params: FileExitsParams): boolean;
|
|
8379
8497
|
formatFile(params: FormatFileParams): any;
|
|
8498
|
+
dropPattern(params: DropPatternParams): void;
|
|
8380
8499
|
formatRange(params: FormatRangeParams): any;
|
|
8381
8500
|
openProject(params: OpenProjectParams): OpenProjectResult;
|
|
8382
8501
|
pullActions(params: PullActionsParams): PullActionsResult;
|
|
8383
8502
|
scanProject(params: ScanProjectParams): ScanProjectResult;
|
|
8384
8503
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
|
8385
8504
|
getTypeInfo(params: GetTypeInfoParams): string;
|
|
8505
|
+
parsePattern(params: ParsePatternParams): ParsePatternResult;
|
|
8386
8506
|
formatOnType(params: FormatOnTypeParams): any;
|
|
8507
|
+
searchPattern(params: SearchPatternParams): SearchResults;
|
|
8387
8508
|
getSyntaxTree(params: GetSyntaxTreeParams): GetSyntaxTreeResult;
|
|
8388
8509
|
isPathIgnored(params: PathIsIgnoredParams): boolean;
|
|
8389
8510
|
updateSettings(params: UpdateSettingsParams): UpdateSettingsResult;
|
package/biome_wasm.js
CHANGED
|
@@ -370,6 +370,15 @@ class Workspace {
|
|
|
370
370
|
}
|
|
371
371
|
return takeFromExternrefTable0(ret[0]);
|
|
372
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* @param {DropPatternParams} params
|
|
375
|
+
*/
|
|
376
|
+
dropPattern(params) {
|
|
377
|
+
const ret = wasm.workspace_dropPattern(this.__wbg_ptr, params);
|
|
378
|
+
if (ret[1]) {
|
|
379
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
373
382
|
/**
|
|
374
383
|
* @param {FormatRangeParams} params
|
|
375
384
|
* @returns {any}
|
|
@@ -447,6 +456,17 @@ class Workspace {
|
|
|
447
456
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
448
457
|
}
|
|
449
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* @param {ParsePatternParams} params
|
|
461
|
+
* @returns {ParsePatternResult}
|
|
462
|
+
*/
|
|
463
|
+
parsePattern(params) {
|
|
464
|
+
const ret = wasm.workspace_parsePattern(this.__wbg_ptr, params);
|
|
465
|
+
if (ret[2]) {
|
|
466
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
467
|
+
}
|
|
468
|
+
return takeFromExternrefTable0(ret[0]);
|
|
469
|
+
}
|
|
450
470
|
/**
|
|
451
471
|
* @param {FormatOnTypeParams} params
|
|
452
472
|
* @returns {any}
|
|
@@ -458,6 +478,17 @@ class Workspace {
|
|
|
458
478
|
}
|
|
459
479
|
return takeFromExternrefTable0(ret[0]);
|
|
460
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* @param {SearchPatternParams} params
|
|
483
|
+
* @returns {SearchResults}
|
|
484
|
+
*/
|
|
485
|
+
searchPattern(params) {
|
|
486
|
+
const ret = wasm.workspace_searchPattern(this.__wbg_ptr, params);
|
|
487
|
+
if (ret[2]) {
|
|
488
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
489
|
+
}
|
|
490
|
+
return takeFromExternrefTable0(ret[0]);
|
|
491
|
+
}
|
|
461
492
|
/**
|
|
462
493
|
* @param {GetSyntaxTreeParams} params
|
|
463
494
|
* @returns {GetSyntaxTreeResult}
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|