@biomejs/wasm-nodejs 1.1.1 → 1.1.2-nightly.9c28238
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.
|
@@ -116,6 +116,10 @@ If defined here, they should not emit diagnostics.
|
|
|
116
116
|
parser?: JavascriptParser;
|
|
117
117
|
}
|
|
118
118
|
interface JsonConfiguration {
|
|
119
|
+
/**
|
|
120
|
+
* Formatting options
|
|
121
|
+
*/
|
|
122
|
+
formatter?: JsonFormatter;
|
|
119
123
|
/**
|
|
120
124
|
* Parsing options
|
|
121
125
|
*/
|
|
@@ -172,10 +176,26 @@ interface JavascriptFormatter {
|
|
|
172
176
|
* Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
|
|
173
177
|
*/
|
|
174
178
|
arrowParentheses?: ArrowParentheses;
|
|
179
|
+
/**
|
|
180
|
+
* Control the formatter for JavaScript (and its super languages) files.
|
|
181
|
+
*/
|
|
182
|
+
enabled?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
|
|
185
|
+
*/
|
|
186
|
+
indentSize?: number;
|
|
187
|
+
/**
|
|
188
|
+
* The indent style applied to JavaScript (and its super languages) files.
|
|
189
|
+
*/
|
|
190
|
+
indentStyle?: PlainIndentStyle;
|
|
175
191
|
/**
|
|
176
192
|
* The type of quotes used in JSX. Defaults to double.
|
|
177
193
|
*/
|
|
178
194
|
jsxQuoteStyle?: QuoteStyle;
|
|
195
|
+
/**
|
|
196
|
+
* What's the max width of a line, applied to JavaScript (and its super languages) files. Defaults to 80.
|
|
197
|
+
*/
|
|
198
|
+
lineWidth?: LineWidth;
|
|
179
199
|
/**
|
|
180
200
|
* When properties in objects are quoted. Defaults to asNeeded.
|
|
181
201
|
*/
|
|
@@ -202,6 +222,24 @@ These decorators belong to an old proposal, and they are subject to change.
|
|
|
202
222
|
*/
|
|
203
223
|
unsafeParameterDecoratorsEnabled?: boolean;
|
|
204
224
|
}
|
|
225
|
+
interface JsonFormatter {
|
|
226
|
+
/**
|
|
227
|
+
* Control the formatter for JSON (and its super languages) files.
|
|
228
|
+
*/
|
|
229
|
+
enabled?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* The size of the indentation applied to JSON (and its super languages) files. Default to 2.
|
|
232
|
+
*/
|
|
233
|
+
indent_size?: number;
|
|
234
|
+
/**
|
|
235
|
+
* The indent style applied to JSON (and its super languages) files.
|
|
236
|
+
*/
|
|
237
|
+
indent_style?: PlainIndentStyle;
|
|
238
|
+
/**
|
|
239
|
+
* What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.
|
|
240
|
+
*/
|
|
241
|
+
line_width?: LineWidth;
|
|
242
|
+
}
|
|
205
243
|
interface JsonParser {
|
|
206
244
|
/**
|
|
207
245
|
* Allow parsing comments in `.json` files
|
|
@@ -536,9 +574,9 @@ interface Nursery {
|
|
|
536
574
|
*/
|
|
537
575
|
noBannedTypes?: RuleConfiguration;
|
|
538
576
|
/**
|
|
539
|
-
* Disallow
|
|
577
|
+
* Disallow void type outside of generic or return types.
|
|
540
578
|
*/
|
|
541
|
-
|
|
579
|
+
noConfusingVoidType?: RuleConfiguration;
|
|
542
580
|
/**
|
|
543
581
|
* Disallow constant expressions in conditions
|
|
544
582
|
*/
|
|
@@ -1134,10 +1172,10 @@ type Category =
|
|
|
1134
1172
|
| "lint/correctness/noVoidTypeReturn"
|
|
1135
1173
|
| "lint/correctness/useValidForDirection"
|
|
1136
1174
|
| "lint/correctness/useYield"
|
|
1175
|
+
| "lint/nursery/noConfusingVoidType"
|
|
1137
1176
|
| "lint/nursery/noAccumulatingSpread"
|
|
1138
1177
|
| "lint/nursery/noAriaUnsupportedElements"
|
|
1139
1178
|
| "lint/nursery/noBannedTypes"
|
|
1140
|
-
| "lint/nursery/noConfusingArrow"
|
|
1141
1179
|
| "lint/nursery/noConstantCondition"
|
|
1142
1180
|
| "lint/nursery/noControlCharactersInRegex"
|
|
1143
1181
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
@@ -950,7 +950,7 @@ module.exports.__wbindgen_memory = function() {
|
|
|
950
950
|
return addHeapObject(ret);
|
|
951
951
|
};
|
|
952
952
|
|
|
953
|
-
const path = require('path').join(__dirname, '
|
|
953
|
+
const path = require('path').join(__dirname, 'biome_wasm_bg.wasm');
|
|
954
954
|
const bytes = require('fs').readFileSync(path);
|
|
955
955
|
|
|
956
956
|
const wasmModule = new WebAssembly.Module(bytes);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-nodejs","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.1.
|
|
1
|
+
{"name":"@biomejs/wasm-nodejs","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.1.2-nightly.9c28238","license":"MIT","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","types":"biome_wasm.d.ts"}
|