@biomejs/wasm-web 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 +12 -12
- package/rome_wasm_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-web","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.
|
|
1
|
+
{"name":"@biomejs/wasm-web","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"],"module":"rome_wasm.js","types":"rome_wasm.d.ts","sideEffects":["./snippets/*"]}
|
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
|
@@ -718,6 +718,10 @@ function getImports() {
|
|
|
718
718
|
const ret = getObject(arg0) === getObject(arg1);
|
|
719
719
|
return ret;
|
|
720
720
|
};
|
|
721
|
+
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
722
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
723
|
+
return addHeapObject(ret);
|
|
724
|
+
};
|
|
721
725
|
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
722
726
|
const obj = getObject(arg1);
|
|
723
727
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
@@ -737,10 +741,6 @@ function getImports() {
|
|
|
737
741
|
const ret = typeof(val) === 'object' && val !== null;
|
|
738
742
|
return ret;
|
|
739
743
|
};
|
|
740
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
741
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
742
|
-
return addHeapObject(ret);
|
|
743
|
-
};
|
|
744
744
|
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
745
745
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
746
746
|
return ret;
|
|
@@ -749,18 +749,10 @@ function getImports() {
|
|
|
749
749
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
750
750
|
return addHeapObject(ret);
|
|
751
751
|
};
|
|
752
|
-
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
753
|
-
const ret = arg0;
|
|
754
|
-
return addHeapObject(ret);
|
|
755
|
-
};
|
|
756
752
|
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
757
753
|
const ret = getObject(arg0);
|
|
758
754
|
return addHeapObject(ret);
|
|
759
755
|
};
|
|
760
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
761
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
762
|
-
return addHeapObject(ret);
|
|
763
|
-
};
|
|
764
756
|
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
765
757
|
const ret = getObject(arg0) == getObject(arg1);
|
|
766
758
|
return ret;
|
|
@@ -772,6 +764,14 @@ function getImports() {
|
|
|
772
764
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
773
765
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
774
766
|
};
|
|
767
|
+
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
768
|
+
const ret = arg0;
|
|
769
|
+
return addHeapObject(ret);
|
|
770
|
+
};
|
|
771
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
772
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
773
|
+
return addHeapObject(ret);
|
|
774
|
+
};
|
|
775
775
|
imports.wbg.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
776
776
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
777
777
|
return addHeapObject(ret);
|
package/rome_wasm_bg.wasm
CHANGED
|
Binary file
|