@biomejs/wasm-nodejs 1.8.4-nightly.bd1d0c6 → 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 +107 -18
- package/biome_wasm.js +119 -134
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
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?:
|
|
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?:
|
|
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
|
|
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
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
773
|
+
noUselessCatch?: RuleFixConfiguration_for_Null;
|
|
713
774
|
/**
|
|
714
775
|
* Disallow unnecessary constructors.
|
|
715
776
|
*/
|
|
@@ -1034,10 +1095,6 @@ interface Nursery {
|
|
|
1034
1095
|
* Disallows the use of irregular whitespace characters.
|
|
1035
1096
|
*/
|
|
1036
1097
|
noIrregularWhitespace?: RuleConfiguration_for_Null;
|
|
1037
|
-
/**
|
|
1038
|
-
* Disallows the use of irregular whitespace.
|
|
1039
|
-
*/
|
|
1040
|
-
noIrregularWhitespaceCss?: RuleConfiguration_for_Null;
|
|
1041
1098
|
/**
|
|
1042
1099
|
* Enforce that a label element or component has a text label and an associated input.
|
|
1043
1100
|
*/
|
|
@@ -1102,6 +1159,10 @@ interface Nursery {
|
|
|
1102
1159
|
* Disallow unused function parameters.
|
|
1103
1160
|
*/
|
|
1104
1161
|
noUnusedFunctionParameters?: RuleFixConfiguration_for_Null;
|
|
1162
|
+
/**
|
|
1163
|
+
* Disallow unnecessary escape sequence in regular expression literals.
|
|
1164
|
+
*/
|
|
1165
|
+
noUselessEscapeInRegex?: RuleFixConfiguration_for_Null;
|
|
1105
1166
|
/**
|
|
1106
1167
|
* Disallow unnecessary concatenation of string or template literals.
|
|
1107
1168
|
*/
|
|
@@ -1692,7 +1753,7 @@ interface OverrideFormatterConfiguration {
|
|
|
1692
1753
|
/**
|
|
1693
1754
|
* The indent style.
|
|
1694
1755
|
*/
|
|
1695
|
-
indentStyle?:
|
|
1756
|
+
indentStyle?: IndentStyle;
|
|
1696
1757
|
/**
|
|
1697
1758
|
* The size of the indentation, 2 by default
|
|
1698
1759
|
*/
|
|
@@ -1722,9 +1783,13 @@ interface OverrideOrganizeImportsConfiguration {
|
|
|
1722
1783
|
*/
|
|
1723
1784
|
enabled?: boolean;
|
|
1724
1785
|
}
|
|
1786
|
+
type RuleAssistConfiguration = "on" | "off";
|
|
1725
1787
|
type RuleFixConfiguration_for_Null =
|
|
1726
1788
|
| RulePlainConfiguration
|
|
1727
1789
|
| RuleWithFixOptions_for_Null;
|
|
1790
|
+
type RuleFixConfiguration_for_AllowDomainOptions =
|
|
1791
|
+
| RulePlainConfiguration
|
|
1792
|
+
| RuleWithFixOptions_for_AllowDomainOptions;
|
|
1728
1793
|
type RuleConfiguration_for_Null =
|
|
1729
1794
|
| RulePlainConfiguration
|
|
1730
1795
|
| RuleWithOptions_for_Null;
|
|
@@ -1782,6 +1847,20 @@ interface RuleWithFixOptions_for_Null {
|
|
|
1782
1847
|
*/
|
|
1783
1848
|
options: null;
|
|
1784
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
|
+
}
|
|
1785
1864
|
interface RuleWithOptions_for_Null {
|
|
1786
1865
|
/**
|
|
1787
1866
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -1943,6 +2022,12 @@ interface RuleWithFixOptions_for_NamingConventionOptions {
|
|
|
1943
2022
|
options: NamingConventionOptions;
|
|
1944
2023
|
}
|
|
1945
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
|
+
}
|
|
1946
2031
|
interface ValidAriaRoleOptions {
|
|
1947
2032
|
allowInvalidRoles: string[];
|
|
1948
2033
|
ignoreNonDom: boolean;
|
|
@@ -2388,14 +2473,13 @@ type Category =
|
|
|
2388
2473
|
| "lint/nursery/noInvalidDirectionInLinearGradient"
|
|
2389
2474
|
| "lint/nursery/noInvalidPositionAtImportRule"
|
|
2390
2475
|
| "lint/nursery/noIrregularWhitespace"
|
|
2391
|
-
| "lint/nursery/noIrregularWhitespaceCss"
|
|
2392
2476
|
| "lint/nursery/noLabelWithoutControl"
|
|
2393
2477
|
| "lint/nursery/noMisplacedAssertion"
|
|
2394
2478
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
2395
2479
|
| "lint/nursery/noReactSpecificProps"
|
|
2396
2480
|
| "lint/nursery/noRestrictedImports"
|
|
2397
|
-
| "lint/nursery/noStaticElementInteractions"
|
|
2398
2481
|
| "lint/nursery/noShorthandPropertyOverrides"
|
|
2482
|
+
| "lint/nursery/noStaticElementInteractions"
|
|
2399
2483
|
| "lint/nursery/noSubstr"
|
|
2400
2484
|
| "lint/nursery/noUndeclaredDependencies"
|
|
2401
2485
|
| "lint/nursery/noUnknownFunction"
|
|
@@ -2406,6 +2490,7 @@ type Category =
|
|
|
2406
2490
|
| "lint/nursery/noUnknownUnit"
|
|
2407
2491
|
| "lint/nursery/noUnmatchableAnbSelector"
|
|
2408
2492
|
| "lint/nursery/noUnusedFunctionParameters"
|
|
2493
|
+
| "lint/nursery/noUselessEscapeInRegex"
|
|
2409
2494
|
| "lint/nursery/noUselessStringConcat"
|
|
2410
2495
|
| "lint/nursery/noUselessUndefinedInitialization"
|
|
2411
2496
|
| "lint/nursery/noValueAtRule"
|
|
@@ -2539,7 +2624,7 @@ type Category =
|
|
|
2539
2624
|
| "lint/suspicious/useIsArray"
|
|
2540
2625
|
| "lint/suspicious/useNamespaceKeyword"
|
|
2541
2626
|
| "lint/suspicious/useValidTypeof"
|
|
2542
|
-
| "assists/
|
|
2627
|
+
| "assists/source/useSortedKeys"
|
|
2543
2628
|
| "syntax/nursery/noTypeOnlyImportAttributes"
|
|
2544
2629
|
| "syntax/correctness/noSuperWithoutExtends"
|
|
2545
2630
|
| "syntax/correctness/noInitializerWithDefinite"
|
|
@@ -2550,6 +2635,7 @@ type Category =
|
|
|
2550
2635
|
| "ci"
|
|
2551
2636
|
| "configuration"
|
|
2552
2637
|
| "organizeImports"
|
|
2638
|
+
| "assists"
|
|
2553
2639
|
| "migrate"
|
|
2554
2640
|
| "deserialize"
|
|
2555
2641
|
| "project"
|
|
@@ -2638,8 +2724,10 @@ interface BacktraceSymbol {
|
|
|
2638
2724
|
name?: string;
|
|
2639
2725
|
}
|
|
2640
2726
|
interface PullActionsParams {
|
|
2727
|
+
only: RuleCode[];
|
|
2641
2728
|
path: BiomePath;
|
|
2642
|
-
range
|
|
2729
|
+
range?: TextRange;
|
|
2730
|
+
skip: RuleCode[];
|
|
2643
2731
|
}
|
|
2644
2732
|
interface PullActionsResult {
|
|
2645
2733
|
actions: CodeAction[];
|
|
@@ -2704,6 +2792,7 @@ interface FixFileParams {
|
|
|
2704
2792
|
fix_file_mode: FixFileMode;
|
|
2705
2793
|
only: RuleCode[];
|
|
2706
2794
|
path: BiomePath;
|
|
2795
|
+
rule_categories: RuleCategories;
|
|
2707
2796
|
should_format: boolean;
|
|
2708
2797
|
skip: RuleCode[];
|
|
2709
2798
|
}
|
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
|
|
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
|
|
42
|
-
if (
|
|
43
|
-
|
|
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
|
|
37
|
+
return cachedDataViewMemory0;
|
|
46
38
|
}
|
|
47
39
|
|
|
48
40
|
let WASM_VECTOR_LEN = 0;
|
|
49
41
|
|
|
50
|
-
let
|
|
42
|
+
let cachedUint8ArrayMemory0 = null;
|
|
51
43
|
|
|
52
|
-
function
|
|
53
|
-
if (
|
|
54
|
-
|
|
44
|
+
function getUint8ArrayMemory0() {
|
|
45
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
46
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
55
47
|
}
|
|
56
|
-
return
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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(
|
|
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 =
|
|
257
|
-
var r1 =
|
|
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 =
|
|
273
|
-
var r1 =
|
|
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 =
|
|
292
|
-
var r1 =
|
|
293
|
-
var r2 =
|
|
294
|
-
var r3 =
|
|
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 =
|
|
346
|
-
var r1 =
|
|
347
|
-
var r2 =
|
|
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 =
|
|
364
|
-
var r1 =
|
|
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 =
|
|
381
|
-
var r1 =
|
|
382
|
-
var r2 =
|
|
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 =
|
|
399
|
-
var r1 =
|
|
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 =
|
|
418
|
-
var r1 =
|
|
419
|
-
var r2 =
|
|
420
|
-
var r3 =
|
|
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 =
|
|
444
|
-
var r1 =
|
|
445
|
-
var r2 =
|
|
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 =
|
|
465
|
-
var r1 =
|
|
466
|
-
var r2 =
|
|
467
|
-
var r3 =
|
|
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 =
|
|
493
|
-
var r1 =
|
|
494
|
-
var r2 =
|
|
495
|
-
var r3 =
|
|
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 =
|
|
518
|
-
var r1 =
|
|
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 =
|
|
534
|
-
var r1 =
|
|
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 =
|
|
551
|
-
var r1 =
|
|
552
|
-
var r2 =
|
|
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 =
|
|
570
|
-
var r1 =
|
|
571
|
-
var r2 =
|
|
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 =
|
|
589
|
-
var r1 =
|
|
590
|
-
var r2 =
|
|
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 =
|
|
608
|
-
var r1 =
|
|
609
|
-
var r2 =
|
|
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 =
|
|
627
|
-
var r1 =
|
|
628
|
-
var r2 =
|
|
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 =
|
|
646
|
-
var r1 =
|
|
647
|
-
var r2 =
|
|
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 =
|
|
665
|
-
var r1 =
|
|
666
|
-
var r2 =
|
|
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 =
|
|
684
|
-
var r1 =
|
|
685
|
-
var r2 =
|
|
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
|
-
|
|
726
|
-
|
|
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
|
-
|
|
735
|
-
|
|
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
|
-
|
|
808
|
-
|
|
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
|
-
|
|
821
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
986
|
-
|
|
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
|
-
|
|
994
|
-
|
|
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) {
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED