@biomejs/wasm-bundler 2.1.3 → 2.2.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/biome_wasm_bg.js CHANGED
@@ -388,6 +388,17 @@ export class Workspace {
388
388
  }
389
389
  return takeFromExternrefTable0(ret[0]);
390
390
  }
391
+ /**
392
+ * @param {ScanProjectParams} params
393
+ * @returns {ScanProjectResult}
394
+ */
395
+ scanProject(params) {
396
+ const ret = wasm.workspace_scanProject(this.__wbg_ptr, params);
397
+ if (ret[2]) {
398
+ throw takeFromExternrefTable0(ret[1]);
399
+ }
400
+ return takeFromExternrefTable0(ret[0]);
401
+ }
391
402
  /**
392
403
  * @param {OpenFileParams} params
393
404
  */
@@ -558,6 +569,48 @@ export class Workspace {
558
569
  throw takeFromExternrefTable0(ret[0]);
559
570
  }
560
571
  }
572
+ /**
573
+ * @param {FileExitsParams} params
574
+ * @returns {boolean}
575
+ */
576
+ fileExists(params) {
577
+ const ret = wasm.workspace_fileExists(this.__wbg_ptr, params);
578
+ if (ret[2]) {
579
+ throw takeFromExternrefTable0(ret[1]);
580
+ }
581
+ return ret[0] !== 0;
582
+ }
583
+ /**
584
+ * @param {PathIsIgnoredParams} params
585
+ * @returns {boolean}
586
+ */
587
+ isPathIgnored(params) {
588
+ const ret = wasm.workspace_isPathIgnored(this.__wbg_ptr, params);
589
+ if (ret[2]) {
590
+ throw takeFromExternrefTable0(ret[1]);
591
+ }
592
+ return ret[0] !== 0;
593
+ }
594
+ /**
595
+ * @param {UpdateModuleGraphParams} params
596
+ */
597
+ updateModuleGraph(params) {
598
+ const ret = wasm.workspace_updateModuleGraph(this.__wbg_ptr, params);
599
+ if (ret[1]) {
600
+ throw takeFromExternrefTable0(ret[0]);
601
+ }
602
+ }
603
+ /**
604
+ * @param {GetModuleGraphParams} params
605
+ * @returns {GetModuleGraphResult}
606
+ */
607
+ getModuleGraph(params) {
608
+ const ret = wasm.workspace_getModuleGraph(this.__wbg_ptr, params);
609
+ if (ret[2]) {
610
+ throw takeFromExternrefTable0(ret[1]);
611
+ }
612
+ return takeFromExternrefTable0(ret[0]);
613
+ }
561
614
  /**
562
615
  * @param {PullDiagnosticsParams} params
563
616
  * @returns {PullDiagnosticsResult}
@@ -780,6 +833,11 @@ export function __wbg_new_c68d7209be747379(arg0, arg1) {
780
833
  return ret;
781
834
  };
782
835
 
836
+ export function __wbg_newnoargs_105ed471475aaf50(arg0, arg1) {
837
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
838
+ return ret;
839
+ };
840
+
783
841
  export function __wbg_next_25feadfc0913fea9(arg0) {
784
842
  const ret = arg0.next;
785
843
  return ret;
@@ -790,6 +848,16 @@ export function __wbg_next_6574e1a8a62d1055() { return handleError(function (arg
790
848
  return ret;
791
849
  }, arguments) };
792
850
 
851
+ export function __wbg_now_2c95c9de01293173(arg0) {
852
+ const ret = arg0.now();
853
+ return ret;
854
+ };
855
+
856
+ export function __wbg_performance_7a3ffd0b17f663ad(arg0) {
857
+ const ret = arg0.performance;
858
+ return ret;
859
+ };
860
+
793
861
  export function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) {
794
862
  arg0[arg1 >>> 0] = arg2;
795
863
  };
@@ -815,6 +883,26 @@ export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
815
883
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
816
884
  };
817
885
 
886
+ export function __wbg_static_accessor_GLOBAL_88a902d13a557d07() {
887
+ const ret = typeof global === 'undefined' ? null : global;
888
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
889
+ };
890
+
891
+ export function __wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0() {
892
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
893
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
894
+ };
895
+
896
+ export function __wbg_static_accessor_SELF_37c5d418e4bf5819() {
897
+ const ret = typeof self === 'undefined' ? null : self;
898
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
899
+ };
900
+
901
+ export function __wbg_static_accessor_WINDOW_5de37043a91a9c40() {
902
+ const ret = typeof window === 'undefined' ? null : window;
903
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
904
+ };
905
+
818
906
  export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
819
907
  const ret = arg0.value;
820
908
  return ret;
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "2.1.3",
8
+ "version": "2.2.0",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",