@biomejs/wasm-nodejs 1.7.1 → 1.7.3

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.d.ts CHANGED
@@ -24,7 +24,7 @@ interface UpdateSettingsParams {
24
24
  configuration: PartialConfiguration;
25
25
  gitignore_matches: string[];
26
26
  vcs_base_path?: string;
27
- working_directory?: string;
27
+ workspace_directory?: string;
28
28
  }
29
29
  interface PartialConfiguration {
30
30
  /**
@@ -154,8 +154,8 @@ If defined here, they should not emit diagnostics.
154
154
  /**
155
155
  * Indicates the type of runtime or transformation used for interpreting JSX.
156
156
  */
157
- jsx_runtime?: JsxRuntime;
158
- organize_imports?: PartialJavascriptOrganizeImports;
157
+ jsxRuntime?: JsxRuntime;
158
+ organizeImports?: PartialJavascriptOrganizeImports;
159
159
  /**
160
160
  * Parsing options
161
161
  */
@@ -327,7 +327,7 @@ interface PartialJavascriptFormatter {
327
327
  */
328
328
  trailingComma?: TrailingComma;
329
329
  }
330
- type JsxRuntime = "Transparent" | "ReactClassic";
330
+ type JsxRuntime = "transparent" | "reactClassic";
331
331
  interface PartialJavascriptOrganizeImports {}
332
332
  interface PartialJavascriptParser {
333
333
  /**
@@ -875,6 +875,10 @@ interface Nursery {
875
875
  * Disallow using a callback in asynchronous tests and hooks.
876
876
  */
877
877
  noDoneCallback?: RuleConfiguration_for_Null;
878
+ /**
879
+ * Disallow duplicate @import rules.
880
+ */
881
+ noDuplicateAtImportRules?: RuleConfiguration_for_Null;
878
882
  /**
879
883
  * Disallow duplicate conditions in if-else-if chains
880
884
  */
@@ -923,10 +927,50 @@ interface Nursery {
923
927
  * Disallow the use of dependencies that aren't specified in the package.json.
924
928
  */
925
929
  noUndeclaredDependencies?: RuleConfiguration_for_Null;
930
+ /**
931
+ * Disallow unknown CSS value functions.
932
+ */
933
+ noUnknownFunction?: RuleConfiguration_for_Null;
934
+ /**
935
+ * Disallow unknown pseudo-element selectors.
936
+ */
937
+ noUnknownSelectorPseudoElement?: RuleConfiguration_for_Null;
938
+ /**
939
+ * Disallow unknown CSS units.
940
+ */
941
+ noUnknownUnit?: RuleConfiguration_for_Null;
942
+ /**
943
+ * Disallow unmatchable An+B selectors.
944
+ */
945
+ noUnmatchableAnbSelector?: RuleConfiguration_for_Null;
946
+ /**
947
+ * Disallow initializing variables to undefined.
948
+ */
949
+ noUselessUndefinedInitialization?: RuleConfiguration_for_Null;
926
950
  /**
927
951
  * It enables the recommended rules for this group
928
952
  */
929
953
  recommended?: boolean;
954
+ /**
955
+ * Disallow Array constructors.
956
+ */
957
+ useArrayLiterals?: RuleConfiguration_for_Null;
958
+ /**
959
+ * Enforce the use of new for all builtins, except String, Number, Boolean, Symbol and BigInt.
960
+ */
961
+ useConsistentBuiltinInstantiation?: RuleConfiguration_for_Null;
962
+ /**
963
+ * Require the default clause in switch statements.
964
+ */
965
+ useDefaultSwitchClause?: RuleConfiguration_for_Null;
966
+ /**
967
+ * Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.
968
+ */
969
+ useExplicitLengthCheck?: RuleConfiguration_for_Null;
970
+ /**
971
+ * Disallow a missing generic family keyword within font families.
972
+ */
973
+ useGenericFontNames?: RuleConfiguration_for_Null;
930
974
  /**
931
975
  * Disallows package private imports.
932
976
  */
@@ -1074,7 +1118,7 @@ interface Style {
1074
1118
  */
1075
1119
  useConsistentArrayType?: RuleConfiguration_for_ConsistentArrayTypeOptions;
1076
1120
  /**
1077
- * Require const declarations for variables that are never reassigned after declared.
1121
+ * Require const declarations for variables that are only assigned once.
1078
1122
  */
1079
1123
  useConst?: RuleConfiguration_for_Null;
1080
1124
  /**
@@ -1637,6 +1681,11 @@ type FilenameCase =
1637
1681
  | "kebab-case"
1638
1682
  | "PascalCase"
1639
1683
  | "snake_case";
1684
+ interface RegisterProjectFolderParams {
1685
+ path?: string;
1686
+ setAsCurrentWorkspace: boolean;
1687
+ }
1688
+ type ProjectKey = string;
1640
1689
  interface UpdateProjectParams {
1641
1690
  path: BiomePath;
1642
1691
  }
@@ -1840,6 +1889,7 @@ type Category =
1840
1889
  | "lint/nursery/noConstantMathMinMaxClamp"
1841
1890
  | "lint/nursery/noCssEmptyBlock"
1842
1891
  | "lint/nursery/noDoneCallback"
1892
+ | "lint/nursery/noDuplicateAtImportRules"
1843
1893
  | "lint/nursery/noDuplicateElseIf"
1844
1894
  | "lint/nursery/noDuplicateFontNames"
1845
1895
  | "lint/nursery/noDuplicateJsonKeys"
@@ -1848,12 +1898,23 @@ type Category =
1848
1898
  | "lint/nursery/noFlatMapIdentity"
1849
1899
  | "lint/nursery/noImportantInKeyframe"
1850
1900
  | "lint/nursery/noMisplacedAssertion"
1901
+ | "lint/nursery/noMissingGenericFamilyKeyword"
1851
1902
  | "lint/nursery/noNodejsModules"
1852
1903
  | "lint/nursery/noReactSpecificProps"
1853
1904
  | "lint/nursery/noRestrictedImports"
1854
1905
  | "lint/nursery/noTypeOnlyImportAttributes"
1855
1906
  | "lint/nursery/noUndeclaredDependencies"
1907
+ | "lint/nursery/noUnknownFunction"
1908
+ | "lint/nursery/noUnknownSelectorPseudoElement"
1909
+ | "lint/nursery/noUnknownUnit"
1910
+ | "lint/nursery/noUnmatchableAnbSelector"
1911
+ | "lint/nursery/noUselessUndefinedInitialization"
1912
+ | "lint/nursery/useArrayLiterals"
1856
1913
  | "lint/nursery/useBiomeSuppressionComment"
1914
+ | "lint/nursery/useExplicitLengthCheck"
1915
+ | "lint/nursery/useConsistentBuiltinInstantiation"
1916
+ | "lint/nursery/useDefaultSwitchClause"
1917
+ | "lint/nursery/useGenericFontNames"
1857
1918
  | "lint/nursery/useImportRestrictions"
1858
1919
  | "lint/nursery/useSortedClasses"
1859
1920
  | "lint/performance/noAccumulatingSpread"
@@ -2210,6 +2271,11 @@ export class Workspace {
2210
2271
  */
2211
2272
  updateSettings(params: UpdateSettingsParams): void;
2212
2273
  /**
2274
+ * @param {RegisterProjectFolderParams} params
2275
+ * @returns {ProjectKey}
2276
+ */
2277
+ registerProjectFolder(params: RegisterProjectFolderParams): ProjectKey;
2278
+ /**
2213
2279
  * @param {OpenFileParams} params
2214
2280
  */
2215
2281
  openFile(params: OpenFileParams): void;
package/biome_wasm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { TextDecoder, TextEncoder } = require(`util`);
4
+ const { TextEncoder, TextDecoder } = require(`util`);
5
5
 
6
6
  const heap = new Array(128).fill(undefined);
7
7
 
@@ -9,46 +9,6 @@ heap.push(undefined, null, true, false);
9
9
 
10
10
  function getObject(idx) { return heap[idx]; }
11
11
 
12
- let heap_next = heap.length;
13
-
14
- function addHeapObject(obj) {
15
- if (heap_next === heap.length) heap.push(heap.length + 1);
16
- const idx = heap_next;
17
- heap_next = heap[idx];
18
-
19
- heap[idx] = obj;
20
- return idx;
21
- }
22
-
23
- function dropObject(idx) {
24
- if (idx < 132) return;
25
- heap[idx] = heap_next;
26
- heap_next = idx;
27
- }
28
-
29
- function takeObject(idx) {
30
- const ret = getObject(idx);
31
- dropObject(idx);
32
- return ret;
33
- }
34
-
35
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
36
-
37
- cachedTextDecoder.decode();
38
-
39
- let cachedUint8Memory0 = null;
40
-
41
- function getUint8Memory0() {
42
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
43
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
44
- }
45
- return cachedUint8Memory0;
46
- }
47
-
48
- function getStringFromWasm0(ptr, len) {
49
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
50
- }
51
-
52
12
  function isLikeNone(x) {
53
13
  return x === undefined || x === null;
54
14
  }
@@ -73,6 +33,15 @@ function getInt32Memory0() {
73
33
 
74
34
  let WASM_VECTOR_LEN = 0;
75
35
 
36
+ let cachedUint8Memory0 = null;
37
+
38
+ function getUint8Memory0() {
39
+ if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
40
+ cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
41
+ }
42
+ return cachedUint8Memory0;
43
+ }
44
+
76
45
  let cachedTextEncoder = new TextEncoder('utf-8');
77
46
 
78
47
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -92,14 +61,14 @@ function passStringToWasm0(arg, malloc, realloc) {
92
61
 
93
62
  if (realloc === undefined) {
94
63
  const buf = cachedTextEncoder.encode(arg);
95
- const ptr = malloc(buf.length);
64
+ const ptr = malloc(buf.length, 1) >>> 0;
96
65
  getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
97
66
  WASM_VECTOR_LEN = buf.length;
98
67
  return ptr;
99
68
  }
100
69
 
101
70
  let len = arg.length;
102
- let ptr = malloc(len);
71
+ let ptr = malloc(len, 1) >>> 0;
103
72
 
104
73
  const mem = getUint8Memory0();
105
74
 
@@ -115,17 +84,50 @@ function passStringToWasm0(arg, malloc, realloc) {
115
84
  if (offset !== 0) {
116
85
  arg = arg.slice(offset);
117
86
  }
118
- ptr = realloc(ptr, len, len = offset + arg.length * 3);
87
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
119
88
  const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
120
89
  const ret = encodeString(arg, view);
121
90
 
122
91
  offset += ret.written;
92
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
123
93
  }
124
94
 
125
95
  WASM_VECTOR_LEN = offset;
126
96
  return ptr;
127
97
  }
128
98
 
99
+ let heap_next = heap.length;
100
+
101
+ function dropObject(idx) {
102
+ if (idx < 132) return;
103
+ heap[idx] = heap_next;
104
+ heap_next = idx;
105
+ }
106
+
107
+ function takeObject(idx) {
108
+ const ret = getObject(idx);
109
+ dropObject(idx);
110
+ return ret;
111
+ }
112
+
113
+ function addHeapObject(obj) {
114
+ if (heap_next === heap.length) heap.push(heap.length + 1);
115
+ const idx = heap_next;
116
+ heap_next = heap[idx];
117
+
118
+ heap[idx] = obj;
119
+ return idx;
120
+ }
121
+
122
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
123
+
124
+ cachedTextDecoder.decode();
125
+
126
+ function getStringFromWasm0(ptr, len) {
127
+ ptr = ptr >>> 0;
128
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
129
+ }
130
+
129
131
  let cachedBigInt64Memory0 = null;
130
132
 
131
133
  function getBigInt64Memory0() {
@@ -212,21 +214,18 @@ function handleError(f, args) {
212
214
  wasm.__wbindgen_exn_store(addHeapObject(e));
213
215
  }
214
216
  }
217
+
218
+ const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
219
+ ? { register: () => {}, unregister: () => {} }
220
+ : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0));
215
221
  /**
216
222
  */
217
223
  class DiagnosticPrinter {
218
224
 
219
- static __wrap(ptr) {
220
- const obj = Object.create(DiagnosticPrinter.prototype);
221
- obj.ptr = ptr;
222
-
223
- return obj;
224
- }
225
-
226
225
  __destroy_into_raw() {
227
- const ptr = this.ptr;
228
- this.ptr = 0;
229
-
226
+ const ptr = this.__wbg_ptr;
227
+ this.__wbg_ptr = 0;
228
+ DiagnosticPrinterFinalization.unregister(this);
230
229
  return ptr;
231
230
  }
232
231
 
@@ -244,7 +243,8 @@ class DiagnosticPrinter {
244
243
  const ptr1 = passStringToWasm0(file_source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
245
244
  const len1 = WASM_VECTOR_LEN;
246
245
  const ret = wasm.diagnosticprinter_new(ptr0, len0, ptr1, len1);
247
- return DiagnosticPrinter.__wrap(ret);
246
+ this.__wbg_ptr = ret >>> 0;
247
+ return this;
248
248
  }
249
249
  /**
250
250
  * @param {Diagnostic} diagnostic
@@ -252,7 +252,7 @@ class DiagnosticPrinter {
252
252
  print_simple(diagnostic) {
253
253
  try {
254
254
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
255
- wasm.diagnosticprinter_print_simple(retptr, this.ptr, addHeapObject(diagnostic));
255
+ wasm.diagnosticprinter_print_simple(retptr, this.__wbg_ptr, addHeapObject(diagnostic));
256
256
  var r0 = getInt32Memory0()[retptr / 4 + 0];
257
257
  var r1 = getInt32Memory0()[retptr / 4 + 1];
258
258
  if (r1) {
@@ -268,7 +268,7 @@ class DiagnosticPrinter {
268
268
  print_verbose(diagnostic) {
269
269
  try {
270
270
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
271
- wasm.diagnosticprinter_print_verbose(retptr, this.ptr, addHeapObject(diagnostic));
271
+ wasm.diagnosticprinter_print_verbose(retptr, this.__wbg_ptr, addHeapObject(diagnostic));
272
272
  var r0 = getInt32Memory0()[retptr / 4 + 0];
273
273
  var r1 = getInt32Memory0()[retptr / 4 + 1];
274
274
  if (r1) {
@@ -282,6 +282,8 @@ class DiagnosticPrinter {
282
282
  * @returns {string}
283
283
  */
284
284
  finish() {
285
+ let deferred2_0;
286
+ let deferred2_1;
285
287
  try {
286
288
  const ptr = this.__destroy_into_raw();
287
289
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -290,35 +292,34 @@ class DiagnosticPrinter {
290
292
  var r1 = getInt32Memory0()[retptr / 4 + 1];
291
293
  var r2 = getInt32Memory0()[retptr / 4 + 2];
292
294
  var r3 = getInt32Memory0()[retptr / 4 + 3];
293
- var ptr0 = r0;
294
- var len0 = r1;
295
+ var ptr1 = r0;
296
+ var len1 = r1;
295
297
  if (r3) {
296
- ptr0 = 0; len0 = 0;
298
+ ptr1 = 0; len1 = 0;
297
299
  throw takeObject(r2);
298
300
  }
299
- return getStringFromWasm0(ptr0, len0);
301
+ deferred2_0 = ptr1;
302
+ deferred2_1 = len1;
303
+ return getStringFromWasm0(ptr1, len1);
300
304
  } finally {
301
305
  wasm.__wbindgen_add_to_stack_pointer(16);
302
- wasm.__wbindgen_free(ptr0, len0);
306
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
303
307
  }
304
308
  }
305
309
  }
306
310
  module.exports.DiagnosticPrinter = DiagnosticPrinter;
311
+
312
+ const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
313
+ ? { register: () => {}, unregister: () => {} }
314
+ : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0));
307
315
  /**
308
316
  */
309
317
  class Workspace {
310
318
 
311
- static __wrap(ptr) {
312
- const obj = Object.create(Workspace.prototype);
313
- obj.ptr = ptr;
314
-
315
- return obj;
316
- }
317
-
318
319
  __destroy_into_raw() {
319
- const ptr = this.ptr;
320
- this.ptr = 0;
321
-
320
+ const ptr = this.__wbg_ptr;
321
+ this.__wbg_ptr = 0;
322
+ WorkspaceFinalization.unregister(this);
322
323
  return ptr;
323
324
  }
324
325
 
@@ -330,7 +331,8 @@ class Workspace {
330
331
  */
331
332
  constructor() {
332
333
  const ret = wasm.workspace_new();
333
- return Workspace.__wrap(ret);
334
+ this.__wbg_ptr = ret >>> 0;
335
+ return this;
334
336
  }
335
337
  /**
336
338
  * @param {SupportsFeatureParams} params
@@ -339,7 +341,7 @@ class Workspace {
339
341
  fileFeatures(params) {
340
342
  try {
341
343
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
342
- wasm.workspace_fileFeatures(retptr, this.ptr, addHeapObject(params));
344
+ wasm.workspace_fileFeatures(retptr, this.__wbg_ptr, addHeapObject(params));
343
345
  var r0 = getInt32Memory0()[retptr / 4 + 0];
344
346
  var r1 = getInt32Memory0()[retptr / 4 + 1];
345
347
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -357,7 +359,7 @@ class Workspace {
357
359
  updateSettings(params) {
358
360
  try {
359
361
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
360
- wasm.workspace_updateSettings(retptr, this.ptr, addHeapObject(params));
362
+ wasm.workspace_updateSettings(retptr, this.__wbg_ptr, addHeapObject(params));
361
363
  var r0 = getInt32Memory0()[retptr / 4 + 0];
362
364
  var r1 = getInt32Memory0()[retptr / 4 + 1];
363
365
  if (r1) {
@@ -368,12 +370,31 @@ class Workspace {
368
370
  }
369
371
  }
370
372
  /**
373
+ * @param {RegisterProjectFolderParams} params
374
+ * @returns {ProjectKey}
375
+ */
376
+ registerProjectFolder(params) {
377
+ try {
378
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
379
+ wasm.workspace_registerProjectFolder(retptr, this.__wbg_ptr, addHeapObject(params));
380
+ var r0 = getInt32Memory0()[retptr / 4 + 0];
381
+ var r1 = getInt32Memory0()[retptr / 4 + 1];
382
+ var r2 = getInt32Memory0()[retptr / 4 + 2];
383
+ if (r2) {
384
+ throw takeObject(r1);
385
+ }
386
+ return takeObject(r0);
387
+ } finally {
388
+ wasm.__wbindgen_add_to_stack_pointer(16);
389
+ }
390
+ }
391
+ /**
371
392
  * @param {OpenFileParams} params
372
393
  */
373
394
  openFile(params) {
374
395
  try {
375
396
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
376
- wasm.workspace_openFile(retptr, this.ptr, addHeapObject(params));
397
+ wasm.workspace_openFile(retptr, this.__wbg_ptr, addHeapObject(params));
377
398
  var r0 = getInt32Memory0()[retptr / 4 + 0];
378
399
  var r1 = getInt32Memory0()[retptr / 4 + 1];
379
400
  if (r1) {
@@ -388,23 +409,27 @@ class Workspace {
388
409
  * @returns {string}
389
410
  */
390
411
  getFileContent(params) {
412
+ let deferred2_0;
413
+ let deferred2_1;
391
414
  try {
392
415
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
393
- wasm.workspace_getFileContent(retptr, this.ptr, addHeapObject(params));
416
+ wasm.workspace_getFileContent(retptr, this.__wbg_ptr, addHeapObject(params));
394
417
  var r0 = getInt32Memory0()[retptr / 4 + 0];
395
418
  var r1 = getInt32Memory0()[retptr / 4 + 1];
396
419
  var r2 = getInt32Memory0()[retptr / 4 + 2];
397
420
  var r3 = getInt32Memory0()[retptr / 4 + 3];
398
- var ptr0 = r0;
399
- var len0 = r1;
421
+ var ptr1 = r0;
422
+ var len1 = r1;
400
423
  if (r3) {
401
- ptr0 = 0; len0 = 0;
424
+ ptr1 = 0; len1 = 0;
402
425
  throw takeObject(r2);
403
426
  }
404
- return getStringFromWasm0(ptr0, len0);
427
+ deferred2_0 = ptr1;
428
+ deferred2_1 = len1;
429
+ return getStringFromWasm0(ptr1, len1);
405
430
  } finally {
406
431
  wasm.__wbindgen_add_to_stack_pointer(16);
407
- wasm.__wbindgen_free(ptr0, len0);
432
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
408
433
  }
409
434
  }
410
435
  /**
@@ -414,7 +439,7 @@ class Workspace {
414
439
  getSyntaxTree(params) {
415
440
  try {
416
441
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
417
- wasm.workspace_getSyntaxTree(retptr, this.ptr, addHeapObject(params));
442
+ wasm.workspace_getSyntaxTree(retptr, this.__wbg_ptr, addHeapObject(params));
418
443
  var r0 = getInt32Memory0()[retptr / 4 + 0];
419
444
  var r1 = getInt32Memory0()[retptr / 4 + 1];
420
445
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -431,23 +456,27 @@ class Workspace {
431
456
  * @returns {string}
432
457
  */
433
458
  getControlFlowGraph(params) {
459
+ let deferred2_0;
460
+ let deferred2_1;
434
461
  try {
435
462
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
436
- wasm.workspace_getControlFlowGraph(retptr, this.ptr, addHeapObject(params));
463
+ wasm.workspace_getControlFlowGraph(retptr, this.__wbg_ptr, addHeapObject(params));
437
464
  var r0 = getInt32Memory0()[retptr / 4 + 0];
438
465
  var r1 = getInt32Memory0()[retptr / 4 + 1];
439
466
  var r2 = getInt32Memory0()[retptr / 4 + 2];
440
467
  var r3 = getInt32Memory0()[retptr / 4 + 3];
441
- var ptr0 = r0;
442
- var len0 = r1;
468
+ var ptr1 = r0;
469
+ var len1 = r1;
443
470
  if (r3) {
444
- ptr0 = 0; len0 = 0;
471
+ ptr1 = 0; len1 = 0;
445
472
  throw takeObject(r2);
446
473
  }
447
- return getStringFromWasm0(ptr0, len0);
474
+ deferred2_0 = ptr1;
475
+ deferred2_1 = len1;
476
+ return getStringFromWasm0(ptr1, len1);
448
477
  } finally {
449
478
  wasm.__wbindgen_add_to_stack_pointer(16);
450
- wasm.__wbindgen_free(ptr0, len0);
479
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
451
480
  }
452
481
  }
453
482
  /**
@@ -455,23 +484,27 @@ class Workspace {
455
484
  * @returns {string}
456
485
  */
457
486
  getFormatterIr(params) {
487
+ let deferred2_0;
488
+ let deferred2_1;
458
489
  try {
459
490
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
460
- wasm.workspace_getFormatterIr(retptr, this.ptr, addHeapObject(params));
491
+ wasm.workspace_getFormatterIr(retptr, this.__wbg_ptr, addHeapObject(params));
461
492
  var r0 = getInt32Memory0()[retptr / 4 + 0];
462
493
  var r1 = getInt32Memory0()[retptr / 4 + 1];
463
494
  var r2 = getInt32Memory0()[retptr / 4 + 2];
464
495
  var r3 = getInt32Memory0()[retptr / 4 + 3];
465
- var ptr0 = r0;
466
- var len0 = r1;
496
+ var ptr1 = r0;
497
+ var len1 = r1;
467
498
  if (r3) {
468
- ptr0 = 0; len0 = 0;
499
+ ptr1 = 0; len1 = 0;
469
500
  throw takeObject(r2);
470
501
  }
471
- return getStringFromWasm0(ptr0, len0);
502
+ deferred2_0 = ptr1;
503
+ deferred2_1 = len1;
504
+ return getStringFromWasm0(ptr1, len1);
472
505
  } finally {
473
506
  wasm.__wbindgen_add_to_stack_pointer(16);
474
- wasm.__wbindgen_free(ptr0, len0);
507
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
475
508
  }
476
509
  }
477
510
  /**
@@ -480,7 +513,7 @@ class Workspace {
480
513
  changeFile(params) {
481
514
  try {
482
515
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
483
- wasm.workspace_changeFile(retptr, this.ptr, addHeapObject(params));
516
+ wasm.workspace_changeFile(retptr, this.__wbg_ptr, addHeapObject(params));
484
517
  var r0 = getInt32Memory0()[retptr / 4 + 0];
485
518
  var r1 = getInt32Memory0()[retptr / 4 + 1];
486
519
  if (r1) {
@@ -496,7 +529,7 @@ class Workspace {
496
529
  closeFile(params) {
497
530
  try {
498
531
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
499
- wasm.workspace_closeFile(retptr, this.ptr, addHeapObject(params));
532
+ wasm.workspace_closeFile(retptr, this.__wbg_ptr, addHeapObject(params));
500
533
  var r0 = getInt32Memory0()[retptr / 4 + 0];
501
534
  var r1 = getInt32Memory0()[retptr / 4 + 1];
502
535
  if (r1) {
@@ -513,7 +546,7 @@ class Workspace {
513
546
  pullDiagnostics(params) {
514
547
  try {
515
548
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
516
- wasm.workspace_pullDiagnostics(retptr, this.ptr, addHeapObject(params));
549
+ wasm.workspace_pullDiagnostics(retptr, this.__wbg_ptr, addHeapObject(params));
517
550
  var r0 = getInt32Memory0()[retptr / 4 + 0];
518
551
  var r1 = getInt32Memory0()[retptr / 4 + 1];
519
552
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -532,7 +565,7 @@ class Workspace {
532
565
  pullActions(params) {
533
566
  try {
534
567
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
535
- wasm.workspace_pullActions(retptr, this.ptr, addHeapObject(params));
568
+ wasm.workspace_pullActions(retptr, this.__wbg_ptr, addHeapObject(params));
536
569
  var r0 = getInt32Memory0()[retptr / 4 + 0];
537
570
  var r1 = getInt32Memory0()[retptr / 4 + 1];
538
571
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -551,7 +584,7 @@ class Workspace {
551
584
  formatFile(params) {
552
585
  try {
553
586
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
554
- wasm.workspace_formatFile(retptr, this.ptr, addHeapObject(params));
587
+ wasm.workspace_formatFile(retptr, this.__wbg_ptr, addHeapObject(params));
555
588
  var r0 = getInt32Memory0()[retptr / 4 + 0];
556
589
  var r1 = getInt32Memory0()[retptr / 4 + 1];
557
590
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -570,7 +603,7 @@ class Workspace {
570
603
  formatRange(params) {
571
604
  try {
572
605
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
573
- wasm.workspace_formatRange(retptr, this.ptr, addHeapObject(params));
606
+ wasm.workspace_formatRange(retptr, this.__wbg_ptr, addHeapObject(params));
574
607
  var r0 = getInt32Memory0()[retptr / 4 + 0];
575
608
  var r1 = getInt32Memory0()[retptr / 4 + 1];
576
609
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -589,7 +622,7 @@ class Workspace {
589
622
  formatOnType(params) {
590
623
  try {
591
624
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
592
- wasm.workspace_formatOnType(retptr, this.ptr, addHeapObject(params));
625
+ wasm.workspace_formatOnType(retptr, this.__wbg_ptr, addHeapObject(params));
593
626
  var r0 = getInt32Memory0()[retptr / 4 + 0];
594
627
  var r1 = getInt32Memory0()[retptr / 4 + 1];
595
628
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -608,7 +641,7 @@ class Workspace {
608
641
  fixFile(params) {
609
642
  try {
610
643
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
611
- wasm.workspace_fixFile(retptr, this.ptr, addHeapObject(params));
644
+ wasm.workspace_fixFile(retptr, this.__wbg_ptr, addHeapObject(params));
612
645
  var r0 = getInt32Memory0()[retptr / 4 + 0];
613
646
  var r1 = getInt32Memory0()[retptr / 4 + 1];
614
647
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -627,7 +660,7 @@ class Workspace {
627
660
  organizeImports(params) {
628
661
  try {
629
662
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
630
- wasm.workspace_organizeImports(retptr, this.ptr, addHeapObject(params));
663
+ wasm.workspace_organizeImports(retptr, this.__wbg_ptr, addHeapObject(params));
631
664
  var r0 = getInt32Memory0()[retptr / 4 + 0];
632
665
  var r1 = getInt32Memory0()[retptr / 4 + 1];
633
666
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -646,7 +679,7 @@ class Workspace {
646
679
  rename(params) {
647
680
  try {
648
681
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
649
- wasm.workspace_rename(retptr, this.ptr, addHeapObject(params));
682
+ wasm.workspace_rename(retptr, this.__wbg_ptr, addHeapObject(params));
650
683
  var r0 = getInt32Memory0()[retptr / 4 + 0];
651
684
  var r1 = getInt32Memory0()[retptr / 4 + 1];
652
685
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -672,30 +705,6 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
672
705
  return ret;
673
706
  };
674
707
 
675
- module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
676
- const ret = arg0;
677
- return addHeapObject(ret);
678
- };
679
-
680
- module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
681
- const ret = getObject(arg0) === getObject(arg1);
682
- return ret;
683
- };
684
-
685
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
686
- takeObject(arg0);
687
- };
688
-
689
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
690
- const ret = BigInt.asUintN(64, arg0);
691
- return addHeapObject(ret);
692
- };
693
-
694
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
695
- const ret = new Error(getStringFromWasm0(arg0, arg1));
696
- return addHeapObject(ret);
697
- };
698
-
699
708
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
700
709
  const obj = getObject(arg1);
701
710
  const ret = typeof(obj) === 'number' ? obj : undefined;
@@ -706,10 +715,10 @@ module.exports.__wbindgen_number_get = function(arg0, arg1) {
706
715
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
707
716
  const obj = getObject(arg1);
708
717
  const ret = typeof(obj) === 'string' ? obj : undefined;
709
- var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
710
- var len0 = WASM_VECTOR_LEN;
711
- getInt32Memory0()[arg0 / 4 + 1] = len0;
712
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
718
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
719
+ var len1 = WASM_VECTOR_LEN;
720
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
721
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
713
722
  };
714
723
 
715
724
  module.exports.__wbindgen_is_object = function(arg0) {
@@ -723,6 +732,30 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
723
732
  return ret;
724
733
  };
725
734
 
735
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
736
+ takeObject(arg0);
737
+ };
738
+
739
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
740
+ const ret = arg0;
741
+ return addHeapObject(ret);
742
+ };
743
+
744
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
745
+ const ret = getObject(arg0) === getObject(arg1);
746
+ return ret;
747
+ };
748
+
749
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
750
+ const ret = BigInt.asUintN(64, arg0);
751
+ return addHeapObject(ret);
752
+ };
753
+
754
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
755
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
756
+ return addHeapObject(ret);
757
+ };
758
+
726
759
  module.exports.__wbindgen_is_string = function(arg0) {
727
760
  const ret = typeof(getObject(arg0)) === 'string';
728
761
  return ret;
@@ -733,6 +766,16 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
733
766
  return ret;
734
767
  };
735
768
 
769
+ module.exports.__wbindgen_as_number = function(arg0) {
770
+ const ret = +getObject(arg0);
771
+ return ret;
772
+ };
773
+
774
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
775
+ const ret = getObject(arg0);
776
+ return addHeapObject(ret);
777
+ };
778
+
736
779
  module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
737
780
  const ret = getObject(arg0) == getObject(arg1);
738
781
  return ret;
@@ -743,31 +786,26 @@ module.exports.__wbindgen_number_new = function(arg0) {
743
786
  return addHeapObject(ret);
744
787
  };
745
788
 
746
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
747
- const ret = getObject(arg0);
748
- return addHeapObject(ret);
749
- };
750
-
751
789
  module.exports.__wbindgen_string_new = function(arg0, arg1) {
752
790
  const ret = getStringFromWasm0(arg0, arg1);
753
791
  return addHeapObject(ret);
754
792
  };
755
793
 
756
- module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
794
+ module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
757
795
  const ret = getObject(arg0)[getObject(arg1)];
758
796
  return addHeapObject(ret);
759
797
  };
760
798
 
761
- module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
799
+ module.exports.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
762
800
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
763
801
  };
764
802
 
765
- module.exports.__wbg_String_91fba7ded13ba54c = function(arg0, arg1) {
803
+ module.exports.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
766
804
  const ret = String(getObject(arg1));
767
- const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
768
- const len0 = WASM_VECTOR_LEN;
769
- getInt32Memory0()[arg0 / 4 + 1] = len0;
770
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
805
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
806
+ const len1 = WASM_VECTOR_LEN;
807
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
808
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
771
809
  };
772
810
 
773
811
  module.exports.__wbg_new_abda76e883ba8a5f = function() {
@@ -777,149 +815,164 @@ module.exports.__wbg_new_abda76e883ba8a5f = function() {
777
815
 
778
816
  module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
779
817
  const ret = getObject(arg1).stack;
780
- const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
781
- const len0 = WASM_VECTOR_LEN;
782
- getInt32Memory0()[arg0 / 4 + 1] = len0;
783
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
818
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
819
+ const len1 = WASM_VECTOR_LEN;
820
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
821
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
784
822
  };
785
823
 
786
824
  module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
825
+ let deferred0_0;
826
+ let deferred0_1;
787
827
  try {
828
+ deferred0_0 = arg0;
829
+ deferred0_1 = arg1;
788
830
  console.error(getStringFromWasm0(arg0, arg1));
789
831
  } finally {
790
- wasm.__wbindgen_free(arg0, arg1);
832
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
791
833
  }
792
834
  };
793
835
 
794
- module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
836
+ module.exports.__wbindgen_is_function = function(arg0) {
837
+ const ret = typeof(getObject(arg0)) === 'function';
838
+ return ret;
839
+ };
840
+
841
+ module.exports.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
795
842
  const ret = getObject(arg0)[arg1 >>> 0];
796
843
  return addHeapObject(ret);
797
844
  };
798
845
 
799
- module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
846
+ module.exports.__wbg_length_cd7af8117672b8b8 = function(arg0) {
800
847
  const ret = getObject(arg0).length;
801
848
  return ret;
802
849
  };
803
850
 
804
- module.exports.__wbg_new_b525de17f44a8943 = function() {
851
+ module.exports.__wbg_new_16b304a2cfa7ff4a = function() {
805
852
  const ret = new Array();
806
853
  return addHeapObject(ret);
807
854
  };
808
855
 
809
- module.exports.__wbindgen_is_function = function(arg0) {
810
- const ret = typeof(getObject(arg0)) === 'function';
811
- return ret;
812
- };
813
-
814
- module.exports.__wbg_new_f841cc6f2098f4b5 = function() {
856
+ module.exports.__wbg_new_d9bc3a0147634640 = function() {
815
857
  const ret = new Map();
816
858
  return addHeapObject(ret);
817
859
  };
818
860
 
819
- module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
861
+ module.exports.__wbg_next_40fc327bfc8770e6 = function(arg0) {
820
862
  const ret = getObject(arg0).next;
821
863
  return addHeapObject(ret);
822
864
  };
823
865
 
824
- module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
866
+ module.exports.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
825
867
  const ret = getObject(arg0).next();
826
868
  return addHeapObject(ret);
827
869
  }, arguments) };
828
870
 
829
- module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
871
+ module.exports.__wbg_done_298b57d23c0fc80c = function(arg0) {
830
872
  const ret = getObject(arg0).done;
831
873
  return ret;
832
874
  };
833
875
 
834
- module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
876
+ module.exports.__wbg_value_d93c65011f51a456 = function(arg0) {
835
877
  const ret = getObject(arg0).value;
836
878
  return addHeapObject(ret);
837
879
  };
838
880
 
839
- module.exports.__wbg_iterator_55f114446221aa5a = function() {
881
+ module.exports.__wbg_iterator_2cee6dadfd956dfa = function() {
840
882
  const ret = Symbol.iterator;
841
883
  return addHeapObject(ret);
842
884
  };
843
885
 
844
- module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) {
886
+ module.exports.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
845
887
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
846
888
  return addHeapObject(ret);
847
889
  }, arguments) };
848
890
 
849
- module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
891
+ module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
850
892
  const ret = getObject(arg0).call(getObject(arg1));
851
893
  return addHeapObject(ret);
852
894
  }, arguments) };
853
895
 
854
- module.exports.__wbg_new_f9876326328f45ed = function() {
896
+ module.exports.__wbg_new_72fb9a18b5ae2624 = function() {
855
897
  const ret = new Object();
856
898
  return addHeapObject(ret);
857
899
  };
858
900
 
859
- module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) {
901
+ module.exports.__wbg_set_d4638f722068f043 = function(arg0, arg1, arg2) {
860
902
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
861
903
  };
862
904
 
863
- module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
905
+ module.exports.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
864
906
  const ret = Array.isArray(getObject(arg0));
865
907
  return ret;
866
908
  };
867
909
 
868
- module.exports.__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065 = function(arg0) {
910
+ module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
869
911
  let result;
870
912
  try {
871
913
  result = getObject(arg0) instanceof ArrayBuffer;
872
- } catch {
914
+ } catch (_) {
873
915
  result = false;
874
916
  }
875
917
  const ret = result;
876
918
  return ret;
877
919
  };
878
920
 
879
- module.exports.__wbg_new_15d3966e9981a196 = function(arg0, arg1) {
921
+ module.exports.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
880
922
  const ret = new Error(getStringFromWasm0(arg0, arg1));
881
923
  return addHeapObject(ret);
882
924
  };
883
925
 
884
- module.exports.__wbg_set_388c4c6422704173 = function(arg0, arg1, arg2) {
926
+ module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
927
+ let result;
928
+ try {
929
+ result = getObject(arg0) instanceof Map;
930
+ } catch (_) {
931
+ result = false;
932
+ }
933
+ const ret = result;
934
+ return ret;
935
+ };
936
+
937
+ module.exports.__wbg_set_8417257aaedc936b = function(arg0, arg1, arg2) {
885
938
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
886
939
  return addHeapObject(ret);
887
940
  };
888
941
 
889
- module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
942
+ module.exports.__wbg_isSafeInteger_f7b04ef02296c4d2 = function(arg0) {
890
943
  const ret = Number.isSafeInteger(getObject(arg0));
891
944
  return ret;
892
945
  };
893
946
 
894
- module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
947
+ module.exports.__wbg_entries_95cc2c823b285a09 = function(arg0) {
895
948
  const ret = Object.entries(getObject(arg0));
896
949
  return addHeapObject(ret);
897
950
  };
898
951
 
899
- module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
952
+ module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
900
953
  const ret = getObject(arg0).buffer;
901
954
  return addHeapObject(ret);
902
955
  };
903
956
 
904
- module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
957
+ module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
905
958
  const ret = new Uint8Array(getObject(arg0));
906
959
  return addHeapObject(ret);
907
960
  };
908
961
 
909
- module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
962
+ module.exports.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
910
963
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
911
964
  };
912
965
 
913
- module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
966
+ module.exports.__wbg_length_c20a40f15020d68a = function(arg0) {
914
967
  const ret = getObject(arg0).length;
915
968
  return ret;
916
969
  };
917
970
 
918
- module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
971
+ module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
919
972
  let result;
920
973
  try {
921
974
  result = getObject(arg0) instanceof Uint8Array;
922
- } catch {
975
+ } catch (_) {
923
976
  result = false;
924
977
  }
925
978
  const ret = result;
@@ -935,10 +988,10 @@ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
935
988
 
936
989
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
937
990
  const ret = debugString(getObject(arg1));
938
- const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
939
- const len0 = WASM_VECTOR_LEN;
940
- getInt32Memory0()[arg0 / 4 + 1] = len0;
941
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
991
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
992
+ const len1 = WASM_VECTOR_LEN;
993
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
994
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
942
995
  };
943
996
 
944
997
  module.exports.__wbindgen_throw = function(arg0, arg1) {
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.7.1","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.7.3","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}