@biomejs/wasm-web 2.2.5 → 2.2.7
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 +86 -0
- package/biome_wasm.js +134 -116
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1492,6 +1492,10 @@ interface Nursery {
|
|
|
1492
1492
|
* Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
|
|
1493
1493
|
*/
|
|
1494
1494
|
noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
|
|
1495
|
+
/**
|
|
1496
|
+
* Disallow empty sources.
|
|
1497
|
+
*/
|
|
1498
|
+
noEmptySource?: RuleConfiguration_for_NoEmptySourceOptions;
|
|
1495
1499
|
/**
|
|
1496
1500
|
* Require Promise-like statements to be handled appropriately.
|
|
1497
1501
|
*/
|
|
@@ -1584,6 +1588,10 @@ interface Nursery {
|
|
|
1584
1588
|
* Enforce type definitions to consistently use either interface or type.
|
|
1585
1589
|
*/
|
|
1586
1590
|
useConsistentTypeDefinitions?: RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions;
|
|
1591
|
+
/**
|
|
1592
|
+
* Require the @deprecated directive to specify a deletion date.
|
|
1593
|
+
*/
|
|
1594
|
+
useDeprecatedDate?: RuleConfiguration_for_UseDeprecatedDateOptions;
|
|
1587
1595
|
/**
|
|
1588
1596
|
* Require switch-case statements to be exhaustive.
|
|
1589
1597
|
*/
|
|
@@ -1604,6 +1612,14 @@ interface Nursery {
|
|
|
1604
1612
|
* Prefer using the class prop as a classlist over the classnames helper.
|
|
1605
1613
|
*/
|
|
1606
1614
|
useQwikClasslist?: RuleConfiguration_for_UseQwikClasslistOptions;
|
|
1615
|
+
/**
|
|
1616
|
+
* Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
|
|
1617
|
+
*/
|
|
1618
|
+
useQwikMethodUsage?: RuleConfiguration_for_UseQwikMethodUsageOptions;
|
|
1619
|
+
/**
|
|
1620
|
+
* Disallow unserializable expressions in Qwik dollar ($) scopes.
|
|
1621
|
+
*/
|
|
1622
|
+
useQwikValidLexicalScope?: RuleConfiguration_for_UseQwikValidLexicalScopeOptions;
|
|
1607
1623
|
/**
|
|
1608
1624
|
* Enforce that components are defined as functions and never as classes.
|
|
1609
1625
|
*/
|
|
@@ -2847,6 +2863,9 @@ type RuleConfiguration_for_NoDeprecatedImportsOptions =
|
|
|
2847
2863
|
type RuleConfiguration_for_NoDuplicateDependenciesOptions =
|
|
2848
2864
|
| RulePlainConfiguration
|
|
2849
2865
|
| RuleWithOptions_for_NoDuplicateDependenciesOptions;
|
|
2866
|
+
type RuleConfiguration_for_NoEmptySourceOptions =
|
|
2867
|
+
| RulePlainConfiguration
|
|
2868
|
+
| RuleWithOptions_for_NoEmptySourceOptions;
|
|
2850
2869
|
type RuleFixConfiguration_for_NoFloatingPromisesOptions =
|
|
2851
2870
|
| RulePlainConfiguration
|
|
2852
2871
|
| RuleWithFixOptions_for_NoFloatingPromisesOptions;
|
|
@@ -2913,6 +2932,9 @@ type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
|
|
|
2913
2932
|
type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
|
|
2914
2933
|
| RulePlainConfiguration
|
|
2915
2934
|
| RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
|
|
2935
|
+
type RuleConfiguration_for_UseDeprecatedDateOptions =
|
|
2936
|
+
| RulePlainConfiguration
|
|
2937
|
+
| RuleWithOptions_for_UseDeprecatedDateOptions;
|
|
2916
2938
|
type RuleFixConfiguration_for_UseExhaustiveSwitchCasesOptions =
|
|
2917
2939
|
| RulePlainConfiguration
|
|
2918
2940
|
| RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions;
|
|
@@ -2928,6 +2950,12 @@ type RuleConfiguration_for_UseMaxParamsOptions =
|
|
|
2928
2950
|
type RuleConfiguration_for_UseQwikClasslistOptions =
|
|
2929
2951
|
| RulePlainConfiguration
|
|
2930
2952
|
| RuleWithOptions_for_UseQwikClasslistOptions;
|
|
2953
|
+
type RuleConfiguration_for_UseQwikMethodUsageOptions =
|
|
2954
|
+
| RulePlainConfiguration
|
|
2955
|
+
| RuleWithOptions_for_UseQwikMethodUsageOptions;
|
|
2956
|
+
type RuleConfiguration_for_UseQwikValidLexicalScopeOptions =
|
|
2957
|
+
| RulePlainConfiguration
|
|
2958
|
+
| RuleWithOptions_for_UseQwikValidLexicalScopeOptions;
|
|
2931
2959
|
type RuleConfiguration_for_UseReactFunctionComponentsOptions =
|
|
2932
2960
|
| RulePlainConfiguration
|
|
2933
2961
|
| RuleWithOptions_for_UseReactFunctionComponentsOptions;
|
|
@@ -5242,6 +5270,16 @@ interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
|
|
|
5242
5270
|
*/
|
|
5243
5271
|
options: NoDuplicateDependenciesOptions;
|
|
5244
5272
|
}
|
|
5273
|
+
interface RuleWithOptions_for_NoEmptySourceOptions {
|
|
5274
|
+
/**
|
|
5275
|
+
* The severity of the emitted diagnostics by the rule
|
|
5276
|
+
*/
|
|
5277
|
+
level: RulePlainConfiguration;
|
|
5278
|
+
/**
|
|
5279
|
+
* Rule's options
|
|
5280
|
+
*/
|
|
5281
|
+
options: NoEmptySourceOptions;
|
|
5282
|
+
}
|
|
5245
5283
|
interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
5246
5284
|
/**
|
|
5247
5285
|
* The kind of the code actions emitted by the rule
|
|
@@ -5494,6 +5532,16 @@ interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
|
5494
5532
|
*/
|
|
5495
5533
|
options: UseConsistentTypeDefinitionsOptions;
|
|
5496
5534
|
}
|
|
5535
|
+
interface RuleWithOptions_for_UseDeprecatedDateOptions {
|
|
5536
|
+
/**
|
|
5537
|
+
* The severity of the emitted diagnostics by the rule
|
|
5538
|
+
*/
|
|
5539
|
+
level: RulePlainConfiguration;
|
|
5540
|
+
/**
|
|
5541
|
+
* Rule's options
|
|
5542
|
+
*/
|
|
5543
|
+
options: UseDeprecatedDateOptions;
|
|
5544
|
+
}
|
|
5497
5545
|
interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
|
|
5498
5546
|
/**
|
|
5499
5547
|
* The kind of the code actions emitted by the rule
|
|
@@ -5548,6 +5596,26 @@ interface RuleWithOptions_for_UseQwikClasslistOptions {
|
|
|
5548
5596
|
*/
|
|
5549
5597
|
options: UseQwikClasslistOptions;
|
|
5550
5598
|
}
|
|
5599
|
+
interface RuleWithOptions_for_UseQwikMethodUsageOptions {
|
|
5600
|
+
/**
|
|
5601
|
+
* The severity of the emitted diagnostics by the rule
|
|
5602
|
+
*/
|
|
5603
|
+
level: RulePlainConfiguration;
|
|
5604
|
+
/**
|
|
5605
|
+
* Rule's options
|
|
5606
|
+
*/
|
|
5607
|
+
options: UseQwikMethodUsageOptions;
|
|
5608
|
+
}
|
|
5609
|
+
interface RuleWithOptions_for_UseQwikValidLexicalScopeOptions {
|
|
5610
|
+
/**
|
|
5611
|
+
* The severity of the emitted diagnostics by the rule
|
|
5612
|
+
*/
|
|
5613
|
+
level: RulePlainConfiguration;
|
|
5614
|
+
/**
|
|
5615
|
+
* Rule's options
|
|
5616
|
+
*/
|
|
5617
|
+
options: UseQwikValidLexicalScopeOptions;
|
|
5618
|
+
}
|
|
5551
5619
|
interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
5552
5620
|
/**
|
|
5553
5621
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7976,6 +8044,12 @@ interface UseValidTypeofOptions {}
|
|
|
7976
8044
|
interface UseYieldOptions {}
|
|
7977
8045
|
interface NoDeprecatedImportsOptions {}
|
|
7978
8046
|
interface NoDuplicateDependenciesOptions {}
|
|
8047
|
+
interface NoEmptySourceOptions {
|
|
8048
|
+
/**
|
|
8049
|
+
* Whether comments are considered meaningful
|
|
8050
|
+
*/
|
|
8051
|
+
allowComments?: boolean;
|
|
8052
|
+
}
|
|
7979
8053
|
interface NoFloatingPromisesOptions {}
|
|
7980
8054
|
interface NoImportCyclesOptions {
|
|
7981
8055
|
/**
|
|
@@ -8034,6 +8108,9 @@ This option is only applicable when used in conjunction with the `asNeeded` opti
|
|
|
8034
8108
|
interface UseConsistentTypeDefinitionsOptions {
|
|
8035
8109
|
style?: ConsistentTypeDefinition;
|
|
8036
8110
|
}
|
|
8111
|
+
interface UseDeprecatedDateOptions {
|
|
8112
|
+
argumentName?: string;
|
|
8113
|
+
}
|
|
8037
8114
|
interface UseExhaustiveSwitchCasesOptions {}
|
|
8038
8115
|
interface UseExplicitTypeOptions {}
|
|
8039
8116
|
type UseImageSizeOptions = null;
|
|
@@ -8044,6 +8121,8 @@ interface UseMaxParamsOptions {
|
|
|
8044
8121
|
max?: number;
|
|
8045
8122
|
}
|
|
8046
8123
|
interface UseQwikClasslistOptions {}
|
|
8124
|
+
interface UseQwikMethodUsageOptions {}
|
|
8125
|
+
interface UseQwikValidLexicalScopeOptions {}
|
|
8047
8126
|
interface UseReactFunctionComponentsOptions {}
|
|
8048
8127
|
interface UseSortedClassesOptions {
|
|
8049
8128
|
/**
|
|
@@ -8716,6 +8795,7 @@ type Category =
|
|
|
8716
8795
|
| "lint/nursery/noColorInvalidHex"
|
|
8717
8796
|
| "lint/nursery/noDeprecatedImports"
|
|
8718
8797
|
| "lint/nursery/noDuplicateDependencies"
|
|
8798
|
+
| "lint/nursery/noEmptySource"
|
|
8719
8799
|
| "lint/nursery/noFloatingPromises"
|
|
8720
8800
|
| "lint/nursery/noImplicitCoercion"
|
|
8721
8801
|
| "lint/nursery/noImportCycles"
|
|
@@ -8744,6 +8824,7 @@ type Category =
|
|
|
8744
8824
|
| "lint/nursery/useConsistentArrowReturn"
|
|
8745
8825
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
8746
8826
|
| "lint/nursery/useConsistentTypeDefinitions"
|
|
8827
|
+
| "lint/nursery/useDeprecatedDate"
|
|
8747
8828
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8748
8829
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
8749
8830
|
| "lint/nursery/useExplicitType"
|
|
@@ -8752,6 +8833,8 @@ type Category =
|
|
|
8752
8833
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8753
8834
|
| "lint/nursery/useMaxParams"
|
|
8754
8835
|
| "lint/nursery/useQwikClasslist"
|
|
8836
|
+
| "lint/nursery/useQwikMethodUsage"
|
|
8837
|
+
| "lint/nursery/useQwikValidLexicalScope"
|
|
8755
8838
|
| "lint/nursery/useReactFunctionComponents"
|
|
8756
8839
|
| "lint/nursery/useSortedClasses"
|
|
8757
8840
|
| "lint/nursery/useVueMultiWordComponentNames"
|
|
@@ -9479,6 +9562,7 @@ interface DropPatternParams {
|
|
|
9479
9562
|
|
|
9480
9563
|
export class DiagnosticPrinter {
|
|
9481
9564
|
free(): void;
|
|
9565
|
+
[Symbol.dispose](): void;
|
|
9482
9566
|
constructor(file_name: string, file_source: string);
|
|
9483
9567
|
print_simple(diagnostic: Diagnostic): void;
|
|
9484
9568
|
print_verbose(diagnostic: Diagnostic): void;
|
|
@@ -9486,12 +9570,14 @@ export class DiagnosticPrinter {
|
|
|
9486
9570
|
}
|
|
9487
9571
|
export class MemoryFileSystem {
|
|
9488
9572
|
free(): void;
|
|
9573
|
+
[Symbol.dispose](): void;
|
|
9489
9574
|
constructor();
|
|
9490
9575
|
insert(path: string, data: Uint8Array): void;
|
|
9491
9576
|
remove(path: string): void;
|
|
9492
9577
|
}
|
|
9493
9578
|
export class Workspace {
|
|
9494
9579
|
free(): void;
|
|
9580
|
+
[Symbol.dispose](): void;
|
|
9495
9581
|
constructor();
|
|
9496
9582
|
static withFileSystem(fs: MemoryFileSystem): Workspace;
|
|
9497
9583
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
package/biome_wasm.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
let WASM_VECTOR_LEN = 0;
|
|
4
|
-
|
|
5
3
|
let cachedUint8ArrayMemory0 = null;
|
|
6
4
|
|
|
7
5
|
function getUint8ArrayMemory0() {
|
|
@@ -11,20 +9,41 @@ function getUint8ArrayMemory0() {
|
|
|
11
9
|
return cachedUint8ArrayMemory0;
|
|
12
10
|
}
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
13
|
+
|
|
14
|
+
cachedTextDecoder.decode();
|
|
15
15
|
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
17
|
+
let numBytesDecoded = 0;
|
|
18
|
+
function decodeText(ptr, len) {
|
|
19
|
+
numBytesDecoded += len;
|
|
20
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
21
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
22
|
+
cachedTextDecoder.decode();
|
|
23
|
+
numBytesDecoded = len;
|
|
24
|
+
}
|
|
25
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function getStringFromWasm0(ptr, len) {
|
|
29
|
+
ptr = ptr >>> 0;
|
|
30
|
+
return decodeText(ptr, len);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
let WASM_VECTOR_LEN = 0;
|
|
34
|
+
|
|
35
|
+
const cachedTextEncoder = new TextEncoder();
|
|
36
|
+
|
|
37
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
38
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
39
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
40
|
+
view.set(buf);
|
|
41
|
+
return {
|
|
42
|
+
read: arg.length,
|
|
43
|
+
written: buf.length
|
|
44
|
+
};
|
|
45
|
+
}
|
|
19
46
|
}
|
|
20
|
-
: function (arg, view) {
|
|
21
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
22
|
-
view.set(buf);
|
|
23
|
-
return {
|
|
24
|
-
read: arg.length,
|
|
25
|
-
written: buf.length
|
|
26
|
-
};
|
|
27
|
-
});
|
|
28
47
|
|
|
29
48
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
30
49
|
|
|
@@ -55,7 +74,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
55
74
|
}
|
|
56
75
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
57
76
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
58
|
-
const ret =
|
|
77
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
59
78
|
|
|
60
79
|
offset += ret.written;
|
|
61
80
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -89,13 +108,9 @@ function handleError(f, args) {
|
|
|
89
108
|
}
|
|
90
109
|
}
|
|
91
110
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
95
|
-
|
|
96
|
-
function getStringFromWasm0(ptr, len) {
|
|
111
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
97
112
|
ptr = ptr >>> 0;
|
|
98
|
-
return
|
|
113
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
99
114
|
}
|
|
100
115
|
|
|
101
116
|
function isLikeNone(x) {
|
|
@@ -262,6 +277,7 @@ export class DiagnosticPrinter {
|
|
|
262
277
|
}
|
|
263
278
|
}
|
|
264
279
|
}
|
|
280
|
+
if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
|
|
265
281
|
|
|
266
282
|
const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
267
283
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -306,6 +322,7 @@ export class MemoryFileSystem {
|
|
|
306
322
|
wasm.memoryfilesystem_remove(this.__wbg_ptr, ptr0, len0);
|
|
307
323
|
}
|
|
308
324
|
}
|
|
325
|
+
if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
|
|
309
326
|
|
|
310
327
|
const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
311
328
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -685,6 +702,9 @@ export class Workspace {
|
|
|
685
702
|
return takeFromExternrefTable0(ret[0]);
|
|
686
703
|
}
|
|
687
704
|
}
|
|
705
|
+
if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
|
|
706
|
+
|
|
707
|
+
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
688
708
|
|
|
689
709
|
async function __wbg_load(module, imports) {
|
|
690
710
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
@@ -693,7 +713,9 @@ async function __wbg_load(module, imports) {
|
|
|
693
713
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
694
714
|
|
|
695
715
|
} catch (e) {
|
|
696
|
-
|
|
716
|
+
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
717
|
+
|
|
718
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
697
719
|
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
698
720
|
|
|
699
721
|
} else {
|
|
@@ -720,6 +742,14 @@ async function __wbg_load(module, imports) {
|
|
|
720
742
|
function __wbg_get_imports() {
|
|
721
743
|
const imports = {};
|
|
722
744
|
imports.wbg = {};
|
|
745
|
+
imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
|
|
746
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
747
|
+
return ret;
|
|
748
|
+
};
|
|
749
|
+
imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
|
|
750
|
+
const ret = Number(arg0);
|
|
751
|
+
return ret;
|
|
752
|
+
};
|
|
723
753
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
724
754
|
const ret = String(arg1);
|
|
725
755
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -727,19 +757,15 @@ function __wbg_get_imports() {
|
|
|
727
757
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
728
758
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
729
759
|
};
|
|
730
|
-
imports.wbg.
|
|
731
|
-
const ret = arg0.buffer;
|
|
732
|
-
return ret;
|
|
733
|
-
};
|
|
734
|
-
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
760
|
+
imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
|
|
735
761
|
const ret = arg0.call(arg1);
|
|
736
762
|
return ret;
|
|
737
763
|
}, arguments) };
|
|
738
|
-
imports.wbg.
|
|
764
|
+
imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
|
|
739
765
|
const ret = arg0.done;
|
|
740
766
|
return ret;
|
|
741
767
|
};
|
|
742
|
-
imports.wbg.
|
|
768
|
+
imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
|
|
743
769
|
const ret = Object.entries(arg0);
|
|
744
770
|
return ret;
|
|
745
771
|
};
|
|
@@ -754,19 +780,19 @@ function __wbg_get_imports() {
|
|
|
754
780
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
755
781
|
}
|
|
756
782
|
};
|
|
757
|
-
imports.wbg.
|
|
758
|
-
const ret = Reflect.get(arg0, arg1);
|
|
759
|
-
return ret;
|
|
760
|
-
}, arguments) };
|
|
761
|
-
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
783
|
+
imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
|
|
762
784
|
const ret = arg0[arg1 >>> 0];
|
|
763
785
|
return ret;
|
|
764
786
|
};
|
|
787
|
+
imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
|
|
788
|
+
const ret = Reflect.get(arg0, arg1);
|
|
789
|
+
return ret;
|
|
790
|
+
}, arguments) };
|
|
765
791
|
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
766
792
|
const ret = arg0[arg1];
|
|
767
793
|
return ret;
|
|
768
794
|
};
|
|
769
|
-
imports.wbg.
|
|
795
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
|
|
770
796
|
let result;
|
|
771
797
|
try {
|
|
772
798
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -776,7 +802,7 @@ function __wbg_get_imports() {
|
|
|
776
802
|
const ret = result;
|
|
777
803
|
return ret;
|
|
778
804
|
};
|
|
779
|
-
imports.wbg.
|
|
805
|
+
imports.wbg.__wbg_instanceof_Map_ebb01a5b6b5ffd0b = function(arg0) {
|
|
780
806
|
let result;
|
|
781
807
|
try {
|
|
782
808
|
result = arg0 instanceof Map;
|
|
@@ -786,7 +812,7 @@ function __wbg_get_imports() {
|
|
|
786
812
|
const ret = result;
|
|
787
813
|
return ret;
|
|
788
814
|
};
|
|
789
|
-
imports.wbg.
|
|
815
|
+
imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
|
|
790
816
|
let result;
|
|
791
817
|
try {
|
|
792
818
|
result = arg0 instanceof Uint8Array;
|
|
@@ -796,59 +822,59 @@ function __wbg_get_imports() {
|
|
|
796
822
|
const ret = result;
|
|
797
823
|
return ret;
|
|
798
824
|
};
|
|
799
|
-
imports.wbg.
|
|
825
|
+
imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) {
|
|
800
826
|
const ret = Array.isArray(arg0);
|
|
801
827
|
return ret;
|
|
802
828
|
};
|
|
803
|
-
imports.wbg.
|
|
829
|
+
imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
|
|
804
830
|
const ret = Number.isSafeInteger(arg0);
|
|
805
831
|
return ret;
|
|
806
832
|
};
|
|
807
|
-
imports.wbg.
|
|
833
|
+
imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
|
|
808
834
|
const ret = Symbol.iterator;
|
|
809
835
|
return ret;
|
|
810
836
|
};
|
|
811
|
-
imports.wbg.
|
|
837
|
+
imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
|
|
812
838
|
const ret = arg0.length;
|
|
813
839
|
return ret;
|
|
814
840
|
};
|
|
815
|
-
imports.wbg.
|
|
841
|
+
imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
|
|
816
842
|
const ret = arg0.length;
|
|
817
843
|
return ret;
|
|
818
844
|
};
|
|
819
|
-
imports.wbg.
|
|
845
|
+
imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
|
|
820
846
|
const ret = new Object();
|
|
821
847
|
return ret;
|
|
822
848
|
};
|
|
823
|
-
imports.wbg.
|
|
849
|
+
imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
|
|
850
|
+
const ret = new Array();
|
|
851
|
+
return ret;
|
|
852
|
+
};
|
|
853
|
+
imports.wbg.__wbg_new_2ff1f68f3676ea53 = function() {
|
|
824
854
|
const ret = new Map();
|
|
825
855
|
return ret;
|
|
826
856
|
};
|
|
827
|
-
imports.wbg.
|
|
828
|
-
const ret = new
|
|
857
|
+
imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
|
|
858
|
+
const ret = new Uint8Array(arg0);
|
|
829
859
|
return ret;
|
|
830
860
|
};
|
|
831
861
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
832
862
|
const ret = new Error();
|
|
833
863
|
return ret;
|
|
834
864
|
};
|
|
835
|
-
imports.wbg.
|
|
836
|
-
const ret = new Uint8Array(arg0);
|
|
837
|
-
return ret;
|
|
838
|
-
};
|
|
839
|
-
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
865
|
+
imports.wbg.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) {
|
|
840
866
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
841
867
|
return ret;
|
|
842
868
|
};
|
|
843
|
-
imports.wbg.
|
|
869
|
+
imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
|
|
844
870
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
845
871
|
return ret;
|
|
846
872
|
};
|
|
847
|
-
imports.wbg.
|
|
873
|
+
imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
|
|
848
874
|
const ret = arg0.next;
|
|
849
875
|
return ret;
|
|
850
876
|
};
|
|
851
|
-
imports.wbg.
|
|
877
|
+
imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
|
|
852
878
|
const ret = arg0.next();
|
|
853
879
|
return ret;
|
|
854
880
|
}, arguments) };
|
|
@@ -860,16 +886,16 @@ function __wbg_get_imports() {
|
|
|
860
886
|
const ret = arg0.performance;
|
|
861
887
|
return ret;
|
|
862
888
|
};
|
|
863
|
-
imports.wbg.
|
|
864
|
-
arg0
|
|
889
|
+
imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
|
|
890
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
865
891
|
};
|
|
866
892
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
867
893
|
arg0[arg1] = arg2;
|
|
868
894
|
};
|
|
869
|
-
imports.wbg.
|
|
870
|
-
arg0
|
|
895
|
+
imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
|
|
896
|
+
arg0[arg1 >>> 0] = arg2;
|
|
871
897
|
};
|
|
872
|
-
imports.wbg.
|
|
898
|
+
imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
|
|
873
899
|
const ret = arg0.set(arg1, arg2);
|
|
874
900
|
return ret;
|
|
875
901
|
};
|
|
@@ -880,118 +906,84 @@ function __wbg_get_imports() {
|
|
|
880
906
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
881
907
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
882
908
|
};
|
|
883
|
-
imports.wbg.
|
|
909
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
|
|
884
910
|
const ret = typeof global === 'undefined' ? null : global;
|
|
885
911
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
886
912
|
};
|
|
887
|
-
imports.wbg.
|
|
913
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
|
|
888
914
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
889
915
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
890
916
|
};
|
|
891
|
-
imports.wbg.
|
|
917
|
+
imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
|
|
892
918
|
const ret = typeof self === 'undefined' ? null : self;
|
|
893
919
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
894
920
|
};
|
|
895
|
-
imports.wbg.
|
|
921
|
+
imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
|
|
896
922
|
const ret = typeof window === 'undefined' ? null : window;
|
|
897
923
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
898
924
|
};
|
|
899
|
-
imports.wbg.
|
|
925
|
+
imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
|
|
900
926
|
const ret = arg0.value;
|
|
901
927
|
return ret;
|
|
902
928
|
};
|
|
903
|
-
imports.wbg.
|
|
904
|
-
const ret = +arg0;
|
|
905
|
-
return ret;
|
|
906
|
-
};
|
|
907
|
-
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
908
|
-
const ret = arg0;
|
|
909
|
-
return ret;
|
|
910
|
-
};
|
|
911
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
912
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
913
|
-
return ret;
|
|
914
|
-
};
|
|
915
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
929
|
+
imports.wbg.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
|
|
916
930
|
const v = arg1;
|
|
917
931
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
918
932
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
919
933
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
920
934
|
};
|
|
921
|
-
imports.wbg.
|
|
935
|
+
imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
922
936
|
const v = arg0;
|
|
923
|
-
const ret = typeof(v) === 'boolean' ?
|
|
924
|
-
return ret;
|
|
937
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
938
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
925
939
|
};
|
|
926
|
-
imports.wbg.
|
|
940
|
+
imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
927
941
|
const ret = debugString(arg1);
|
|
928
942
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
929
943
|
const len1 = WASM_VECTOR_LEN;
|
|
930
944
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
931
945
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
932
946
|
};
|
|
933
|
-
imports.wbg.
|
|
934
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
935
|
-
return ret;
|
|
936
|
-
};
|
|
937
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
947
|
+
imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
|
|
938
948
|
const ret = arg0 in arg1;
|
|
939
949
|
return ret;
|
|
940
950
|
};
|
|
941
|
-
imports.wbg.
|
|
942
|
-
const table = wasm.__wbindgen_export_4;
|
|
943
|
-
const offset = table.grow(4);
|
|
944
|
-
table.set(0, undefined);
|
|
945
|
-
table.set(offset + 0, undefined);
|
|
946
|
-
table.set(offset + 1, null);
|
|
947
|
-
table.set(offset + 2, true);
|
|
948
|
-
table.set(offset + 3, false);
|
|
949
|
-
;
|
|
950
|
-
};
|
|
951
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
951
|
+
imports.wbg.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
|
|
952
952
|
const ret = typeof(arg0) === 'bigint';
|
|
953
953
|
return ret;
|
|
954
954
|
};
|
|
955
|
-
imports.wbg.
|
|
955
|
+
imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
956
956
|
const ret = typeof(arg0) === 'function';
|
|
957
957
|
return ret;
|
|
958
958
|
};
|
|
959
|
-
imports.wbg.
|
|
959
|
+
imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
|
|
960
960
|
const val = arg0;
|
|
961
961
|
const ret = typeof(val) === 'object' && val !== null;
|
|
962
962
|
return ret;
|
|
963
963
|
};
|
|
964
|
-
imports.wbg.
|
|
964
|
+
imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
|
|
965
965
|
const ret = typeof(arg0) === 'string';
|
|
966
966
|
return ret;
|
|
967
967
|
};
|
|
968
|
-
imports.wbg.
|
|
968
|
+
imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
|
|
969
969
|
const ret = arg0 === undefined;
|
|
970
970
|
return ret;
|
|
971
971
|
};
|
|
972
|
-
imports.wbg.
|
|
972
|
+
imports.wbg.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
|
|
973
973
|
const ret = arg0 === arg1;
|
|
974
974
|
return ret;
|
|
975
975
|
};
|
|
976
|
-
imports.wbg.
|
|
976
|
+
imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
|
|
977
977
|
const ret = arg0 == arg1;
|
|
978
978
|
return ret;
|
|
979
979
|
};
|
|
980
|
-
imports.wbg.
|
|
981
|
-
const ret = wasm.memory;
|
|
982
|
-
return ret;
|
|
983
|
-
};
|
|
984
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
980
|
+
imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
|
|
985
981
|
const obj = arg1;
|
|
986
982
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
987
983
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
988
984
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
989
985
|
};
|
|
990
|
-
imports.wbg.
|
|
991
|
-
const ret = arg0;
|
|
992
|
-
return ret;
|
|
993
|
-
};
|
|
994
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
986
|
+
imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
995
987
|
const obj = arg1;
|
|
996
988
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
997
989
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -999,12 +991,38 @@ function __wbg_get_imports() {
|
|
|
999
991
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1000
992
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1001
993
|
};
|
|
1002
|
-
imports.wbg.
|
|
994
|
+
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
995
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
996
|
+
};
|
|
997
|
+
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
998
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1003
999
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1004
1000
|
return ret;
|
|
1005
1001
|
};
|
|
1006
|
-
imports.wbg.
|
|
1007
|
-
|
|
1002
|
+
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1003
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1004
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1005
|
+
return ret;
|
|
1006
|
+
};
|
|
1007
|
+
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1008
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
1009
|
+
const ret = arg0;
|
|
1010
|
+
return ret;
|
|
1011
|
+
};
|
|
1012
|
+
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1013
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
1014
|
+
const ret = arg0;
|
|
1015
|
+
return ret;
|
|
1016
|
+
};
|
|
1017
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1018
|
+
const table = wasm.__wbindgen_export_4;
|
|
1019
|
+
const offset = table.grow(4);
|
|
1020
|
+
table.set(0, undefined);
|
|
1021
|
+
table.set(offset + 0, undefined);
|
|
1022
|
+
table.set(offset + 1, null);
|
|
1023
|
+
table.set(offset + 2, true);
|
|
1024
|
+
table.set(offset + 3, false);
|
|
1025
|
+
;
|
|
1008
1026
|
};
|
|
1009
1027
|
|
|
1010
1028
|
return imports;
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|