@biomejs/wasm-nodejs 2.3.13 → 2.3.15

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
@@ -215,7 +215,7 @@ match these patterns.
215
215
  * Use any `.editorconfig` files to configure the formatter. Configuration
216
216
  in `biome.json` will override `.editorconfig` configuration.
217
217
 
218
- Default: `true`.
218
+ Default: `false`.
219
219
  */
220
220
  useEditorconfig?: Bool;
221
221
  }
@@ -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
  */
@@ -1854,6 +1864,11 @@ See https://biomejs.dev/linter/rules/no-multi-str
1854
1864
  */
1855
1865
  noMultiStr?: NoMultiStrConfiguration;
1856
1866
  /**
1867
+ * Disallow nested .then() or .catch() promise calls.
1868
+ See https://biomejs.dev/linter/rules/no-nested-promises
1869
+ */
1870
+ noNestedPromises?: NoNestedPromisesConfiguration;
1871
+ /**
1857
1872
  * Prevent client components from being async functions.
1858
1873
  See https://biomejs.dev/linter/rules/no-next-async-client-component
1859
1874
  */
@@ -1874,6 +1889,11 @@ See https://biomejs.dev/linter/rules/no-react-forward-ref
1874
1889
  */
1875
1890
  noReactForwardRef?: NoReactForwardRefConfiguration;
1876
1891
  /**
1892
+ * Checks if a default export exports the same symbol as a named export.
1893
+ See https://biomejs.dev/linter/rules/no-redundant-default-export
1894
+ */
1895
+ noRedundantDefaultExport?: NoRedundantDefaultExportConfiguration;
1896
+ /**
1877
1897
  * Disallow assignments in return statements.
1878
1898
  See https://biomejs.dev/linter/rules/no-return-assign
1879
1899
  */
@@ -1934,11 +1954,21 @@ See https://biomejs.dev/linter/rules/no-useless-catch-binding
1934
1954
  */
1935
1955
  noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1936
1956
  /**
1957
+ * Disallow redundant return statements.
1958
+ See https://biomejs.dev/linter/rules/no-useless-return
1959
+ */
1960
+ noUselessReturn?: NoUselessReturnConfiguration;
1961
+ /**
1937
1962
  * Disallow the use of useless undefined.
1938
1963
  See https://biomejs.dev/linter/rules/no-useless-undefined
1939
1964
  */
1940
1965
  noUselessUndefined?: NoUselessUndefinedConfiguration;
1941
1966
  /**
1967
+ * Disallows using arrow functions when defining a watcher.
1968
+ See https://biomejs.dev/linter/rules/no-vue-arrow-func-in-watch
1969
+ */
1970
+ noVueArrowFuncInWatch?: NoVueArrowFuncInWatchConfiguration;
1971
+ /**
1942
1972
  * Enforce that Vue component data options are declared as functions.
1943
1973
  See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
1944
1974
  */
@@ -2003,6 +2033,11 @@ See https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions
2003
2033
  */
2004
2034
  useConsistentGraphqlDescriptions?: UseConsistentGraphqlDescriptionsConfiguration;
2005
2035
  /**
2036
+ * Enforce consistent use of either method signatures or function properties within interfaces and type aliases.
2037
+ See https://biomejs.dev/linter/rules/use-consistent-method-signatures
2038
+ */
2039
+ useConsistentMethodSignatures?: UseConsistentMethodSignaturesConfiguration;
2040
+ /**
2006
2041
  * Require the @deprecated directive to specify a deletion date.
2007
2042
  See https://biomejs.dev/linter/rules/use-deprecated-date
2008
2043
  */
@@ -2033,11 +2068,21 @@ See https://biomejs.dev/linter/rules/use-find
2033
2068
  */
2034
2069
  useFind?: UseFindConfiguration;
2035
2070
  /**
2071
+ * Enforce the use of globalThis over window, self, and global.
2072
+ See https://biomejs.dev/linter/rules/use-global-this
2073
+ */
2074
+ useGlobalThis?: UseGlobalThisConfiguration;
2075
+ /**
2036
2076
  * Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.
2037
2077
  See https://biomejs.dev/linter/rules/use-inline-script-id
2038
2078
  */
2039
2079
  useInlineScriptId?: UseInlineScriptIdConfiguration;
2040
2080
  /**
2081
+ * Require mutation argument to be always called "input".
2082
+ See https://biomejs.dev/linter/rules/use-input-name
2083
+ */
2084
+ useInputName?: UseInputNameConfiguration;
2085
+ /**
2041
2086
  * Disallow anonymous operations when more than one operation specified in document.
2042
2087
  See https://biomejs.dev/linter/rules/use-lone-anonymous-operation
2043
2088
  */
@@ -3591,6 +3636,9 @@ type NoContinueConfiguration =
3591
3636
  type NoDeprecatedImportsConfiguration =
3592
3637
  | RulePlainConfiguration
3593
3638
  | RuleWithNoDeprecatedImportsOptions;
3639
+ type NoDeprecatedMediaTypeConfiguration =
3640
+ | RulePlainConfiguration
3641
+ | RuleWithNoDeprecatedMediaTypeOptions;
3594
3642
  type NoDivRegexConfiguration =
3595
3643
  | RulePlainConfiguration
3596
3644
  | RuleWithNoDivRegexOptions;
@@ -3643,6 +3691,9 @@ type NoFloatingPromisesConfiguration =
3643
3691
  | RulePlainConfiguration
3644
3692
  | RuleWithNoFloatingPromisesOptions;
3645
3693
  type NoForInConfiguration = RulePlainConfiguration | RuleWithNoForInOptions;
3694
+ type NoHexColorsConfiguration =
3695
+ | RulePlainConfiguration
3696
+ | RuleWithNoHexColorsOptions;
3646
3697
  type NoImportCyclesConfiguration =
3647
3698
  | RulePlainConfiguration
3648
3699
  | RuleWithNoImportCyclesOptions;
@@ -3667,6 +3718,9 @@ type NoMultiAssignConfiguration =
3667
3718
  type NoMultiStrConfiguration =
3668
3719
  | RulePlainConfiguration
3669
3720
  | RuleWithNoMultiStrOptions;
3721
+ type NoNestedPromisesConfiguration =
3722
+ | RulePlainConfiguration
3723
+ | RuleWithNoNestedPromisesOptions;
3670
3724
  type NoNextAsyncClientComponentConfiguration =
3671
3725
  | RulePlainConfiguration
3672
3726
  | RuleWithNoNextAsyncClientComponentOptions;
@@ -3677,6 +3731,9 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
3677
3731
  type NoReactForwardRefConfiguration =
3678
3732
  | RulePlainConfiguration
3679
3733
  | RuleWithNoReactForwardRefOptions;
3734
+ type NoRedundantDefaultExportConfiguration =
3735
+ | RulePlainConfiguration
3736
+ | RuleWithNoRedundantDefaultExportOptions;
3680
3737
  type NoReturnAssignConfiguration =
3681
3738
  | RulePlainConfiguration
3682
3739
  | RuleWithNoReturnAssignOptions;
@@ -3709,9 +3766,15 @@ type NoUnusedExpressionsConfiguration =
3709
3766
  type NoUselessCatchBindingConfiguration =
3710
3767
  | RulePlainConfiguration
3711
3768
  | RuleWithNoUselessCatchBindingOptions;
3769
+ type NoUselessReturnConfiguration =
3770
+ | RulePlainConfiguration
3771
+ | RuleWithNoUselessReturnOptions;
3712
3772
  type NoUselessUndefinedConfiguration =
3713
3773
  | RulePlainConfiguration
3714
3774
  | RuleWithNoUselessUndefinedOptions;
3775
+ type NoVueArrowFuncInWatchConfiguration =
3776
+ | RulePlainConfiguration
3777
+ | RuleWithNoVueArrowFuncInWatchOptions;
3715
3778
  type NoVueDataObjectDeclarationConfiguration =
3716
3779
  | RulePlainConfiguration
3717
3780
  | RuleWithNoVueDataObjectDeclarationOptions;
@@ -3748,6 +3811,9 @@ type UseConsistentEnumValueTypeConfiguration =
3748
3811
  type UseConsistentGraphqlDescriptionsConfiguration =
3749
3812
  | RulePlainConfiguration
3750
3813
  | RuleWithUseConsistentGraphqlDescriptionsOptions;
3814
+ type UseConsistentMethodSignaturesConfiguration =
3815
+ | RulePlainConfiguration
3816
+ | RuleWithUseConsistentMethodSignaturesOptions;
3751
3817
  type UseDeprecatedDateConfiguration =
3752
3818
  | RulePlainConfiguration
3753
3819
  | RuleWithUseDeprecatedDateOptions;
@@ -3764,9 +3830,15 @@ type UseExplicitTypeConfiguration =
3764
3830
  | RulePlainConfiguration
3765
3831
  | RuleWithUseExplicitTypeOptions;
3766
3832
  type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
3833
+ type UseGlobalThisConfiguration =
3834
+ | RulePlainConfiguration
3835
+ | RuleWithUseGlobalThisOptions;
3767
3836
  type UseInlineScriptIdConfiguration =
3768
3837
  | RulePlainConfiguration
3769
3838
  | RuleWithUseInlineScriptIdOptions;
3839
+ type UseInputNameConfiguration =
3840
+ | RulePlainConfiguration
3841
+ | RuleWithUseInputNameOptions;
3770
3842
  type UseLoneAnonymousOperationConfiguration =
3771
3843
  | RulePlainConfiguration
3772
3844
  | RuleWithUseLoneAnonymousOperationOptions;
@@ -5072,6 +5144,10 @@ interface RuleWithNoDeprecatedImportsOptions {
5072
5144
  level: RulePlainConfiguration;
5073
5145
  options?: NoDeprecatedImportsOptions;
5074
5146
  }
5147
+ interface RuleWithNoDeprecatedMediaTypeOptions {
5148
+ level: RulePlainConfiguration;
5149
+ options?: NoDeprecatedMediaTypeOptions;
5150
+ }
5075
5151
  interface RuleWithNoDivRegexOptions {
5076
5152
  fix?: FixKind;
5077
5153
  level: RulePlainConfiguration;
@@ -5147,6 +5223,10 @@ interface RuleWithNoForInOptions {
5147
5223
  level: RulePlainConfiguration;
5148
5224
  options?: NoForInOptions;
5149
5225
  }
5226
+ interface RuleWithNoHexColorsOptions {
5227
+ level: RulePlainConfiguration;
5228
+ options?: NoHexColorsOptions;
5229
+ }
5150
5230
  interface RuleWithNoImportCyclesOptions {
5151
5231
  level: RulePlainConfiguration;
5152
5232
  options?: NoImportCyclesOptions;
@@ -5180,6 +5260,10 @@ interface RuleWithNoMultiStrOptions {
5180
5260
  level: RulePlainConfiguration;
5181
5261
  options?: NoMultiStrOptions;
5182
5262
  }
5263
+ interface RuleWithNoNestedPromisesOptions {
5264
+ level: RulePlainConfiguration;
5265
+ options?: NoNestedPromisesOptions;
5266
+ }
5183
5267
  interface RuleWithNoNextAsyncClientComponentOptions {
5184
5268
  level: RulePlainConfiguration;
5185
5269
  options?: NoNextAsyncClientComponentOptions;
@@ -5198,6 +5282,10 @@ interface RuleWithNoReactForwardRefOptions {
5198
5282
  level: RulePlainConfiguration;
5199
5283
  options?: NoReactForwardRefOptions;
5200
5284
  }
5285
+ interface RuleWithNoRedundantDefaultExportOptions {
5286
+ level: RulePlainConfiguration;
5287
+ options?: NoRedundantDefaultExportOptions;
5288
+ }
5201
5289
  interface RuleWithNoReturnAssignOptions {
5202
5290
  level: RulePlainConfiguration;
5203
5291
  options?: NoReturnAssignOptions;
@@ -5247,11 +5335,21 @@ interface RuleWithNoUselessCatchBindingOptions {
5247
5335
  level: RulePlainConfiguration;
5248
5336
  options?: NoUselessCatchBindingOptions;
5249
5337
  }
5338
+ interface RuleWithNoUselessReturnOptions {
5339
+ fix?: FixKind;
5340
+ level: RulePlainConfiguration;
5341
+ options?: NoUselessReturnOptions;
5342
+ }
5250
5343
  interface RuleWithNoUselessUndefinedOptions {
5251
5344
  fix?: FixKind;
5252
5345
  level: RulePlainConfiguration;
5253
5346
  options?: NoUselessUndefinedOptions;
5254
5347
  }
5348
+ interface RuleWithNoVueArrowFuncInWatchOptions {
5349
+ fix?: FixKind;
5350
+ level: RulePlainConfiguration;
5351
+ options?: NoVueArrowFuncInWatchOptions;
5352
+ }
5255
5353
  interface RuleWithNoVueDataObjectDeclarationOptions {
5256
5354
  fix?: FixKind;
5257
5355
  level: RulePlainConfiguration;
@@ -5302,6 +5400,10 @@ interface RuleWithUseConsistentGraphqlDescriptionsOptions {
5302
5400
  level: RulePlainConfiguration;
5303
5401
  options?: UseConsistentGraphqlDescriptionsOptions;
5304
5402
  }
5403
+ interface RuleWithUseConsistentMethodSignaturesOptions {
5404
+ level: RulePlainConfiguration;
5405
+ options?: UseConsistentMethodSignaturesOptions;
5406
+ }
5305
5407
  interface RuleWithUseDeprecatedDateOptions {
5306
5408
  level: RulePlainConfiguration;
5307
5409
  options?: UseDeprecatedDateOptions;
@@ -5327,10 +5429,18 @@ interface RuleWithUseFindOptions {
5327
5429
  level: RulePlainConfiguration;
5328
5430
  options?: UseFindOptions;
5329
5431
  }
5432
+ interface RuleWithUseGlobalThisOptions {
5433
+ level: RulePlainConfiguration;
5434
+ options?: UseGlobalThisOptions;
5435
+ }
5330
5436
  interface RuleWithUseInlineScriptIdOptions {
5331
5437
  level: RulePlainConfiguration;
5332
5438
  options?: UseInlineScriptIdOptions;
5333
5439
  }
5440
+ interface RuleWithUseInputNameOptions {
5441
+ level: RulePlainConfiguration;
5442
+ options?: UseInputNameOptions;
5443
+ }
5334
5444
  interface RuleWithUseLoneAnonymousOperationOptions {
5335
5445
  level: RulePlainConfiguration;
5336
5446
  options?: UseLoneAnonymousOperationOptions;
@@ -6555,6 +6665,12 @@ interface NoAmbiguousAnchorTextOptions {
6555
6665
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
6556
6666
  type NoContinueOptions = {};
6557
6667
  type NoDeprecatedImportsOptions = {};
6668
+ interface NoDeprecatedMediaTypeOptions {
6669
+ /**
6670
+ * Media types to allow (case-insensitive).
6671
+ */
6672
+ allow?: string[];
6673
+ }
6558
6674
  type NoDivRegexOptions = {};
6559
6675
  type NoDuplicateArgumentNamesOptions = {};
6560
6676
  type NoDuplicateAttributesOptions = {};
@@ -6592,6 +6708,7 @@ interface NoExcessiveLinesPerFileOptions {
6592
6708
  type NoFloatingClassesOptions = {};
6593
6709
  type NoFloatingPromisesOptions = {};
6594
6710
  type NoForInOptions = {};
6711
+ type NoHexColorsOptions = {};
6595
6712
  interface NoImportCyclesOptions {
6596
6713
  /**
6597
6714
  * Ignores type-only imports when finding an import cycle. A type-only import (`import type`)
@@ -6626,10 +6743,12 @@ type NoLeakedRenderOptions = {};
6626
6743
  type NoMisusedPromisesOptions = {};
6627
6744
  type NoMultiAssignOptions = {};
6628
6745
  type NoMultiStrOptions = {};
6746
+ type NoNestedPromisesOptions = {};
6629
6747
  type NoNextAsyncClientComponentOptions = {};
6630
6748
  type NoParametersOnlyUsedInRecursionOptions = {};
6631
6749
  type NoProtoOptions = {};
6632
6750
  type NoReactForwardRefOptions = {};
6751
+ type NoRedundantDefaultExportOptions = {};
6633
6752
  type NoReturnAssignOptions = {};
6634
6753
  interface NoRootTypeOptions {
6635
6754
  /**
@@ -6658,7 +6777,9 @@ type NoUnnecessaryConditionsOptions = {};
6658
6777
  type NoUnresolvedImportsOptions = {};
6659
6778
  type NoUnusedExpressionsOptions = {};
6660
6779
  type NoUselessCatchBindingOptions = {};
6780
+ type NoUselessReturnOptions = {};
6661
6781
  type NoUselessUndefinedOptions = {};
6782
+ type NoVueArrowFuncInWatchOptions = {};
6662
6783
  type NoVueDataObjectDeclarationOptions = {};
6663
6784
  type NoVueDuplicateKeysOptions = {};
6664
6785
  type NoVueOptionsApiOptions = {};
@@ -6687,6 +6808,14 @@ interface UseConsistentGraphqlDescriptionsOptions {
6687
6808
  */
6688
6809
  style?: UseConsistentGraphqlDescriptionsStyle;
6689
6810
  }
6811
+ interface UseConsistentMethodSignaturesOptions {
6812
+ /**
6813
+ * The style of method signatures whose usage will be enforced.
6814
+
6815
+ Default: "property"
6816
+ */
6817
+ style?: MethodSignatureStyle;
6818
+ }
6690
6819
  interface UseDeprecatedDateOptions {
6691
6820
  argumentName?: string;
6692
6821
  }
@@ -6700,7 +6829,14 @@ interface UseErrorCauseOptions {
6700
6829
  type UseExhaustiveSwitchCasesOptions = {};
6701
6830
  type UseExplicitTypeOptions = {};
6702
6831
  type UseFindOptions = {};
6832
+ type UseGlobalThisOptions = {};
6703
6833
  type UseInlineScriptIdOptions = {};
6834
+ interface UseInputNameOptions {
6835
+ /**
6836
+ * Check that the input type name follows the convention <mutationName>Input
6837
+ */
6838
+ checkInputType?: CheckInputType;
6839
+ }
6704
6840
  type UseLoneAnonymousOperationOptions = {};
6705
6841
  type UseLoneExecutableDefinitionOptions = {};
6706
6842
  interface UseMaxParamsOptions {
@@ -7143,6 +7279,8 @@ while for `useState()` it would be `[1]`.
7143
7279
  type Regex = string;
7144
7280
  type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
7145
7281
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
7282
+ type MethodSignatureStyle = "property" | "method";
7283
+ type CheckInputType = "off" | "loose" | "strict";
7146
7284
  type DeclarationStyle = "type" | "runtime";
7147
7285
  type VueDirectiveStyle = "shorthand" | "longhand";
7148
7286
  type VueDirectiveStyle2 = "shorthand" | "longhand";
@@ -7471,6 +7609,7 @@ type Category =
7471
7609
  | "lint/nursery/noColorInvalidHex"
7472
7610
  | "lint/nursery/noContinue"
7473
7611
  | "lint/nursery/noDeprecatedImports"
7612
+ | "lint/nursery/noDeprecatedMediaType"
7474
7613
  | "lint/nursery/noDivRegex"
7475
7614
  | "lint/nursery/noDuplicateArgumentNames"
7476
7615
  | "lint/nursery/noDuplicateAttributes"
@@ -7489,6 +7628,7 @@ type Category =
7489
7628
  | "lint/nursery/noFloatingClasses"
7490
7629
  | "lint/nursery/noFloatingPromises"
7491
7630
  | "lint/nursery/noForIn"
7631
+ | "lint/nursery/noHexColors"
7492
7632
  | "lint/nursery/noImplicitCoercion"
7493
7633
  | "lint/nursery/noImportCycles"
7494
7634
  | "lint/nursery/noIncrementDecrement"
@@ -7497,13 +7637,14 @@ type Category =
7497
7637
  | "lint/nursery/noLeakedRender"
7498
7638
  | "lint/nursery/noMissingGenericFamilyKeyword"
7499
7639
  | "lint/nursery/noMisusedPromises"
7500
- | "lint/nursery/useConsistentEnumValueType"
7501
7640
  | "lint/nursery/noMultiAssign"
7502
7641
  | "lint/nursery/noMultiStr"
7642
+ | "lint/nursery/noNestedPromises"
7503
7643
  | "lint/nursery/noNextAsyncClientComponent"
7504
7644
  | "lint/nursery/noParametersOnlyUsedInRecursion"
7505
7645
  | "lint/nursery/noProto"
7506
7646
  | "lint/nursery/noReactForwardRef"
7647
+ | "lint/nursery/noRedundantDefaultExport"
7507
7648
  | "lint/nursery/noReturnAssign"
7508
7649
  | "lint/nursery/noRootType"
7509
7650
  | "lint/nursery/noScriptUrl"
@@ -7518,7 +7659,9 @@ type Category =
7518
7659
  | "lint/nursery/noUnwantedPolyfillio"
7519
7660
  | "lint/nursery/noUselessBackrefInRegex"
7520
7661
  | "lint/nursery/noUselessCatchBinding"
7662
+ | "lint/nursery/noUselessReturn"
7521
7663
  | "lint/nursery/noUselessUndefined"
7664
+ | "lint/nursery/noVueArrowFuncInWatch"
7522
7665
  | "lint/nursery/noVueDataObjectDeclaration"
7523
7666
  | "lint/nursery/noVueDuplicateKeys"
7524
7667
  | "lint/nursery/noVueOptionsApi"
@@ -7530,7 +7673,9 @@ type Category =
7530
7673
  | "lint/nursery/useAwaitThenable"
7531
7674
  | "lint/nursery/useBiomeSuppressionComment"
7532
7675
  | "lint/nursery/useConsistentArrowReturn"
7676
+ | "lint/nursery/useConsistentEnumValueType"
7533
7677
  | "lint/nursery/useConsistentGraphqlDescriptions"
7678
+ | "lint/nursery/useConsistentMethodSignatures"
7534
7679
  | "lint/nursery/useConsistentObjectDefinition"
7535
7680
  | "lint/nursery/useDeprecatedDate"
7536
7681
  | "lint/nursery/useDestructuring"
@@ -7539,12 +7684,14 @@ type Category =
7539
7684
  | "lint/nursery/useExplicitFunctionReturnType"
7540
7685
  | "lint/nursery/useExplicitType"
7541
7686
  | "lint/nursery/useFind"
7687
+ | "lint/nursery/useGlobalThis"
7542
7688
  | "lint/nursery/useImportRestrictions"
7543
7689
  | "lint/nursery/useInlineScriptId"
7690
+ | "lint/nursery/useInputName"
7544
7691
  | "lint/nursery/useJsxCurlyBraceConvention"
7692
+ | "lint/nursery/useLoneAnonymousOperation"
7545
7693
  | "lint/nursery/useLoneExecutableDefinition"
7546
7694
  | "lint/nursery/useMaxParams"
7547
- | "lint/nursery/useLoneAnonymousOperation"
7548
7695
  | "lint/nursery/useQwikMethodUsage"
7549
7696
  | "lint/nursery/useQwikValidLexicalScope"
7550
7697
  | "lint/nursery/useRegexpExec"
@@ -8377,13 +8524,16 @@ export class Workspace {
8377
8524
  changeFile(params: ChangeFileParams): ChangeFileResult;
8378
8525
  fileExists(params: FileExitsParams): boolean;
8379
8526
  formatFile(params: FormatFileParams): any;
8527
+ dropPattern(params: DropPatternParams): void;
8380
8528
  formatRange(params: FormatRangeParams): any;
8381
8529
  openProject(params: OpenProjectParams): OpenProjectResult;
8382
8530
  pullActions(params: PullActionsParams): PullActionsResult;
8383
8531
  scanProject(params: ScanProjectParams): ScanProjectResult;
8384
8532
  fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
8385
8533
  getTypeInfo(params: GetTypeInfoParams): string;
8534
+ parsePattern(params: ParsePatternParams): ParsePatternResult;
8386
8535
  formatOnType(params: FormatOnTypeParams): any;
8536
+ searchPattern(params: SearchPatternParams): SearchResults;
8387
8537
  getSyntaxTree(params: GetSyntaxTreeParams): GetSyntaxTreeResult;
8388
8538
  isPathIgnored(params: PathIsIgnoredParams): boolean;
8389
8539
  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}
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.13",
7
+ "version": "2.3.15",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",