@biomejs/wasm-nodejs 1.8.4-nightly.a579bf7 → 1.8.4-nightly.d079e53

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
@@ -32,6 +32,10 @@ interface PartialConfiguration {
32
32
  * A field for the [JSON schema](https://json-schema.org/) specification
33
33
  */
34
34
  $schema?: string;
35
+ /**
36
+ * Specific configuration for assists
37
+ */
38
+ assists?: PartialAssistsConfiguration;
35
39
  /**
36
40
  * Specific configuration for the Css language
37
41
  */
@@ -77,7 +81,29 @@ interface PartialConfiguration {
77
81
  */
78
82
  vcs?: PartialVcsConfiguration;
79
83
  }
84
+ interface PartialAssistsConfiguration {
85
+ /**
86
+ * Whether Biome should fail in CLI if the assists were not applied to the code.
87
+ */
88
+ actions?: Actions;
89
+ /**
90
+ * Whether Biome should enable assists via LSP.
91
+ */
92
+ enabled?: boolean;
93
+ /**
94
+ * A list of Unix shell style patterns. The formatter will ignore files/folders that will match these patterns.
95
+ */
96
+ ignore?: StringSet;
97
+ /**
98
+ * A list of Unix shell style patterns. The formatter will include files/folders that will match these patterns.
99
+ */
100
+ include?: StringSet;
101
+ }
80
102
  interface PartialCssConfiguration {
103
+ /**
104
+ * CSS assists options
105
+ */
106
+ assists?: PartialCssAssists;
81
107
  /**
82
108
  * CSS formatter options
83
109
  */
@@ -139,7 +165,7 @@ interface PartialFormatterConfiguration {
139
165
  /**
140
166
  * The indent style.
141
167
  */
142
- indentStyle?: PlainIndentStyle;
168
+ indentStyle?: IndentStyle;
143
169
  /**
144
170
  * The size of the indentation, 2 by default
145
171
  */
@@ -165,6 +191,10 @@ interface PartialGraphqlConfiguration {
165
191
  linter?: PartialGraphqlLinter;
166
192
  }
167
193
  interface PartialJavascriptConfiguration {
194
+ /**
195
+ * Assists options
196
+ */
197
+ assists?: PartialJavascriptAssists;
168
198
  /**
169
199
  * Formatting options
170
200
  */
@@ -190,6 +220,10 @@ If defined here, they should not emit diagnostics.
190
220
  parser?: PartialJavascriptParser;
191
221
  }
192
222
  interface PartialJsonConfiguration {
223
+ /**
224
+ * Assists options
225
+ */
226
+ assists?: PartialJsonAssists;
193
227
  /**
194
228
  * Formatting options
195
229
  */
@@ -260,6 +294,15 @@ If Biome can't find the configuration, it will attempt to use the current workin
260
294
  */
261
295
  useIgnoreFile?: boolean;
262
296
  }
297
+ interface Actions {
298
+ source?: Source;
299
+ }
300
+ interface PartialCssAssists {
301
+ /**
302
+ * Control the assists for CSS files.
303
+ */
304
+ enabled?: boolean;
305
+ }
263
306
  interface PartialCssFormatter {
264
307
  /**
265
308
  * Control the formatter for CSS (and its super languages) files.
@@ -268,7 +311,7 @@ interface PartialCssFormatter {
268
311
  /**
269
312
  * The indent style applied to CSS (and its super languages) files.
270
313
  */
271
- indentStyle?: PlainIndentStyle;
314
+ indentStyle?: IndentStyle;
272
315
  /**
273
316
  * The size of the indentation applied to CSS (and its super languages) files. Default to 2.
274
317
  */
@@ -288,7 +331,7 @@ interface PartialCssFormatter {
288
331
  }
289
332
  interface PartialCssLinter {
290
333
  /**
291
- * Control the linter for CSS (and its super languages) files.
334
+ * Control the linter for CSS files.
292
335
  */
293
336
  enabled?: boolean;
294
337
  }
@@ -305,7 +348,7 @@ interface PartialCssParser {
305
348
  type AttributePosition = "auto" | "multiline";
306
349
  type BracketSpacing = boolean;
307
350
  type IndentWidth = number;
308
- type PlainIndentStyle = "tab" | "space";
351
+ type IndentStyle = "tab" | "space";
309
352
  type LineEnding = "lf" | "crlf" | "cr";
310
353
  type LineWidth = number;
311
354
  interface PartialGraphqlFormatter {
@@ -320,7 +363,7 @@ interface PartialGraphqlFormatter {
320
363
  /**
321
364
  * The indent style applied to GraphQL files.
322
365
  */
323
- indentStyle?: PlainIndentStyle;
366
+ indentStyle?: IndentStyle;
324
367
  /**
325
368
  * The size of the indentation applied to GraphQL files. Default to 2.
326
369
  */
@@ -344,6 +387,12 @@ interface PartialGraphqlLinter {
344
387
  */
345
388
  enabled?: boolean;
346
389
  }
390
+ interface PartialJavascriptAssists {
391
+ /**
392
+ * Control the linter for JavaScript (and its super languages) files.
393
+ */
394
+ enabled?: boolean;
395
+ }
347
396
  interface PartialJavascriptFormatter {
348
397
  /**
349
398
  * Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
@@ -372,7 +421,7 @@ interface PartialJavascriptFormatter {
372
421
  /**
373
422
  * The indent style applied to JavaScript (and its super languages) files.
374
423
  */
375
- indentStyle?: PlainIndentStyle;
424
+ indentStyle?: IndentStyle;
376
425
  /**
377
426
  * The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.
378
427
  */
@@ -426,6 +475,12 @@ These decorators belong to an old proposal, and they are subject to change.
426
475
  */
427
476
  unsafeParameterDecoratorsEnabled?: boolean;
428
477
  }
478
+ interface PartialJsonAssists {
479
+ /**
480
+ * Control the linter for JSON (and its super languages) files.
481
+ */
482
+ enabled?: boolean;
483
+ }
429
484
  interface PartialJsonFormatter {
430
485
  /**
431
486
  * Control the formatter for JSON (and its super languages) files.
@@ -438,7 +493,7 @@ interface PartialJsonFormatter {
438
493
  /**
439
494
  * The indent style applied to JSON (and its super languages) files.
440
495
  */
441
- indentStyle?: PlainIndentStyle;
496
+ indentStyle?: IndentStyle;
442
497
  /**
443
498
  * The size of the indentation applied to JSON (and its super languages) files. Default to 2.
444
499
  */
@@ -529,6 +584,12 @@ interface OverridePattern {
529
584
  organizeImports?: OverrideOrganizeImportsConfiguration;
530
585
  }
531
586
  type VcsClientKind = "git";
587
+ interface Source {
588
+ /**
589
+ * Sorts the keys of a JSON object in natural order
590
+ */
591
+ useSortedKeys?: RuleAssistConfiguration;
592
+ }
532
593
  type QuoteStyle = "double" | "single";
533
594
  type ArrowParentheses = "always" | "asNeeded";
534
595
  type QuoteProperties = "asNeeded" | "preserve";
@@ -559,7 +620,7 @@ interface A11y {
559
620
  /**
560
621
  * Disallow target="_blank" attribute without rel="noreferrer"
561
622
  */
562
- noBlankTarget?: RuleFixConfiguration_for_Null;
623
+ noBlankTarget?: RuleFixConfiguration_for_AllowDomainOptions;
563
624
  /**
564
625
  * Enforces that no distracting elements are used.
565
626
  */
@@ -709,7 +770,7 @@ interface Complexity {
709
770
  /**
710
771
  * Disallow unnecessary catch clauses.
711
772
  */
712
- noUselessCatch?: RuleConfiguration_for_Null;
773
+ noUselessCatch?: RuleFixConfiguration_for_Null;
713
774
  /**
714
775
  * Disallow unnecessary constructors.
715
776
  */
@@ -1030,6 +1091,10 @@ interface Nursery {
1030
1091
  * Disallow the use of @import at-rules in invalid positions.
1031
1092
  */
1032
1093
  noInvalidPositionAtImportRule?: RuleConfiguration_for_Null;
1094
+ /**
1095
+ * Disallows the use of irregular whitespace characters.
1096
+ */
1097
+ noIrregularWhitespace?: RuleConfiguration_for_Null;
1033
1098
  /**
1034
1099
  * Enforce that a label element or component has a text label and an associated input.
1035
1100
  */
@@ -1050,6 +1115,10 @@ interface Nursery {
1050
1115
  * Disallow shorthand properties that override related longhand properties.
1051
1116
  */
1052
1117
  noShorthandPropertyOverrides?: RuleConfiguration_for_Null;
1118
+ /**
1119
+ * Enforce that static, visible elements (such as \<div>) that have click handlers use the valid role attribute.
1120
+ */
1121
+ noStaticElementInteractions?: RuleConfiguration_for_Null;
1053
1122
  /**
1054
1123
  * Enforce the use of String.slice() over String.substr() and String.substring().
1055
1124
  */
@@ -1090,6 +1159,10 @@ interface Nursery {
1090
1159
  * Disallow unused function parameters.
1091
1160
  */
1092
1161
  noUnusedFunctionParameters?: RuleFixConfiguration_for_Null;
1162
+ /**
1163
+ * Disallow unnecessary escape sequence in regular expression literals.
1164
+ */
1165
+ noUselessEscapeInRegex?: RuleFixConfiguration_for_Null;
1093
1166
  /**
1094
1167
  * Disallow unnecessary concatenation of string or template literals.
1095
1168
  */
@@ -1098,6 +1171,10 @@ interface Nursery {
1098
1171
  * Disallow initializing variables to undefined.
1099
1172
  */
1100
1173
  noUselessUndefinedInitialization?: RuleFixConfiguration_for_Null;
1174
+ /**
1175
+ * Disallow use of @value rule in css modules.
1176
+ */
1177
+ noValueAtRule?: RuleConfiguration_for_Null;
1101
1178
  /**
1102
1179
  * Disallow the use of yoda expressions.
1103
1180
  */
@@ -1114,6 +1191,10 @@ interface Nursery {
1114
1191
  * Enforce the use of new for all builtins, except String, Number, Boolean, Symbol and BigInt.
1115
1192
  */
1116
1193
  useConsistentBuiltinInstantiation?: RuleFixConfiguration_for_Null;
1194
+ /**
1195
+ * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
1196
+ */
1197
+ useConsistentCurlyBraces?: RuleFixConfiguration_for_Null;
1117
1198
  /**
1118
1199
  * Disallows invalid named grid areas in CSS Grid Layouts.
1119
1200
  */
@@ -1166,6 +1247,10 @@ interface Nursery {
1166
1247
  * Enforce the sorting of CSS utility classes.
1167
1248
  */
1168
1249
  useSortedClasses?: RuleFixConfiguration_for_UtilityClassSortingOptions;
1250
+ /**
1251
+ * Enforce the use of the directive "use strict" in script files.
1252
+ */
1253
+ useStrictMode?: RuleFixConfiguration_for_Null;
1169
1254
  /**
1170
1255
  * Require new when throwing an error.
1171
1256
  */
@@ -1178,6 +1263,10 @@ interface Nursery {
1178
1263
  * Require regex literals to be declared at the top level.
1179
1264
  */
1180
1265
  useTopLevelRegex?: RuleConfiguration_for_Null;
1266
+ /**
1267
+ * Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
1268
+ */
1269
+ useTrimStartEnd?: RuleFixConfiguration_for_Null;
1181
1270
  /**
1182
1271
  * Use valid values for the autocomplete attribute on input elements.
1183
1272
  */
@@ -1664,7 +1753,7 @@ interface OverrideFormatterConfiguration {
1664
1753
  /**
1665
1754
  * The indent style.
1666
1755
  */
1667
- indentStyle?: PlainIndentStyle;
1756
+ indentStyle?: IndentStyle;
1668
1757
  /**
1669
1758
  * The size of the indentation, 2 by default
1670
1759
  */
@@ -1694,9 +1783,13 @@ interface OverrideOrganizeImportsConfiguration {
1694
1783
  */
1695
1784
  enabled?: boolean;
1696
1785
  }
1786
+ type RuleAssistConfiguration = "on" | "off";
1697
1787
  type RuleFixConfiguration_for_Null =
1698
1788
  | RulePlainConfiguration
1699
1789
  | RuleWithFixOptions_for_Null;
1790
+ type RuleFixConfiguration_for_AllowDomainOptions =
1791
+ | RulePlainConfiguration
1792
+ | RuleWithFixOptions_for_AllowDomainOptions;
1700
1793
  type RuleConfiguration_for_Null =
1701
1794
  | RulePlainConfiguration
1702
1795
  | RuleWithOptions_for_Null;
@@ -1754,6 +1847,20 @@ interface RuleWithFixOptions_for_Null {
1754
1847
  */
1755
1848
  options: null;
1756
1849
  }
1850
+ interface RuleWithFixOptions_for_AllowDomainOptions {
1851
+ /**
1852
+ * The kind of the code actions emitted by the rule
1853
+ */
1854
+ fix?: FixKind;
1855
+ /**
1856
+ * The severity of the emitted diagnostics by the rule
1857
+ */
1858
+ level: RulePlainConfiguration;
1859
+ /**
1860
+ * Rule's options
1861
+ */
1862
+ options: AllowDomainOptions;
1863
+ }
1757
1864
  interface RuleWithOptions_for_Null {
1758
1865
  /**
1759
1866
  * The severity of the emitted diagnostics by the rule
@@ -1915,6 +2022,12 @@ interface RuleWithFixOptions_for_NamingConventionOptions {
1915
2022
  options: NamingConventionOptions;
1916
2023
  }
1917
2024
  type FixKind = "none" | "safe" | "unsafe";
2025
+ interface AllowDomainOptions {
2026
+ /**
2027
+ * List of domains to allow `target="_blank"` without `rel="noreferrer"`
2028
+ */
2029
+ allowDomains: string[];
2030
+ }
1918
2031
  interface ValidAriaRoleOptions {
1919
2032
  allowInvalidRoles: string[];
1920
2033
  ignoreNonDom: boolean;
@@ -2359,12 +2472,14 @@ type Category =
2359
2472
  | "lint/nursery/noImportantInKeyframe"
2360
2473
  | "lint/nursery/noInvalidDirectionInLinearGradient"
2361
2474
  | "lint/nursery/noInvalidPositionAtImportRule"
2475
+ | "lint/nursery/noIrregularWhitespace"
2362
2476
  | "lint/nursery/noLabelWithoutControl"
2363
2477
  | "lint/nursery/noMisplacedAssertion"
2364
2478
  | "lint/nursery/noMissingGenericFamilyKeyword"
2365
2479
  | "lint/nursery/noReactSpecificProps"
2366
2480
  | "lint/nursery/noRestrictedImports"
2367
2481
  | "lint/nursery/noShorthandPropertyOverrides"
2482
+ | "lint/nursery/noStaticElementInteractions"
2368
2483
  | "lint/nursery/noSubstr"
2369
2484
  | "lint/nursery/noUndeclaredDependencies"
2370
2485
  | "lint/nursery/noUnknownFunction"
@@ -2375,12 +2490,15 @@ type Category =
2375
2490
  | "lint/nursery/noUnknownUnit"
2376
2491
  | "lint/nursery/noUnmatchableAnbSelector"
2377
2492
  | "lint/nursery/noUnusedFunctionParameters"
2493
+ | "lint/nursery/noUselessEscapeInRegex"
2378
2494
  | "lint/nursery/noUselessStringConcat"
2379
2495
  | "lint/nursery/noUselessUndefinedInitialization"
2496
+ | "lint/nursery/noValueAtRule"
2380
2497
  | "lint/nursery/noYodaExpression"
2381
2498
  | "lint/nursery/useAdjacentOverloadSignatures"
2382
2499
  | "lint/nursery/useBiomeSuppressionComment"
2383
2500
  | "lint/nursery/useConsistentBuiltinInstantiation"
2501
+ | "lint/nursery/useConsistentCurlyBraces"
2384
2502
  | "lint/nursery/useConsistentGridAreas"
2385
2503
  | "lint/nursery/useDateNow"
2386
2504
  | "lint/nursery/useDefaultSwitchClause"
@@ -2391,12 +2509,15 @@ type Category =
2391
2509
  | "lint/nursery/useGenericFontNames"
2392
2510
  | "lint/nursery/useImportExtensions"
2393
2511
  | "lint/nursery/useImportRestrictions"
2512
+ | "lint/nursery/useJsxCurlyBraceConvention"
2394
2513
  | "lint/nursery/useNumberToFixedDigitsArgument"
2395
2514
  | "lint/nursery/useSemanticElements"
2396
2515
  | "lint/nursery/useSortedClasses"
2516
+ | "lint/nursery/useStrictMode"
2397
2517
  | "lint/nursery/useThrowNewError"
2398
2518
  | "lint/nursery/useThrowOnlyError"
2399
2519
  | "lint/nursery/useTopLevelRegex"
2520
+ | "lint/nursery/useTrimStartEnd"
2400
2521
  | "lint/nursery/useValidAutocomplete"
2401
2522
  | "lint/performance/noAccumulatingSpread"
2402
2523
  | "lint/performance/noBarrelFile"
@@ -2503,7 +2624,7 @@ type Category =
2503
2624
  | "lint/suspicious/useIsArray"
2504
2625
  | "lint/suspicious/useNamespaceKeyword"
2505
2626
  | "lint/suspicious/useValidTypeof"
2506
- | "assists/nursery/useSortedKeys"
2627
+ | "assists/source/useSortedKeys"
2507
2628
  | "syntax/nursery/noTypeOnlyImportAttributes"
2508
2629
  | "syntax/correctness/noSuperWithoutExtends"
2509
2630
  | "syntax/correctness/noInitializerWithDefinite"
@@ -2514,6 +2635,7 @@ type Category =
2514
2635
  | "ci"
2515
2636
  | "configuration"
2516
2637
  | "organizeImports"
2638
+ | "assists"
2517
2639
  | "migrate"
2518
2640
  | "deserialize"
2519
2641
  | "project"
@@ -2602,8 +2724,10 @@ interface BacktraceSymbol {
2602
2724
  name?: string;
2603
2725
  }
2604
2726
  interface PullActionsParams {
2727
+ only: RuleCode[];
2605
2728
  path: BiomePath;
2606
- range: TextRange;
2729
+ range?: TextRange;
2730
+ skip: RuleCode[];
2607
2731
  }
2608
2732
  interface PullActionsResult {
2609
2733
  actions: CodeAction[];
@@ -2666,8 +2790,11 @@ interface FormatOnTypeParams {
2666
2790
  }
2667
2791
  interface FixFileParams {
2668
2792
  fix_file_mode: FixFileMode;
2793
+ only: RuleCode[];
2669
2794
  path: BiomePath;
2795
+ rule_categories: RuleCategories;
2670
2796
  should_format: boolean;
2797
+ skip: RuleCode[];
2671
2798
  }
2672
2799
  type FixFileMode = "SafeFixes" | "SafeAndUnsafeFixes";
2673
2800
  interface FixFileResult {
package/biome_wasm.js CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  let imports = {};
2
3
  imports['__wbindgen_placeholder__'] = module.exports;
3
4
  let wasm;
@@ -27,33 +28,24 @@ function isLikeNone(x) {
27
28
  return x === undefined || x === null;
28
29
  }
29
30
 
30
- let cachedFloat64Memory0 = null;
31
-
32
- function getFloat64Memory0() {
33
- if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
34
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
35
- }
36
- return cachedFloat64Memory0;
37
- }
38
-
39
- let cachedInt32Memory0 = null;
31
+ let cachedDataViewMemory0 = null;
40
32
 
41
- function getInt32Memory0() {
42
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
43
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
33
+ function getDataViewMemory0() {
34
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
35
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
44
36
  }
45
- return cachedInt32Memory0;
37
+ return cachedDataViewMemory0;
46
38
  }
47
39
 
48
40
  let WASM_VECTOR_LEN = 0;
49
41
 
50
- let cachedUint8Memory0 = null;
42
+ let cachedUint8ArrayMemory0 = null;
51
43
 
52
- function getUint8Memory0() {
53
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
54
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
44
+ function getUint8ArrayMemory0() {
45
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
46
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
55
47
  }
56
- return cachedUint8Memory0;
48
+ return cachedUint8ArrayMemory0;
57
49
  }
58
50
 
59
51
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -76,7 +68,7 @@ function passStringToWasm0(arg, malloc, realloc) {
76
68
  if (realloc === undefined) {
77
69
  const buf = cachedTextEncoder.encode(arg);
78
70
  const ptr = malloc(buf.length, 1) >>> 0;
79
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
71
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
80
72
  WASM_VECTOR_LEN = buf.length;
81
73
  return ptr;
82
74
  }
@@ -84,7 +76,7 @@ function passStringToWasm0(arg, malloc, realloc) {
84
76
  let len = arg.length;
85
77
  let ptr = malloc(len, 1) >>> 0;
86
78
 
87
- const mem = getUint8Memory0();
79
+ const mem = getUint8ArrayMemory0();
88
80
 
89
81
  let offset = 0;
90
82
 
@@ -99,7 +91,7 @@ function passStringToWasm0(arg, malloc, realloc) {
99
91
  arg = arg.slice(offset);
100
92
  }
101
93
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
102
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
94
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
103
95
  const ret = encodeString(arg, view);
104
96
 
105
97
  offset += ret.written;
@@ -125,16 +117,7 @@ cachedTextDecoder.decode();
125
117
 
126
118
  function getStringFromWasm0(ptr, len) {
127
119
  ptr = ptr >>> 0;
128
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
129
- }
130
-
131
- let cachedBigInt64Memory0 = null;
132
-
133
- function getBigInt64Memory0() {
134
- if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
135
- cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
136
- }
137
- return cachedBigInt64Memory0;
120
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
138
121
  }
139
122
 
140
123
  function debugString(val) {
@@ -217,7 +200,7 @@ function handleError(f, args) {
217
200
 
218
201
  const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
219
202
  ? { register: () => {}, unregister: () => {} }
220
- : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0));
203
+ : new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0, 1));
221
204
  /**
222
205
  */
223
206
  class DiagnosticPrinter {
@@ -231,7 +214,7 @@ class DiagnosticPrinter {
231
214
 
232
215
  free() {
233
216
  const ptr = this.__destroy_into_raw();
234
- wasm.__wbg_diagnosticprinter_free(ptr);
217
+ wasm.__wbg_diagnosticprinter_free(ptr, 0);
235
218
  }
236
219
  /**
237
220
  * @param {string} file_name
@@ -244,6 +227,7 @@ class DiagnosticPrinter {
244
227
  const len1 = WASM_VECTOR_LEN;
245
228
  const ret = wasm.diagnosticprinter_new(ptr0, len0, ptr1, len1);
246
229
  this.__wbg_ptr = ret >>> 0;
230
+ DiagnosticPrinterFinalization.register(this, this.__wbg_ptr, this);
247
231
  return this;
248
232
  }
249
233
  /**
@@ -253,8 +237,8 @@ class DiagnosticPrinter {
253
237
  try {
254
238
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
255
239
  wasm.diagnosticprinter_print_simple(retptr, this.__wbg_ptr, addHeapObject(diagnostic));
256
- var r0 = getInt32Memory0()[retptr / 4 + 0];
257
- var r1 = getInt32Memory0()[retptr / 4 + 1];
240
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
241
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
258
242
  if (r1) {
259
243
  throw takeObject(r0);
260
244
  }
@@ -269,8 +253,8 @@ class DiagnosticPrinter {
269
253
  try {
270
254
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
271
255
  wasm.diagnosticprinter_print_verbose(retptr, this.__wbg_ptr, addHeapObject(diagnostic));
272
- var r0 = getInt32Memory0()[retptr / 4 + 0];
273
- var r1 = getInt32Memory0()[retptr / 4 + 1];
256
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
257
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
274
258
  if (r1) {
275
259
  throw takeObject(r0);
276
260
  }
@@ -288,10 +272,10 @@ class DiagnosticPrinter {
288
272
  const ptr = this.__destroy_into_raw();
289
273
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
290
274
  wasm.diagnosticprinter_finish(retptr, ptr);
291
- var r0 = getInt32Memory0()[retptr / 4 + 0];
292
- var r1 = getInt32Memory0()[retptr / 4 + 1];
293
- var r2 = getInt32Memory0()[retptr / 4 + 2];
294
- var r3 = getInt32Memory0()[retptr / 4 + 3];
275
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
276
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
277
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
278
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
295
279
  var ptr1 = r0;
296
280
  var len1 = r1;
297
281
  if (r3) {
@@ -311,7 +295,7 @@ module.exports.DiagnosticPrinter = DiagnosticPrinter;
311
295
 
312
296
  const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
313
297
  ? { register: () => {}, unregister: () => {} }
314
- : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0));
298
+ : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
315
299
  /**
316
300
  */
317
301
  class Workspace {
@@ -325,13 +309,14 @@ class Workspace {
325
309
 
326
310
  free() {
327
311
  const ptr = this.__destroy_into_raw();
328
- wasm.__wbg_workspace_free(ptr);
312
+ wasm.__wbg_workspace_free(ptr, 0);
329
313
  }
330
314
  /**
331
315
  */
332
316
  constructor() {
333
317
  const ret = wasm.workspace_new();
334
318
  this.__wbg_ptr = ret >>> 0;
319
+ WorkspaceFinalization.register(this, this.__wbg_ptr, this);
335
320
  return this;
336
321
  }
337
322
  /**
@@ -342,9 +327,9 @@ class Workspace {
342
327
  try {
343
328
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
344
329
  wasm.workspace_fileFeatures(retptr, this.__wbg_ptr, addHeapObject(params));
345
- var r0 = getInt32Memory0()[retptr / 4 + 0];
346
- var r1 = getInt32Memory0()[retptr / 4 + 1];
347
- var r2 = getInt32Memory0()[retptr / 4 + 2];
330
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
331
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
332
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
348
333
  if (r2) {
349
334
  throw takeObject(r1);
350
335
  }
@@ -360,8 +345,8 @@ class Workspace {
360
345
  try {
361
346
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
362
347
  wasm.workspace_updateSettings(retptr, this.__wbg_ptr, addHeapObject(params));
363
- var r0 = getInt32Memory0()[retptr / 4 + 0];
364
- var r1 = getInt32Memory0()[retptr / 4 + 1];
348
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
349
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
365
350
  if (r1) {
366
351
  throw takeObject(r0);
367
352
  }
@@ -377,9 +362,9 @@ class Workspace {
377
362
  try {
378
363
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
379
364
  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];
365
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
366
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
367
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
383
368
  if (r2) {
384
369
  throw takeObject(r1);
385
370
  }
@@ -395,8 +380,8 @@ class Workspace {
395
380
  try {
396
381
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
397
382
  wasm.workspace_openFile(retptr, this.__wbg_ptr, addHeapObject(params));
398
- var r0 = getInt32Memory0()[retptr / 4 + 0];
399
- var r1 = getInt32Memory0()[retptr / 4 + 1];
383
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
384
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
400
385
  if (r1) {
401
386
  throw takeObject(r0);
402
387
  }
@@ -414,10 +399,10 @@ class Workspace {
414
399
  try {
415
400
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
416
401
  wasm.workspace_getFileContent(retptr, this.__wbg_ptr, addHeapObject(params));
417
- var r0 = getInt32Memory0()[retptr / 4 + 0];
418
- var r1 = getInt32Memory0()[retptr / 4 + 1];
419
- var r2 = getInt32Memory0()[retptr / 4 + 2];
420
- var r3 = getInt32Memory0()[retptr / 4 + 3];
402
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
403
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
404
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
405
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
421
406
  var ptr1 = r0;
422
407
  var len1 = r1;
423
408
  if (r3) {
@@ -440,9 +425,9 @@ class Workspace {
440
425
  try {
441
426
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
442
427
  wasm.workspace_getSyntaxTree(retptr, this.__wbg_ptr, addHeapObject(params));
443
- var r0 = getInt32Memory0()[retptr / 4 + 0];
444
- var r1 = getInt32Memory0()[retptr / 4 + 1];
445
- var r2 = getInt32Memory0()[retptr / 4 + 2];
428
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
429
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
430
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
446
431
  if (r2) {
447
432
  throw takeObject(r1);
448
433
  }
@@ -461,10 +446,10 @@ class Workspace {
461
446
  try {
462
447
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
463
448
  wasm.workspace_getControlFlowGraph(retptr, this.__wbg_ptr, addHeapObject(params));
464
- var r0 = getInt32Memory0()[retptr / 4 + 0];
465
- var r1 = getInt32Memory0()[retptr / 4 + 1];
466
- var r2 = getInt32Memory0()[retptr / 4 + 2];
467
- var r3 = getInt32Memory0()[retptr / 4 + 3];
449
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
450
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
451
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
452
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
468
453
  var ptr1 = r0;
469
454
  var len1 = r1;
470
455
  if (r3) {
@@ -489,10 +474,10 @@ class Workspace {
489
474
  try {
490
475
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
491
476
  wasm.workspace_getFormatterIr(retptr, this.__wbg_ptr, addHeapObject(params));
492
- var r0 = getInt32Memory0()[retptr / 4 + 0];
493
- var r1 = getInt32Memory0()[retptr / 4 + 1];
494
- var r2 = getInt32Memory0()[retptr / 4 + 2];
495
- var r3 = getInt32Memory0()[retptr / 4 + 3];
477
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
478
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
479
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
480
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
496
481
  var ptr1 = r0;
497
482
  var len1 = r1;
498
483
  if (r3) {
@@ -514,8 +499,8 @@ class Workspace {
514
499
  try {
515
500
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
516
501
  wasm.workspace_changeFile(retptr, this.__wbg_ptr, addHeapObject(params));
517
- var r0 = getInt32Memory0()[retptr / 4 + 0];
518
- var r1 = getInt32Memory0()[retptr / 4 + 1];
502
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
503
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
519
504
  if (r1) {
520
505
  throw takeObject(r0);
521
506
  }
@@ -530,8 +515,8 @@ class Workspace {
530
515
  try {
531
516
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
532
517
  wasm.workspace_closeFile(retptr, this.__wbg_ptr, addHeapObject(params));
533
- var r0 = getInt32Memory0()[retptr / 4 + 0];
534
- var r1 = getInt32Memory0()[retptr / 4 + 1];
518
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
519
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
535
520
  if (r1) {
536
521
  throw takeObject(r0);
537
522
  }
@@ -547,9 +532,9 @@ class Workspace {
547
532
  try {
548
533
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
549
534
  wasm.workspace_pullDiagnostics(retptr, this.__wbg_ptr, addHeapObject(params));
550
- var r0 = getInt32Memory0()[retptr / 4 + 0];
551
- var r1 = getInt32Memory0()[retptr / 4 + 1];
552
- var r2 = getInt32Memory0()[retptr / 4 + 2];
535
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
536
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
537
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
553
538
  if (r2) {
554
539
  throw takeObject(r1);
555
540
  }
@@ -566,9 +551,9 @@ class Workspace {
566
551
  try {
567
552
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
568
553
  wasm.workspace_pullActions(retptr, this.__wbg_ptr, addHeapObject(params));
569
- var r0 = getInt32Memory0()[retptr / 4 + 0];
570
- var r1 = getInt32Memory0()[retptr / 4 + 1];
571
- var r2 = getInt32Memory0()[retptr / 4 + 2];
554
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
555
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
556
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
572
557
  if (r2) {
573
558
  throw takeObject(r1);
574
559
  }
@@ -585,9 +570,9 @@ class Workspace {
585
570
  try {
586
571
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
587
572
  wasm.workspace_formatFile(retptr, this.__wbg_ptr, addHeapObject(params));
588
- var r0 = getInt32Memory0()[retptr / 4 + 0];
589
- var r1 = getInt32Memory0()[retptr / 4 + 1];
590
- var r2 = getInt32Memory0()[retptr / 4 + 2];
573
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
574
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
575
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
591
576
  if (r2) {
592
577
  throw takeObject(r1);
593
578
  }
@@ -604,9 +589,9 @@ class Workspace {
604
589
  try {
605
590
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
606
591
  wasm.workspace_formatRange(retptr, this.__wbg_ptr, addHeapObject(params));
607
- var r0 = getInt32Memory0()[retptr / 4 + 0];
608
- var r1 = getInt32Memory0()[retptr / 4 + 1];
609
- var r2 = getInt32Memory0()[retptr / 4 + 2];
592
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
593
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
594
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
610
595
  if (r2) {
611
596
  throw takeObject(r1);
612
597
  }
@@ -623,9 +608,9 @@ class Workspace {
623
608
  try {
624
609
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
625
610
  wasm.workspace_formatOnType(retptr, this.__wbg_ptr, addHeapObject(params));
626
- var r0 = getInt32Memory0()[retptr / 4 + 0];
627
- var r1 = getInt32Memory0()[retptr / 4 + 1];
628
- var r2 = getInt32Memory0()[retptr / 4 + 2];
611
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
612
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
613
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
629
614
  if (r2) {
630
615
  throw takeObject(r1);
631
616
  }
@@ -642,9 +627,9 @@ class Workspace {
642
627
  try {
643
628
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
644
629
  wasm.workspace_fixFile(retptr, this.__wbg_ptr, addHeapObject(params));
645
- var r0 = getInt32Memory0()[retptr / 4 + 0];
646
- var r1 = getInt32Memory0()[retptr / 4 + 1];
647
- var r2 = getInt32Memory0()[retptr / 4 + 2];
630
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
631
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
632
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
648
633
  if (r2) {
649
634
  throw takeObject(r1);
650
635
  }
@@ -661,9 +646,9 @@ class Workspace {
661
646
  try {
662
647
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
663
648
  wasm.workspace_organizeImports(retptr, this.__wbg_ptr, addHeapObject(params));
664
- var r0 = getInt32Memory0()[retptr / 4 + 0];
665
- var r1 = getInt32Memory0()[retptr / 4 + 1];
666
- var r2 = getInt32Memory0()[retptr / 4 + 2];
649
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
650
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
651
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
667
652
  if (r2) {
668
653
  throw takeObject(r1);
669
654
  }
@@ -680,9 +665,9 @@ class Workspace {
680
665
  try {
681
666
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
682
667
  wasm.workspace_rename(retptr, this.__wbg_ptr, addHeapObject(params));
683
- var r0 = getInt32Memory0()[retptr / 4 + 0];
684
- var r1 = getInt32Memory0()[retptr / 4 + 1];
685
- var r2 = getInt32Memory0()[retptr / 4 + 2];
668
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
669
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
670
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
686
671
  if (r2) {
687
672
  throw takeObject(r1);
688
673
  }
@@ -722,8 +707,8 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
722
707
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
723
708
  const obj = getObject(arg1);
724
709
  const ret = typeof(obj) === 'number' ? obj : undefined;
725
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
726
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
710
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
711
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
727
712
  };
728
713
 
729
714
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
@@ -731,8 +716,8 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
731
716
  const ret = typeof(obj) === 'string' ? obj : undefined;
732
717
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
733
718
  var len1 = WASM_VECTOR_LEN;
734
- getInt32Memory0()[arg0 / 4 + 1] = len1;
735
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
719
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
720
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
736
721
  };
737
722
 
738
723
  module.exports.__wbindgen_is_object = function(arg0) {
@@ -804,8 +789,8 @@ module.exports.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
804
789
  const ret = String(getObject(arg1));
805
790
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
806
791
  const len1 = WASM_VECTOR_LEN;
807
- getInt32Memory0()[arg0 / 4 + 1] = len1;
808
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
792
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
793
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
809
794
  };
810
795
 
811
796
  module.exports.__wbg_new_abda76e883ba8a5f = function() {
@@ -817,8 +802,8 @@ module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
817
802
  const ret = getObject(arg1).stack;
818
803
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
819
804
  const len1 = WASM_VECTOR_LEN;
820
- getInt32Memory0()[arg0 / 4 + 1] = len1;
821
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
805
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
806
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
822
807
  };
823
808
 
824
809
  module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
@@ -838,76 +823,76 @@ module.exports.__wbindgen_is_function = function(arg0) {
838
823
  return ret;
839
824
  };
840
825
 
841
- module.exports.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
826
+ module.exports.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) {
842
827
  const ret = getObject(arg0)[arg1 >>> 0];
843
828
  return addHeapObject(ret);
844
829
  };
845
830
 
846
- module.exports.__wbg_length_cd7af8117672b8b8 = function(arg0) {
831
+ module.exports.__wbg_length_ae22078168b726f5 = function(arg0) {
847
832
  const ret = getObject(arg0).length;
848
833
  return ret;
849
834
  };
850
835
 
851
- module.exports.__wbg_new_16b304a2cfa7ff4a = function() {
836
+ module.exports.__wbg_new_a220cf903aa02ca2 = function() {
852
837
  const ret = new Array();
853
838
  return addHeapObject(ret);
854
839
  };
855
840
 
856
- module.exports.__wbg_new_d9bc3a0147634640 = function() {
841
+ module.exports.__wbg_new_8608a2b51a5f6737 = function() {
857
842
  const ret = new Map();
858
843
  return addHeapObject(ret);
859
844
  };
860
845
 
861
- module.exports.__wbg_next_40fc327bfc8770e6 = function(arg0) {
846
+ module.exports.__wbg_next_de3e9db4440638b2 = function(arg0) {
862
847
  const ret = getObject(arg0).next;
863
848
  return addHeapObject(ret);
864
849
  };
865
850
 
866
- module.exports.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
851
+ module.exports.__wbg_next_f9cb570345655b9a = function() { return handleError(function (arg0) {
867
852
  const ret = getObject(arg0).next();
868
853
  return addHeapObject(ret);
869
854
  }, arguments) };
870
855
 
871
- module.exports.__wbg_done_298b57d23c0fc80c = function(arg0) {
856
+ module.exports.__wbg_done_bfda7aa8f252b39f = function(arg0) {
872
857
  const ret = getObject(arg0).done;
873
858
  return ret;
874
859
  };
875
860
 
876
- module.exports.__wbg_value_d93c65011f51a456 = function(arg0) {
861
+ module.exports.__wbg_value_6d39332ab4788d86 = function(arg0) {
877
862
  const ret = getObject(arg0).value;
878
863
  return addHeapObject(ret);
879
864
  };
880
865
 
881
- module.exports.__wbg_iterator_2cee6dadfd956dfa = function() {
866
+ module.exports.__wbg_iterator_888179a48810a9fe = function() {
882
867
  const ret = Symbol.iterator;
883
868
  return addHeapObject(ret);
884
869
  };
885
870
 
886
- module.exports.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
871
+ module.exports.__wbg_get_224d16597dbbfd96 = function() { return handleError(function (arg0, arg1) {
887
872
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
888
873
  return addHeapObject(ret);
889
874
  }, arguments) };
890
875
 
891
- module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
876
+ module.exports.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) {
892
877
  const ret = getObject(arg0).call(getObject(arg1));
893
878
  return addHeapObject(ret);
894
879
  }, arguments) };
895
880
 
896
- module.exports.__wbg_new_72fb9a18b5ae2624 = function() {
881
+ module.exports.__wbg_new_525245e2b9901204 = function() {
897
882
  const ret = new Object();
898
883
  return addHeapObject(ret);
899
884
  };
900
885
 
901
- module.exports.__wbg_set_d4638f722068f043 = function(arg0, arg1, arg2) {
886
+ module.exports.__wbg_set_673dda6c73d19609 = function(arg0, arg1, arg2) {
902
887
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
903
888
  };
904
889
 
905
- module.exports.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
890
+ module.exports.__wbg_isArray_8364a5371e9737d8 = function(arg0) {
906
891
  const ret = Array.isArray(getObject(arg0));
907
892
  return ret;
908
893
  };
909
894
 
910
- module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
895
+ module.exports.__wbg_instanceof_ArrayBuffer_61dfc3198373c902 = function(arg0) {
911
896
  let result;
912
897
  try {
913
898
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -918,12 +903,12 @@ module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
918
903
  return ret;
919
904
  };
920
905
 
921
- module.exports.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
906
+ module.exports.__wbg_new_796382978dfd4fb0 = function(arg0, arg1) {
922
907
  const ret = new Error(getStringFromWasm0(arg0, arg1));
923
908
  return addHeapObject(ret);
924
909
  };
925
910
 
926
- module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
911
+ module.exports.__wbg_instanceof_Map_763ce0e95960d55e = function(arg0) {
927
912
  let result;
928
913
  try {
929
914
  result = getObject(arg0) instanceof Map;
@@ -934,41 +919,41 @@ module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
934
919
  return ret;
935
920
  };
936
921
 
937
- module.exports.__wbg_set_8417257aaedc936b = function(arg0, arg1, arg2) {
922
+ module.exports.__wbg_set_49185437f0ab06f8 = function(arg0, arg1, arg2) {
938
923
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
939
924
  return addHeapObject(ret);
940
925
  };
941
926
 
942
- module.exports.__wbg_isSafeInteger_f7b04ef02296c4d2 = function(arg0) {
927
+ module.exports.__wbg_isSafeInteger_7f1ed56200d90674 = function(arg0) {
943
928
  const ret = Number.isSafeInteger(getObject(arg0));
944
929
  return ret;
945
930
  };
946
931
 
947
- module.exports.__wbg_entries_95cc2c823b285a09 = function(arg0) {
932
+ module.exports.__wbg_entries_7a0e06255456ebcd = function(arg0) {
948
933
  const ret = Object.entries(getObject(arg0));
949
934
  return addHeapObject(ret);
950
935
  };
951
936
 
952
- module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
937
+ module.exports.__wbg_buffer_b7b08af79b0b0974 = function(arg0) {
953
938
  const ret = getObject(arg0).buffer;
954
939
  return addHeapObject(ret);
955
940
  };
956
941
 
957
- module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
942
+ module.exports.__wbg_new_ea1883e1e5e86686 = function(arg0) {
958
943
  const ret = new Uint8Array(getObject(arg0));
959
944
  return addHeapObject(ret);
960
945
  };
961
946
 
962
- module.exports.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
947
+ module.exports.__wbg_set_d1e79e2388520f18 = function(arg0, arg1, arg2) {
963
948
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
964
949
  };
965
950
 
966
- module.exports.__wbg_length_c20a40f15020d68a = function(arg0) {
951
+ module.exports.__wbg_length_8339fcf5d8ecd12e = function(arg0) {
967
952
  const ret = getObject(arg0).length;
968
953
  return ret;
969
954
  };
970
955
 
971
- module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
956
+ module.exports.__wbg_instanceof_Uint8Array_247a91427532499e = function(arg0) {
972
957
  let result;
973
958
  try {
974
959
  result = getObject(arg0) instanceof Uint8Array;
@@ -982,16 +967,16 @@ module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
982
967
  module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
983
968
  const v = getObject(arg1);
984
969
  const ret = typeof(v) === 'bigint' ? v : undefined;
985
- getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
986
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
970
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
971
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
987
972
  };
988
973
 
989
974
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
990
975
  const ret = debugString(getObject(arg1));
991
976
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
992
977
  const len1 = WASM_VECTOR_LEN;
993
- getInt32Memory0()[arg0 / 4 + 1] = len1;
994
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
978
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
979
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
995
980
  };
996
981
 
997
982
  module.exports.__wbindgen_throw = function(arg0, arg1) {
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Biome Developers and Contributors"
5
5
  ],
6
6
  "description": "WebAssembly bindings to the Biome workspace API",
7
- "version": "1.8.4-nightly.a579bf7",
7
+ "version": "1.8.4-nightly.d079e53",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",