@biomejs/wasm-nodejs 1.5.3-nightly.24fcf19 → 1.5.3-nightly.6cbf1c7

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
@@ -21,12 +21,12 @@ type SupportKind =
21
21
  | "FeatureNotEnabled"
22
22
  | "FileNotSupported";
23
23
  interface UpdateSettingsParams {
24
- configuration: Configuration;
24
+ configuration: PartialConfiguration;
25
25
  gitignore_matches: string[];
26
26
  vcs_base_path?: string;
27
27
  working_directory?: string;
28
28
  }
29
- interface Configuration {
29
+ interface PartialConfiguration {
30
30
  /**
31
31
  * A field for the [JSON schema](https://json-schema.org/) specification
32
32
  */
@@ -34,7 +34,7 @@ interface Configuration {
34
34
  /**
35
35
  * Specific configuration for the Css language
36
36
  */
37
- css?: CssConfiguration;
37
+ css?: PartialCssConfiguration;
38
38
  /**
39
39
  * A list of paths to other JSON files, used to extends the current configuration.
40
40
  */
@@ -42,27 +42,27 @@ interface Configuration {
42
42
  /**
43
43
  * The configuration of the filesystem
44
44
  */
45
- files?: FilesConfiguration;
45
+ files?: PartialFilesConfiguration;
46
46
  /**
47
47
  * The configuration of the formatter
48
48
  */
49
- formatter?: FormatterConfiguration;
49
+ formatter?: PartialFormatterConfiguration;
50
50
  /**
51
51
  * Specific configuration for the JavaScript language
52
52
  */
53
- javascript?: JavascriptConfiguration;
53
+ javascript?: PartialJavascriptConfiguration;
54
54
  /**
55
55
  * Specific configuration for the Json language
56
56
  */
57
- json?: JsonConfiguration;
57
+ json?: PartialJsonConfiguration;
58
58
  /**
59
59
  * The configuration for the linter
60
60
  */
61
- linter?: LinterConfiguration;
61
+ linter?: PartialLinterConfiguration;
62
62
  /**
63
63
  * The configuration of the import sorting
64
64
  */
65
- organizeImports?: OrganizeImports;
65
+ organizeImports?: PartialOrganizeImports;
66
66
  /**
67
67
  * A list of granular patterns that should be applied only to a sub set of files
68
68
  */
@@ -70,20 +70,20 @@ interface Configuration {
70
70
  /**
71
71
  * The configuration of the VCS integration
72
72
  */
73
- vcs?: VcsConfiguration;
73
+ vcs?: PartialVcsConfiguration;
74
74
  }
75
- interface CssConfiguration {
75
+ interface PartialCssConfiguration {
76
76
  /**
77
77
  * Formatting options
78
78
  */
79
- formatter?: CssFormatter;
79
+ formatter?: PartialCssFormatter;
80
80
  /**
81
81
  * Parsing options
82
82
  */
83
- parser?: CssParser;
83
+ parser?: PartialCssParser;
84
84
  }
85
85
  type StringSet = string[];
86
- interface FilesConfiguration {
86
+ interface PartialFilesConfiguration {
87
87
  /**
88
88
  * A list of Unix shell style patterns. Biome will ignore files/folders that will match these patterns.
89
89
  */
@@ -101,7 +101,7 @@ interface FilesConfiguration {
101
101
  */
102
102
  maxSize?: number;
103
103
  }
104
- interface FormatterConfiguration {
104
+ interface PartialFormatterConfiguration {
105
105
  enabled?: boolean;
106
106
  /**
107
107
  * Stores whether formatting should be allowed to proceed if a given file has syntax errors
@@ -136,34 +136,34 @@ interface FormatterConfiguration {
136
136
  */
137
137
  lineWidth?: LineWidth;
138
138
  }
139
- interface JavascriptConfiguration {
139
+ interface PartialJavascriptConfiguration {
140
140
  /**
141
141
  * Formatting options
142
142
  */
143
- formatter?: JavascriptFormatter;
143
+ formatter?: PartialJavascriptFormatter;
144
144
  /**
145
145
  * A list of global bindings that should be ignored by the analyzers
146
146
 
147
147
  If defined here, they should not emit diagnostics.
148
148
  */
149
149
  globals?: StringSet;
150
- organize_imports?: JavascriptOrganizeImports;
150
+ organize_imports?: PartialJavascriptOrganizeImports;
151
151
  /**
152
152
  * Parsing options
153
153
  */
154
- parser?: JavascriptParser;
154
+ parser?: PartialJavascriptParser;
155
155
  }
156
- interface JsonConfiguration {
156
+ interface PartialJsonConfiguration {
157
157
  /**
158
158
  * Formatting options
159
159
  */
160
- formatter?: JsonFormatter;
160
+ formatter?: PartialJsonFormatter;
161
161
  /**
162
162
  * Parsing options
163
163
  */
164
- parser?: JsonParser;
164
+ parser?: PartialJsonParser;
165
165
  }
166
- interface LinterConfiguration {
166
+ interface PartialLinterConfiguration {
167
167
  /**
168
168
  * if `false`, it disables the feature and the linter won't be executed. `true` by default
169
169
  */
@@ -181,7 +181,7 @@ interface LinterConfiguration {
181
181
  */
182
182
  rules?: Rules;
183
183
  }
184
- interface OrganizeImports {
184
+ interface PartialOrganizeImports {
185
185
  /**
186
186
  * Enables the organization of imports
187
187
  */
@@ -196,7 +196,7 @@ interface OrganizeImports {
196
196
  include?: StringSet;
197
197
  }
198
198
  type Overrides = OverridePattern[];
199
- interface VcsConfiguration {
199
+ interface PartialVcsConfiguration {
200
200
  /**
201
201
  * The kind of client.
202
202
  */
@@ -220,7 +220,7 @@ If Biome can't find the configuration, it will attempt to use the current workin
220
220
  */
221
221
  useIgnoreFile?: boolean;
222
222
  }
223
- interface CssFormatter {
223
+ interface PartialCssFormatter {
224
224
  /**
225
225
  * Control the formatter for CSS (and its super languages) files.
226
226
  */
@@ -247,7 +247,7 @@ interface CssFormatter {
247
247
  lineWidth?: LineWidth;
248
248
  quoteStyle?: QuoteStyle;
249
249
  }
250
- interface CssParser {
250
+ interface PartialCssParser {
251
251
  /**
252
252
  * Allow comments to appear on incorrect lines in `.css` files
253
253
  */
@@ -256,7 +256,7 @@ interface CssParser {
256
256
  type PlainIndentStyle = "tab" | "space";
257
257
  type LineEnding = "lf" | "crlf" | "cr";
258
258
  type LineWidth = number;
259
- interface JavascriptFormatter {
259
+ interface PartialJavascriptFormatter {
260
260
  /**
261
261
  * Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
262
262
  */
@@ -314,8 +314,8 @@ interface JavascriptFormatter {
314
314
  */
315
315
  trailingComma?: TrailingComma;
316
316
  }
317
- interface JavascriptOrganizeImports {}
318
- interface JavascriptParser {
317
+ interface PartialJavascriptOrganizeImports {}
318
+ interface PartialJavascriptParser {
319
319
  /**
320
320
  * It enables the experimental and unsafe parsing of parameter decorators
321
321
 
@@ -323,7 +323,7 @@ These decorators belong to an old proposal, and they are subject to change.
323
323
  */
324
324
  unsafeParameterDecoratorsEnabled?: boolean;
325
325
  }
326
- interface JsonFormatter {
326
+ interface PartialJsonFormatter {
327
327
  /**
328
328
  * Control the formatter for JSON (and its super languages) files.
329
329
  */
@@ -349,7 +349,7 @@ interface JsonFormatter {
349
349
  */
350
350
  lineWidth?: LineWidth;
351
351
  }
352
- interface JsonParser {
352
+ interface PartialJsonParser {
353
353
  /**
354
354
  * Allow parsing comments in `.json` files
355
355
  */
@@ -381,7 +381,7 @@ interface OverridePattern {
381
381
  /**
382
382
  * Specific configuration for the Css language
383
383
  */
384
- css?: CssConfiguration;
384
+ css?: PartialCssConfiguration;
385
385
  /**
386
386
  * Specific configuration for the Json language
387
387
  */
@@ -397,11 +397,11 @@ interface OverridePattern {
397
397
  /**
398
398
  * Specific configuration for the JavaScript language
399
399
  */
400
- javascript?: JavascriptConfiguration;
400
+ javascript?: PartialJavascriptConfiguration;
401
401
  /**
402
402
  * Specific configuration for the Json language
403
403
  */
404
- json?: JsonConfiguration;
404
+ json?: PartialJsonConfiguration;
405
405
  /**
406
406
  * Specific configuration for the Json language
407
407
  */
@@ -1101,7 +1101,7 @@ interface Suspicious {
1101
1101
  */
1102
1102
  all?: boolean;
1103
1103
  /**
1104
- * Usually, the definition in the standard library is more precise than what people come up with or the used constant exceeds the maximum precision of the number type.
1104
+ * Use standard constants instead of approximated literals.
1105
1105
  */
1106
1106
  noApproximativeNumericConstant?: RuleConfiguration;
1107
1107
  /**
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.5.3-nightly.24fcf19","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.5.3-nightly.6cbf1c7","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}