@biomejs/wasm-nodejs 1.9.2 → 1.9.3-nightly.75b4387
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 +39 -14
- package/biome_wasm.js +1 -1
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -22,7 +22,13 @@ interface BiomePath {
|
|
|
22
22
|
*/
|
|
23
23
|
was_written: boolean;
|
|
24
24
|
}
|
|
25
|
-
type FeatureKind =
|
|
25
|
+
type FeatureKind =
|
|
26
|
+
| "Format"
|
|
27
|
+
| "Lint"
|
|
28
|
+
| "OrganizeImports"
|
|
29
|
+
| "Search"
|
|
30
|
+
| "Assists"
|
|
31
|
+
| "Debug";
|
|
26
32
|
type FileKind = FileKind2[];
|
|
27
33
|
type FileKind2 =
|
|
28
34
|
| "Config"
|
|
@@ -30,15 +36,9 @@ type FileKind2 =
|
|
|
30
36
|
| "Ignore"
|
|
31
37
|
| "Inspectable"
|
|
32
38
|
| "Handleable";
|
|
33
|
-
interface
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
type SupportKind =
|
|
37
|
-
| "Supported"
|
|
38
|
-
| "Ignored"
|
|
39
|
-
| "Protected"
|
|
40
|
-
| "FeatureNotEnabled"
|
|
41
|
-
| "FileNotSupported";
|
|
39
|
+
interface FileFeaturesResult {
|
|
40
|
+
features_supported: {};
|
|
41
|
+
}
|
|
42
42
|
interface UpdateSettingsParams {
|
|
43
43
|
configuration: PartialConfiguration;
|
|
44
44
|
gitignore_matches: string[];
|
|
@@ -1165,6 +1165,14 @@ interface Nursery {
|
|
|
1165
1165
|
* Disallow missing var function for css variables.
|
|
1166
1166
|
*/
|
|
1167
1167
|
noMissingVarFunction?: RuleConfiguration_for_Null;
|
|
1168
|
+
/**
|
|
1169
|
+
* Disallow nested ternary expressions.
|
|
1170
|
+
*/
|
|
1171
|
+
noNestedTernary?: RuleConfiguration_for_Null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Disallow octal escape sequences in string literals
|
|
1174
|
+
*/
|
|
1175
|
+
noOctalEscape?: RuleConfiguration_for_Null;
|
|
1168
1176
|
/**
|
|
1169
1177
|
* Disallow the use of process.env.
|
|
1170
1178
|
*/
|
|
@@ -1189,6 +1197,10 @@ interface Nursery {
|
|
|
1189
1197
|
* Enforce the use of String.slice() over String.substr() and String.substring().
|
|
1190
1198
|
*/
|
|
1191
1199
|
noSubstr?: RuleFixConfiguration_for_Null;
|
|
1200
|
+
/**
|
|
1201
|
+
* Disallow template literal placeholder syntax in regular strings.
|
|
1202
|
+
*/
|
|
1203
|
+
noTemplateCurlyInString?: RuleConfiguration_for_Null;
|
|
1192
1204
|
/**
|
|
1193
1205
|
* Disallow unknown pseudo-class selectors.
|
|
1194
1206
|
*/
|
|
@@ -1233,6 +1245,10 @@ interface Nursery {
|
|
|
1233
1245
|
* Require specifying the reason argument when using @deprecated directive
|
|
1234
1246
|
*/
|
|
1235
1247
|
useDeprecatedReason?: RuleConfiguration_for_Null;
|
|
1248
|
+
/**
|
|
1249
|
+
* Require explicit return types on functions and class methods.
|
|
1250
|
+
*/
|
|
1251
|
+
useExplicitFunctionReturnType?: RuleConfiguration_for_Null;
|
|
1236
1252
|
/**
|
|
1237
1253
|
* Disallows package private imports.
|
|
1238
1254
|
*/
|
|
@@ -2433,7 +2449,8 @@ type DocumentFileSource =
|
|
|
2433
2449
|
| { Json: JsonFileSource }
|
|
2434
2450
|
| { Css: CssFileSource }
|
|
2435
2451
|
| { Graphql: GraphqlFileSource }
|
|
2436
|
-
| { Html: HtmlFileSource }
|
|
2452
|
+
| { Html: HtmlFileSource }
|
|
2453
|
+
| { Grit: GritFileSource };
|
|
2437
2454
|
interface JsFileSource {
|
|
2438
2455
|
/**
|
|
2439
2456
|
* Used to mark if the source is being used for an Astro, Svelte or Vue file
|
|
@@ -2457,6 +2474,9 @@ interface GraphqlFileSource {
|
|
|
2457
2474
|
interface HtmlFileSource {
|
|
2458
2475
|
variant: HtmlVariant;
|
|
2459
2476
|
}
|
|
2477
|
+
interface GritFileSource {
|
|
2478
|
+
variant: GritVariant;
|
|
2479
|
+
}
|
|
2460
2480
|
type EmbeddingKind = "Astro" | "Vue" | "Svelte" | "None";
|
|
2461
2481
|
type Language = "JavaScript" | { TypeScript: { definition_file: boolean } };
|
|
2462
2482
|
type ModuleKind = "Script" | "Module";
|
|
@@ -2465,6 +2485,7 @@ type LanguageVersion = "ES2022" | "ESNext";
|
|
|
2465
2485
|
type CssVariant = "Standard";
|
|
2466
2486
|
type GraphqlVariant = "Standard";
|
|
2467
2487
|
type HtmlVariant = "Standard" | "Astro";
|
|
2488
|
+
type GritVariant = "Standard";
|
|
2468
2489
|
interface ChangeFileParams {
|
|
2469
2490
|
content: string;
|
|
2470
2491
|
path: BiomePath;
|
|
@@ -2664,15 +2685,18 @@ type Category =
|
|
|
2664
2685
|
| "lint/nursery/noInvalidPositionAtImportRule"
|
|
2665
2686
|
| "lint/nursery/noIrregularWhitespace"
|
|
2666
2687
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
2688
|
+
| "lint/nursery/noMissingVarFunction"
|
|
2689
|
+
| "lint/nursery/noNestedTernary"
|
|
2690
|
+
| "lint/nursery/noOctalEscape"
|
|
2667
2691
|
| "lint/nursery/noProcessEnv"
|
|
2668
2692
|
| "lint/nursery/noReactSpecificProps"
|
|
2669
|
-
| "lint/nursery/noMissingVarFunction"
|
|
2670
2693
|
| "lint/nursery/noRestrictedImports"
|
|
2671
2694
|
| "lint/nursery/noRestrictedTypes"
|
|
2672
2695
|
| "lint/nursery/noSecrets"
|
|
2673
2696
|
| "lint/nursery/noShorthandPropertyOverrides"
|
|
2674
2697
|
| "lint/nursery/noStaticElementInteractions"
|
|
2675
2698
|
| "lint/nursery/noSubstr"
|
|
2699
|
+
| "lint/nursery/noTemplateCurlyInString"
|
|
2676
2700
|
| "lint/nursery/noUndeclaredDependencies"
|
|
2677
2701
|
| "lint/nursery/noUnknownFunction"
|
|
2678
2702
|
| "lint/nursery/noUnknownMediaFeatureName"
|
|
@@ -2693,6 +2717,7 @@ type Category =
|
|
|
2693
2717
|
| "lint/nursery/useConsistentCurlyBraces"
|
|
2694
2718
|
| "lint/nursery/useConsistentMemberAccessibility"
|
|
2695
2719
|
| "lint/nursery/useDeprecatedReason"
|
|
2720
|
+
| "lint/nursery/useExplicitFunctionReturnType"
|
|
2696
2721
|
| "lint/nursery/useImportRestrictions"
|
|
2697
2722
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
2698
2723
|
| "lint/nursery/useSortedClasses"
|
|
@@ -3074,9 +3099,9 @@ export class Workspace {
|
|
|
3074
3099
|
constructor();
|
|
3075
3100
|
/**
|
|
3076
3101
|
* @param {SupportsFeatureParams} params
|
|
3077
|
-
* @returns {
|
|
3102
|
+
* @returns {FileFeaturesResult}
|
|
3078
3103
|
*/
|
|
3079
|
-
fileFeatures(params: SupportsFeatureParams):
|
|
3104
|
+
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
|
3080
3105
|
/**
|
|
3081
3106
|
* @param {UpdateSettingsParams} params
|
|
3082
3107
|
*/
|
package/biome_wasm.js
CHANGED
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED