@biomejs/wasm-nodejs 1.0.0 → 1.1.1
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/package.json +1 -1
- package/rome_wasm.d.ts +9 -3
- package/rome_wasm.js +15 -15
- package/rome_wasm_bg.wasm +0 -0
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
|
+
{"name":"@biomejs/wasm-nodejs","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.1.1","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["rome_wasm_bg.wasm","rome_wasm.js","rome_wasm.d.ts"],"main":"rome_wasm.js","types":"rome_wasm.d.ts"}
|
package/rome_wasm.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ interface FilesConfiguration {
|
|
|
71
71
|
*/
|
|
72
72
|
ignoreUnknown?: boolean;
|
|
73
73
|
/**
|
|
74
|
-
* The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance
|
|
74
|
+
* The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB
|
|
75
75
|
*/
|
|
76
76
|
maxSize?: number;
|
|
77
77
|
}
|
|
@@ -615,6 +615,10 @@ interface Nursery {
|
|
|
615
615
|
* Use arrow functions over function expressions.
|
|
616
616
|
*/
|
|
617
617
|
useArrowFunction?: RuleConfiguration;
|
|
618
|
+
/**
|
|
619
|
+
* Enforce using else if instead of nested if in else clauses.
|
|
620
|
+
*/
|
|
621
|
+
useCollapsedElseIf?: RuleConfiguration;
|
|
618
622
|
/**
|
|
619
623
|
* Enforce all dependencies are correctly specified.
|
|
620
624
|
*/
|
|
@@ -786,7 +790,7 @@ interface Style {
|
|
|
786
790
|
*/
|
|
787
791
|
useSingleVarDeclarator?: RuleConfiguration;
|
|
788
792
|
/**
|
|
789
|
-
*
|
|
793
|
+
* Prefer template literals over string concatenation.
|
|
790
794
|
*/
|
|
791
795
|
useTemplate?: RuleConfiguration;
|
|
792
796
|
/**
|
|
@@ -1152,6 +1156,8 @@ type Category =
|
|
|
1152
1156
|
| "lint/nursery/noVoid"
|
|
1153
1157
|
| "lint/nursery/useAriaPropTypes"
|
|
1154
1158
|
| "lint/nursery/useArrowFunction"
|
|
1159
|
+
| "lint/nursery/useBiomeSuppressionComment"
|
|
1160
|
+
| "lint/nursery/useCollapsedElseIf"
|
|
1155
1161
|
| "lint/nursery/useExhaustiveDependencies"
|
|
1156
1162
|
| "lint/nursery/useGetterReturn"
|
|
1157
1163
|
| "lint/nursery/useGroupedTypeImport"
|
|
@@ -1249,7 +1255,7 @@ type Category =
|
|
|
1249
1255
|
| "suppressions/unknownGroup"
|
|
1250
1256
|
| "suppressions/unknownRule"
|
|
1251
1257
|
| "suppressions/unused"
|
|
1252
|
-
| "suppressions/
|
|
1258
|
+
| "suppressions/deprecatedSuppressionComment"
|
|
1253
1259
|
| "args/fileNotFound"
|
|
1254
1260
|
| "flags/invalid"
|
|
1255
1261
|
| "semanticTests";
|
package/rome_wasm.js
CHANGED
|
@@ -696,6 +696,11 @@ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
|
696
696
|
return ret;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
700
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
701
|
+
return addHeapObject(ret);
|
|
702
|
+
};
|
|
703
|
+
|
|
699
704
|
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
700
705
|
const obj = getObject(arg1);
|
|
701
706
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -718,11 +723,6 @@ module.exports.__wbindgen_is_object = function(arg0) {
|
|
|
718
723
|
return ret;
|
|
719
724
|
};
|
|
720
725
|
|
|
721
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
722
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
723
|
-
return addHeapObject(ret);
|
|
724
|
-
};
|
|
725
|
-
|
|
726
726
|
module.exports.__wbindgen_is_string = function(arg0) {
|
|
727
727
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
728
728
|
return ret;
|
|
@@ -733,21 +733,11 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
|
733
733
|
return addHeapObject(ret);
|
|
734
734
|
};
|
|
735
735
|
|
|
736
|
-
module.exports.__wbindgen_number_new = function(arg0) {
|
|
737
|
-
const ret = arg0;
|
|
738
|
-
return addHeapObject(ret);
|
|
739
|
-
};
|
|
740
|
-
|
|
741
736
|
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
742
737
|
const ret = getObject(arg0);
|
|
743
738
|
return addHeapObject(ret);
|
|
744
739
|
};
|
|
745
740
|
|
|
746
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
747
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
748
|
-
return addHeapObject(ret);
|
|
749
|
-
};
|
|
750
|
-
|
|
751
741
|
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
752
742
|
const ret = getObject(arg0) == getObject(arg1);
|
|
753
743
|
return ret;
|
|
@@ -761,6 +751,16 @@ module.exports.__wbg_String_91fba7ded13ba54c = function(arg0, arg1) {
|
|
|
761
751
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
762
752
|
};
|
|
763
753
|
|
|
754
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
755
|
+
const ret = arg0;
|
|
756
|
+
return addHeapObject(ret);
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
760
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
761
|
+
return addHeapObject(ret);
|
|
762
|
+
};
|
|
763
|
+
|
|
764
764
|
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
765
765
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
766
766
|
return addHeapObject(ret);
|
package/rome_wasm_bg.wasm
CHANGED
|
Binary file
|