@biomejs/wasm-bundler 1.0.0 → 1.1.0

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 CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-bundler","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["rome_wasm_bg.wasm","rome_wasm.js","rome_wasm_bg.js","rome_wasm.d.ts"],"module":"rome_wasm.js","types":"rome_wasm.d.ts","sideEffects":["./rome_wasm.js","./snippets/*"]}
1
+ {"name":"@biomejs/wasm-bundler","collaborators":["Rome Tools Developers and Contributors"],"description":"WebAssembly bindings to the Rome Workspace API","version":"1.1.0","license":"MIT","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["rome_wasm_bg.wasm","rome_wasm.js","rome_wasm_bg.js","rome_wasm.d.ts"],"module":"rome_wasm.js","types":"rome_wasm.d.ts","sideEffects":["./rome_wasm.js","./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 reason. Defaults to 1 MiB
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
- * Template literals are preferred over string concatenation.
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/deprecatedSyntax"
1258
+ | "suppressions/deprecatedSuppressionComment"
1253
1259
  | "args/fileNotFound"
1254
1260
  | "flags/invalid"
1255
1261
  | "semanticTests";
package/rome_wasm_bg.js CHANGED
@@ -699,6 +699,11 @@ export function __wbindgen_jsval_eq(arg0, arg1) {
699
699
  return ret;
700
700
  };
701
701
 
702
+ export function __wbindgen_bigint_from_u64(arg0) {
703
+ const ret = BigInt.asUintN(64, arg0);
704
+ return addHeapObject(ret);
705
+ };
706
+
702
707
  export function __wbindgen_number_get(arg0, arg1) {
703
708
  const obj = getObject(arg1);
704
709
  const ret = typeof(obj) === 'number' ? obj : undefined;
@@ -721,11 +726,6 @@ export function __wbindgen_is_object(arg0) {
721
726
  return ret;
722
727
  };
723
728
 
724
- export function __wbindgen_bigint_from_u64(arg0) {
725
- const ret = BigInt.asUintN(64, arg0);
726
- return addHeapObject(ret);
727
- };
728
-
729
729
  export function __wbindgen_is_string(arg0) {
730
730
  const ret = typeof(getObject(arg0)) === 'string';
731
731
  return ret;
@@ -736,21 +736,11 @@ export function __wbindgen_error_new(arg0, arg1) {
736
736
  return addHeapObject(ret);
737
737
  };
738
738
 
739
- export function __wbindgen_number_new(arg0) {
740
- const ret = arg0;
741
- return addHeapObject(ret);
742
- };
743
-
744
739
  export function __wbindgen_object_clone_ref(arg0) {
745
740
  const ret = getObject(arg0);
746
741
  return addHeapObject(ret);
747
742
  };
748
743
 
749
- export function __wbindgen_string_new(arg0, arg1) {
750
- const ret = getStringFromWasm0(arg0, arg1);
751
- return addHeapObject(ret);
752
- };
753
-
754
744
  export function __wbindgen_jsval_loose_eq(arg0, arg1) {
755
745
  const ret = getObject(arg0) == getObject(arg1);
756
746
  return ret;
@@ -764,6 +754,16 @@ export function __wbg_String_91fba7ded13ba54c(arg0, arg1) {
764
754
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
765
755
  };
766
756
 
757
+ export function __wbindgen_number_new(arg0) {
758
+ const ret = arg0;
759
+ return addHeapObject(ret);
760
+ };
761
+
762
+ export function __wbindgen_string_new(arg0, arg1) {
763
+ const ret = getStringFromWasm0(arg0, arg1);
764
+ return addHeapObject(ret);
765
+ };
766
+
767
767
  export function __wbg_getwithrefkey_15c62c2b8546208d(arg0, arg1) {
768
768
  const ret = getObject(arg0)[getObject(arg1)];
769
769
  return addHeapObject(ret);
package/rome_wasm_bg.wasm CHANGED
Binary file