@biomejs/wasm-bundler 2.4.16 → 2.5.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
@@ -28,7 +28,7 @@ export class DiagnosticPrinter {
28
28
  deferred2_1 = len1;
29
29
  return getStringFromWasm0(ptr1, len1);
30
30
  } finally {
31
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
31
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
32
32
  }
33
33
  }
34
34
  /**
@@ -36,9 +36,9 @@ export class DiagnosticPrinter {
36
36
  * @param {string} file_source
37
37
  */
38
38
  constructor(file_name, file_source) {
39
- const ptr0 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
39
+ const ptr0 = passStringToWasm0(file_name, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
40
40
  const len0 = WASM_VECTOR_LEN;
41
- const ptr1 = passStringToWasm0(file_source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
41
+ const ptr1 = passStringToWasm0(file_source, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
42
42
  const len1 = WASM_VECTOR_LEN;
43
43
  const ret = wasm.diagnosticprinter_new(ptr0, len0, ptr1, len1);
44
44
  this.__wbg_ptr = ret >>> 0;
@@ -82,9 +82,9 @@ export class MemoryFileSystem {
82
82
  * @param {Uint8Array} data
83
83
  */
84
84
  insert(path, data) {
85
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
85
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
86
86
  const len0 = WASM_VECTOR_LEN;
87
- const ptr1 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
87
+ const ptr1 = passArray8ToWasm0(data, wasm.__wbindgen_malloc_command_export);
88
88
  const len1 = WASM_VECTOR_LEN;
89
89
  wasm.memoryfilesystem_insert(this.__wbg_ptr, ptr0, len0, ptr1, len1);
90
90
  }
@@ -98,7 +98,7 @@ export class MemoryFileSystem {
98
98
  * @param {string} path
99
99
  */
100
100
  remove(path) {
101
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
101
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
102
102
  const len0 = WASM_VECTOR_LEN;
103
103
  wasm.memoryfilesystem_remove(this.__wbg_ptr, ptr0, len0);
104
104
  }
@@ -237,7 +237,7 @@ export class Workspace {
237
237
  deferred2_1 = len1;
238
238
  return getStringFromWasm0(ptr1, len1);
239
239
  } finally {
240
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
240
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
241
241
  }
242
242
  }
243
243
  /**
@@ -259,7 +259,7 @@ export class Workspace {
259
259
  deferred2_1 = len1;
260
260
  return getStringFromWasm0(ptr1, len1);
261
261
  } finally {
262
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
262
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
263
263
  }
264
264
  }
265
265
  /**
@@ -281,7 +281,7 @@ export class Workspace {
281
281
  deferred2_1 = len1;
282
282
  return getStringFromWasm0(ptr1, len1);
283
283
  } finally {
284
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
284
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
285
285
  }
286
286
  }
287
287
  /**
@@ -314,7 +314,7 @@ export class Workspace {
314
314
  deferred2_1 = len1;
315
315
  return getStringFromWasm0(ptr1, len1);
316
316
  } finally {
317
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
317
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
318
318
  }
319
319
  }
320
320
  /**
@@ -336,7 +336,7 @@ export class Workspace {
336
336
  deferred2_1 = len1;
337
337
  return getStringFromWasm0(ptr1, len1);
338
338
  } finally {
339
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
339
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
340
340
  }
341
341
  }
342
342
  /**
@@ -369,7 +369,7 @@ export class Workspace {
369
369
  deferred2_1 = len1;
370
370
  return getStringFromWasm0(ptr1, len1);
371
371
  } finally {
372
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
372
+ wasm.__wbindgen_free_command_export(deferred2_0, deferred2_1, 1);
373
373
  }
374
374
  }
375
375
  /**
@@ -522,7 +522,7 @@ export function __wbg_Number_e6ffdb596c888833(arg0) {
522
522
  }
523
523
  export function __wbg_String_8564e559799eccda(arg0, arg1) {
524
524
  const ret = String(arg1);
525
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
525
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
526
526
  const len1 = WASM_VECTOR_LEN;
527
527
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
528
528
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
@@ -540,7 +540,7 @@ export function __wbg___wbindgen_boolean_get_a86c216575a75c30(arg0) {
540
540
  }
541
541
  export function __wbg___wbindgen_debug_string_dd5d2d07ce9e6c57(arg0, arg1) {
542
542
  const ret = debugString(arg1);
543
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
543
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
544
544
  const len1 = WASM_VECTOR_LEN;
545
545
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
546
546
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
@@ -587,7 +587,7 @@ export function __wbg___wbindgen_number_get_7579aab02a8a620c(arg0, arg1) {
587
587
  export function __wbg___wbindgen_string_get_914df97fcfa788f2(arg0, arg1) {
588
588
  const obj = arg1;
589
589
  const ret = typeof(obj) === 'string' ? obj : undefined;
590
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
590
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
591
591
  var len1 = WASM_VECTOR_LEN;
592
592
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
593
593
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
@@ -615,7 +615,7 @@ export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
615
615
  deferred0_1 = arg1;
616
616
  console.error(getStringFromWasm0(arg0, arg1));
617
617
  } finally {
618
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
618
+ wasm.__wbindgen_free_command_export(deferred0_0, deferred0_1, 1);
619
619
  }
620
620
  }
621
621
  export function __wbg_get_4848e350b40afc16(arg0, arg1) {
@@ -739,7 +739,7 @@ export function __wbg_set_6c60b2e8ad0e9383(arg0, arg1, arg2) {
739
739
  }
740
740
  export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
741
741
  const ret = arg1.stack;
742
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
742
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
743
743
  const len1 = WASM_VECTOR_LEN;
744
744
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
745
745
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
@@ -804,7 +804,7 @@ const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
804
804
  : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
805
805
 
806
806
  function addToExternrefTable0(obj) {
807
- const idx = wasm.__externref_table_alloc();
807
+ const idx = wasm.__externref_table_alloc_command_export();
808
808
  wasm.__wbindgen_externrefs.set(idx, obj);
809
809
  return idx;
810
810
  }
@@ -911,7 +911,7 @@ function handleError(f, args) {
911
911
  return f.apply(this, args);
912
912
  } catch (e) {
913
913
  const idx = addToExternrefTable0(e);
914
- wasm.__wbindgen_exn_store(idx);
914
+ wasm.__wbindgen_exn_store_command_export(idx);
915
915
  }
916
916
  }
917
917
 
@@ -965,7 +965,7 @@ function passStringToWasm0(arg, malloc, realloc) {
965
965
 
966
966
  function takeFromExternrefTable0(idx) {
967
967
  const value = wasm.__wbindgen_externrefs.get(idx);
968
- wasm.__externref_table_dealloc(idx);
968
+ wasm.__externref_table_dealloc_command_export(idx);
969
969
  return value;
970
970
  }
971
971
 
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.4.16",
8
+ "version": "2.5.0",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",