@biomejs/wasm-web 2.3.10 → 2.3.11
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 +281 -2
- package/biome_wasm.js +160 -180
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function main(): void;
|
|
4
3
|
interface SupportsFeatureParams {
|
|
5
4
|
features: FeatureName;
|
|
6
5
|
path: BiomePath;
|
|
7
6
|
projectKey: ProjectKey;
|
|
7
|
+
skipIgnoreCheck?: boolean;
|
|
8
8
|
}
|
|
9
9
|
type FeatureName = FeatureKind[];
|
|
10
10
|
type BiomePath = string;
|
|
@@ -1709,6 +1709,11 @@ See <https://biomejs.dev/linter/rules/no-ambiguous-anchor-text>
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
|
|
1711
1711
|
/**
|
|
1712
|
+
* Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
|
|
1713
|
+
See <https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document>
|
|
1714
|
+
*/
|
|
1715
|
+
noBeforeInteractiveScriptOutsideDocument?: NoBeforeInteractiveScriptOutsideDocumentConfiguration;
|
|
1716
|
+
/**
|
|
1712
1717
|
* Disallow continue statements.
|
|
1713
1718
|
See <https://biomejs.dev/linter/rules/no-continue>
|
|
1714
1719
|
*/
|
|
@@ -1764,6 +1769,11 @@ See <https://biomejs.dev/linter/rules/no-jsx-literals>
|
|
|
1764
1769
|
*/
|
|
1765
1770
|
noJsxLiterals?: NoJsxLiteralsConfiguration;
|
|
1766
1771
|
/**
|
|
1772
|
+
* Disallow .bind(), arrow functions, or function expressions in JSX props.
|
|
1773
|
+
See <https://biomejs.dev/linter/rules/no-jsx-props-bind>
|
|
1774
|
+
*/
|
|
1775
|
+
noJsxPropsBind?: NoJsxPropsBindConfiguration;
|
|
1776
|
+
/**
|
|
1767
1777
|
* Prevent problematic leaked values from being rendered.
|
|
1768
1778
|
See <https://biomejs.dev/linter/rules/no-leaked-render>
|
|
1769
1779
|
*/
|
|
@@ -1774,6 +1784,11 @@ See <https://biomejs.dev/linter/rules/no-misused-promises>
|
|
|
1774
1784
|
*/
|
|
1775
1785
|
noMisusedPromises?: NoMisusedPromisesConfiguration;
|
|
1776
1786
|
/**
|
|
1787
|
+
* Disallow use of chained assignment expressions.
|
|
1788
|
+
See <https://biomejs.dev/linter/rules/no-multi-assign>
|
|
1789
|
+
*/
|
|
1790
|
+
noMultiAssign?: NoMultiAssignConfiguration;
|
|
1791
|
+
/**
|
|
1777
1792
|
* Disallow creating multiline strings by escaping newlines.
|
|
1778
1793
|
See <https://biomejs.dev/linter/rules/no-multi-str>
|
|
1779
1794
|
*/
|
|
@@ -1799,6 +1814,11 @@ See <https://biomejs.dev/linter/rules/no-react-forward-ref>
|
|
|
1799
1814
|
*/
|
|
1800
1815
|
noReactForwardRef?: NoReactForwardRefConfiguration;
|
|
1801
1816
|
/**
|
|
1817
|
+
* Disallow assignments in return statements.
|
|
1818
|
+
See <https://biomejs.dev/linter/rules/no-return-assign>
|
|
1819
|
+
*/
|
|
1820
|
+
noReturnAssign?: NoReturnAssignConfiguration;
|
|
1821
|
+
/**
|
|
1802
1822
|
* Disallow javascript: URLs in HTML.
|
|
1803
1823
|
See <https://biomejs.dev/linter/rules/no-script-url>
|
|
1804
1824
|
*/
|
|
@@ -1968,11 +1988,46 @@ See <https://biomejs.dev/linter/rules/use-spread>
|
|
|
1968
1988
|
*/
|
|
1969
1989
|
useSpread?: UseSpreadConfiguration;
|
|
1970
1990
|
/**
|
|
1991
|
+
* Require all argument names for fields & directives to be unique.
|
|
1992
|
+
See <https://biomejs.dev/linter/rules/use-unique-argument-names>
|
|
1993
|
+
*/
|
|
1994
|
+
useUniqueArgumentNames?: UseUniqueArgumentNamesConfiguration;
|
|
1995
|
+
/**
|
|
1996
|
+
* Require all fields of a type to be unique.
|
|
1997
|
+
See <https://biomejs.dev/linter/rules/use-unique-field-definition-names>
|
|
1998
|
+
*/
|
|
1999
|
+
useUniqueFieldDefinitionNames?: UseUniqueFieldDefinitionNamesConfiguration;
|
|
2000
|
+
/**
|
|
1971
2001
|
* Enforce unique operation names across a GraphQL document.
|
|
1972
2002
|
See <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>
|
|
1973
2003
|
*/
|
|
1974
2004
|
useUniqueGraphqlOperationName?: UseUniqueGraphqlOperationNameConfiguration;
|
|
1975
2005
|
/**
|
|
2006
|
+
* Require fields within an input object to be unique.
|
|
2007
|
+
See <https://biomejs.dev/linter/rules/use-unique-input-field-names>
|
|
2008
|
+
*/
|
|
2009
|
+
useUniqueInputFieldNames?: UseUniqueInputFieldNamesConfiguration;
|
|
2010
|
+
/**
|
|
2011
|
+
* Require all variable definitions to be unique.
|
|
2012
|
+
See <https://biomejs.dev/linter/rules/use-unique-variable-names>
|
|
2013
|
+
*/
|
|
2014
|
+
useUniqueVariableNames?: UseUniqueVariableNamesConfiguration;
|
|
2015
|
+
/**
|
|
2016
|
+
* Enforce consistent defineProps declaration style.
|
|
2017
|
+
See <https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration>
|
|
2018
|
+
*/
|
|
2019
|
+
useVueConsistentDefinePropsDeclaration?: UseVueConsistentDefinePropsDeclarationConfiguration;
|
|
2020
|
+
/**
|
|
2021
|
+
* Enforce a consistent style for v-bind in Vue templates.
|
|
2022
|
+
See <https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style>
|
|
2023
|
+
*/
|
|
2024
|
+
useVueConsistentVBindStyle?: UseVueConsistentVBindStyleConfiguration;
|
|
2025
|
+
/**
|
|
2026
|
+
* Enforce a consistent style for v-on in Vue templates.
|
|
2027
|
+
See <https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style>
|
|
2028
|
+
*/
|
|
2029
|
+
useVueConsistentVOnStyle?: UseVueConsistentVOnStyleConfiguration;
|
|
2030
|
+
/**
|
|
1976
2031
|
* Enforce specific order of Vue compiler macros.
|
|
1977
2032
|
See <https://biomejs.dev/linter/rules/use-vue-define-macros-order>
|
|
1978
2033
|
*/
|
|
@@ -1988,11 +2043,26 @@ See <https://biomejs.dev/linter/rules/use-vue-multi-word-component-names>
|
|
|
1988
2043
|
*/
|
|
1989
2044
|
useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
|
|
1990
2045
|
/**
|
|
2046
|
+
* Enforce that elements using v-for also specify a unique key.
|
|
2047
|
+
See <https://biomejs.dev/linter/rules/use-vue-v-for-key>
|
|
2048
|
+
*/
|
|
2049
|
+
useVueVForKey?: UseVueVForKeyConfiguration;
|
|
2050
|
+
/**
|
|
2051
|
+
* Enforce valid Vue \<template> root usage.
|
|
2052
|
+
See <https://biomejs.dev/linter/rules/use-vue-valid-template-root>
|
|
2053
|
+
*/
|
|
2054
|
+
useVueValidTemplateRoot?: UseVueValidTemplateRootConfiguration;
|
|
2055
|
+
/**
|
|
1991
2056
|
* Forbids v-bind directives with missing arguments or invalid modifiers.
|
|
1992
2057
|
See <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>
|
|
1993
2058
|
*/
|
|
1994
2059
|
useVueValidVBind?: UseVueValidVBindConfiguration;
|
|
1995
2060
|
/**
|
|
2061
|
+
* Enforce valid v-cloak Vue directives.
|
|
2062
|
+
See <https://biomejs.dev/linter/rules/use-vue-valid-v-cloak>
|
|
2063
|
+
*/
|
|
2064
|
+
useVueValidVCloak?: UseVueValidVCloakConfiguration;
|
|
2065
|
+
/**
|
|
1996
2066
|
* Enforce valid usage of v-else.
|
|
1997
2067
|
See <https://biomejs.dev/linter/rules/use-vue-valid-v-else>
|
|
1998
2068
|
*/
|
|
@@ -2018,10 +2088,25 @@ See <https://biomejs.dev/linter/rules/use-vue-valid-v-on>
|
|
|
2018
2088
|
*/
|
|
2019
2089
|
useVueValidVOn?: UseVueValidVOnConfiguration;
|
|
2020
2090
|
/**
|
|
2091
|
+
* Enforce valid v-once Vue directives.
|
|
2092
|
+
See <https://biomejs.dev/linter/rules/use-vue-valid-v-once>
|
|
2093
|
+
*/
|
|
2094
|
+
useVueValidVOnce?: UseVueValidVOnceConfiguration;
|
|
2095
|
+
/**
|
|
2096
|
+
* Enforce valid v-pre Vue directives.
|
|
2097
|
+
See <https://biomejs.dev/linter/rules/use-vue-valid-v-pre>
|
|
2098
|
+
*/
|
|
2099
|
+
useVueValidVPre?: UseVueValidVPreConfiguration;
|
|
2100
|
+
/**
|
|
2021
2101
|
* Enforce valid v-text Vue directives.
|
|
2022
2102
|
See <https://biomejs.dev/linter/rules/use-vue-valid-v-text>
|
|
2023
2103
|
*/
|
|
2024
2104
|
useVueValidVText?: UseVueValidVTextConfiguration;
|
|
2105
|
+
/**
|
|
2106
|
+
* Enforce opting in to Vue Vapor mode in \<script setup> blocks.
|
|
2107
|
+
See <https://biomejs.dev/linter/rules/use-vue-vapor>
|
|
2108
|
+
*/
|
|
2109
|
+
useVueVapor?: UseVueVaporConfiguration;
|
|
2025
2110
|
}
|
|
2026
2111
|
interface Performance {
|
|
2027
2112
|
/**
|
|
@@ -3427,6 +3512,9 @@ type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
|
|
|
3427
3512
|
type NoAmbiguousAnchorTextConfiguration =
|
|
3428
3513
|
| RulePlainConfiguration
|
|
3429
3514
|
| RuleWithNoAmbiguousAnchorTextOptions;
|
|
3515
|
+
type NoBeforeInteractiveScriptOutsideDocumentConfiguration =
|
|
3516
|
+
| RulePlainConfiguration
|
|
3517
|
+
| RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions;
|
|
3430
3518
|
type NoContinueConfiguration =
|
|
3431
3519
|
| RulePlainConfiguration
|
|
3432
3520
|
| RuleWithNoContinueOptions;
|
|
@@ -3458,12 +3546,18 @@ type NoIncrementDecrementConfiguration =
|
|
|
3458
3546
|
type NoJsxLiteralsConfiguration =
|
|
3459
3547
|
| RulePlainConfiguration
|
|
3460
3548
|
| RuleWithNoJsxLiteralsOptions;
|
|
3549
|
+
type NoJsxPropsBindConfiguration =
|
|
3550
|
+
| RulePlainConfiguration
|
|
3551
|
+
| RuleWithNoJsxPropsBindOptions;
|
|
3461
3552
|
type NoLeakedRenderConfiguration =
|
|
3462
3553
|
| RulePlainConfiguration
|
|
3463
3554
|
| RuleWithNoLeakedRenderOptions;
|
|
3464
3555
|
type NoMisusedPromisesConfiguration =
|
|
3465
3556
|
| RulePlainConfiguration
|
|
3466
3557
|
| RuleWithNoMisusedPromisesOptions;
|
|
3558
|
+
type NoMultiAssignConfiguration =
|
|
3559
|
+
| RulePlainConfiguration
|
|
3560
|
+
| RuleWithNoMultiAssignOptions;
|
|
3467
3561
|
type NoMultiStrConfiguration =
|
|
3468
3562
|
| RulePlainConfiguration
|
|
3469
3563
|
| RuleWithNoMultiStrOptions;
|
|
@@ -3477,6 +3571,9 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
|
|
|
3477
3571
|
type NoReactForwardRefConfiguration =
|
|
3478
3572
|
| RulePlainConfiguration
|
|
3479
3573
|
| RuleWithNoReactForwardRefOptions;
|
|
3574
|
+
type NoReturnAssignConfiguration =
|
|
3575
|
+
| RulePlainConfiguration
|
|
3576
|
+
| RuleWithNoReturnAssignOptions;
|
|
3480
3577
|
type NoScriptUrlConfiguration =
|
|
3481
3578
|
| RulePlainConfiguration
|
|
3482
3579
|
| RuleWithNoScriptUrlOptions;
|
|
@@ -3568,9 +3665,30 @@ type UseSortedClassesConfiguration =
|
|
|
3568
3665
|
| RulePlainConfiguration
|
|
3569
3666
|
| RuleWithUseSortedClassesOptions;
|
|
3570
3667
|
type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
|
|
3668
|
+
type UseUniqueArgumentNamesConfiguration =
|
|
3669
|
+
| RulePlainConfiguration
|
|
3670
|
+
| RuleWithUseUniqueArgumentNamesOptions;
|
|
3671
|
+
type UseUniqueFieldDefinitionNamesConfiguration =
|
|
3672
|
+
| RulePlainConfiguration
|
|
3673
|
+
| RuleWithUseUniqueFieldDefinitionNamesOptions;
|
|
3571
3674
|
type UseUniqueGraphqlOperationNameConfiguration =
|
|
3572
3675
|
| RulePlainConfiguration
|
|
3573
3676
|
| RuleWithUseUniqueGraphqlOperationNameOptions;
|
|
3677
|
+
type UseUniqueInputFieldNamesConfiguration =
|
|
3678
|
+
| RulePlainConfiguration
|
|
3679
|
+
| RuleWithUseUniqueInputFieldNamesOptions;
|
|
3680
|
+
type UseUniqueVariableNamesConfiguration =
|
|
3681
|
+
| RulePlainConfiguration
|
|
3682
|
+
| RuleWithUseUniqueVariableNamesOptions;
|
|
3683
|
+
type UseVueConsistentDefinePropsDeclarationConfiguration =
|
|
3684
|
+
| RulePlainConfiguration
|
|
3685
|
+
| RuleWithUseVueConsistentDefinePropsDeclarationOptions;
|
|
3686
|
+
type UseVueConsistentVBindStyleConfiguration =
|
|
3687
|
+
| RulePlainConfiguration
|
|
3688
|
+
| RuleWithUseVueConsistentVBindStyleOptions;
|
|
3689
|
+
type UseVueConsistentVOnStyleConfiguration =
|
|
3690
|
+
| RulePlainConfiguration
|
|
3691
|
+
| RuleWithUseVueConsistentVOnStyleOptions;
|
|
3574
3692
|
type UseVueDefineMacrosOrderConfiguration =
|
|
3575
3693
|
| RulePlainConfiguration
|
|
3576
3694
|
| RuleWithUseVueDefineMacrosOrderOptions;
|
|
@@ -3580,9 +3698,18 @@ type UseVueHyphenatedAttributesConfiguration =
|
|
|
3580
3698
|
type UseVueMultiWordComponentNamesConfiguration =
|
|
3581
3699
|
| RulePlainConfiguration
|
|
3582
3700
|
| RuleWithUseVueMultiWordComponentNamesOptions;
|
|
3701
|
+
type UseVueVForKeyConfiguration =
|
|
3702
|
+
| RulePlainConfiguration
|
|
3703
|
+
| RuleWithUseVueVForKeyOptions;
|
|
3704
|
+
type UseVueValidTemplateRootConfiguration =
|
|
3705
|
+
| RulePlainConfiguration
|
|
3706
|
+
| RuleWithUseVueValidTemplateRootOptions;
|
|
3583
3707
|
type UseVueValidVBindConfiguration =
|
|
3584
3708
|
| RulePlainConfiguration
|
|
3585
3709
|
| RuleWithUseVueValidVBindOptions;
|
|
3710
|
+
type UseVueValidVCloakConfiguration =
|
|
3711
|
+
| RulePlainConfiguration
|
|
3712
|
+
| RuleWithUseVueValidVCloakOptions;
|
|
3586
3713
|
type UseVueValidVElseConfiguration =
|
|
3587
3714
|
| RulePlainConfiguration
|
|
3588
3715
|
| RuleWithUseVueValidVElseOptions;
|
|
@@ -3598,9 +3725,18 @@ type UseVueValidVIfConfiguration =
|
|
|
3598
3725
|
type UseVueValidVOnConfiguration =
|
|
3599
3726
|
| RulePlainConfiguration
|
|
3600
3727
|
| RuleWithUseVueValidVOnOptions;
|
|
3728
|
+
type UseVueValidVOnceConfiguration =
|
|
3729
|
+
| RulePlainConfiguration
|
|
3730
|
+
| RuleWithUseVueValidVOnceOptions;
|
|
3731
|
+
type UseVueValidVPreConfiguration =
|
|
3732
|
+
| RulePlainConfiguration
|
|
3733
|
+
| RuleWithUseVueValidVPreOptions;
|
|
3601
3734
|
type UseVueValidVTextConfiguration =
|
|
3602
3735
|
| RulePlainConfiguration
|
|
3603
3736
|
| RuleWithUseVueValidVTextOptions;
|
|
3737
|
+
type UseVueVaporConfiguration =
|
|
3738
|
+
| RulePlainConfiguration
|
|
3739
|
+
| RuleWithUseVueVaporOptions;
|
|
3604
3740
|
type NoAccumulatingSpreadConfiguration =
|
|
3605
3741
|
| RulePlainConfiguration
|
|
3606
3742
|
| RuleWithNoAccumulatingSpreadOptions;
|
|
@@ -4812,6 +4948,10 @@ interface RuleWithNoAmbiguousAnchorTextOptions {
|
|
|
4812
4948
|
level: RulePlainConfiguration;
|
|
4813
4949
|
options?: NoAmbiguousAnchorTextOptions;
|
|
4814
4950
|
}
|
|
4951
|
+
interface RuleWithNoBeforeInteractiveScriptOutsideDocumentOptions {
|
|
4952
|
+
level: RulePlainConfiguration;
|
|
4953
|
+
options?: NoBeforeInteractiveScriptOutsideDocumentOptions;
|
|
4954
|
+
}
|
|
4815
4955
|
interface RuleWithNoContinueOptions {
|
|
4816
4956
|
level: RulePlainConfiguration;
|
|
4817
4957
|
options?: NoContinueOptions;
|
|
@@ -4858,6 +4998,10 @@ interface RuleWithNoJsxLiteralsOptions {
|
|
|
4858
4998
|
level: RulePlainConfiguration;
|
|
4859
4999
|
options?: NoJsxLiteralsOptions;
|
|
4860
5000
|
}
|
|
5001
|
+
interface RuleWithNoJsxPropsBindOptions {
|
|
5002
|
+
level: RulePlainConfiguration;
|
|
5003
|
+
options?: NoJsxPropsBindOptions;
|
|
5004
|
+
}
|
|
4861
5005
|
interface RuleWithNoLeakedRenderOptions {
|
|
4862
5006
|
level: RulePlainConfiguration;
|
|
4863
5007
|
options?: NoLeakedRenderOptions;
|
|
@@ -4867,6 +5011,10 @@ interface RuleWithNoMisusedPromisesOptions {
|
|
|
4867
5011
|
level: RulePlainConfiguration;
|
|
4868
5012
|
options?: NoMisusedPromisesOptions;
|
|
4869
5013
|
}
|
|
5014
|
+
interface RuleWithNoMultiAssignOptions {
|
|
5015
|
+
level: RulePlainConfiguration;
|
|
5016
|
+
options?: NoMultiAssignOptions;
|
|
5017
|
+
}
|
|
4870
5018
|
interface RuleWithNoMultiStrOptions {
|
|
4871
5019
|
level: RulePlainConfiguration;
|
|
4872
5020
|
options?: NoMultiStrOptions;
|
|
@@ -4889,6 +5037,10 @@ interface RuleWithNoReactForwardRefOptions {
|
|
|
4889
5037
|
level: RulePlainConfiguration;
|
|
4890
5038
|
options?: NoReactForwardRefOptions;
|
|
4891
5039
|
}
|
|
5040
|
+
interface RuleWithNoReturnAssignOptions {
|
|
5041
|
+
level: RulePlainConfiguration;
|
|
5042
|
+
options?: NoReturnAssignOptions;
|
|
5043
|
+
}
|
|
4892
5044
|
interface RuleWithNoScriptUrlOptions {
|
|
4893
5045
|
level: RulePlainConfiguration;
|
|
4894
5046
|
options?: NoScriptUrlOptions;
|
|
@@ -5028,10 +5180,40 @@ interface RuleWithUseSpreadOptions {
|
|
|
5028
5180
|
level: RulePlainConfiguration;
|
|
5029
5181
|
options?: UseSpreadOptions;
|
|
5030
5182
|
}
|
|
5183
|
+
interface RuleWithUseUniqueArgumentNamesOptions {
|
|
5184
|
+
level: RulePlainConfiguration;
|
|
5185
|
+
options?: UseUniqueArgumentNamesOptions;
|
|
5186
|
+
}
|
|
5187
|
+
interface RuleWithUseUniqueFieldDefinitionNamesOptions {
|
|
5188
|
+
level: RulePlainConfiguration;
|
|
5189
|
+
options?: UseUniqueFieldDefinitionNamesOptions;
|
|
5190
|
+
}
|
|
5031
5191
|
interface RuleWithUseUniqueGraphqlOperationNameOptions {
|
|
5032
5192
|
level: RulePlainConfiguration;
|
|
5033
5193
|
options?: UseUniqueGraphqlOperationNameOptions;
|
|
5034
5194
|
}
|
|
5195
|
+
interface RuleWithUseUniqueInputFieldNamesOptions {
|
|
5196
|
+
level: RulePlainConfiguration;
|
|
5197
|
+
options?: UseUniqueInputFieldNamesOptions;
|
|
5198
|
+
}
|
|
5199
|
+
interface RuleWithUseUniqueVariableNamesOptions {
|
|
5200
|
+
level: RulePlainConfiguration;
|
|
5201
|
+
options?: UseUniqueVariableNamesOptions;
|
|
5202
|
+
}
|
|
5203
|
+
interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
|
|
5204
|
+
level: RulePlainConfiguration;
|
|
5205
|
+
options?: UseVueConsistentDefinePropsDeclarationOptions;
|
|
5206
|
+
}
|
|
5207
|
+
interface RuleWithUseVueConsistentVBindStyleOptions {
|
|
5208
|
+
fix?: FixKind;
|
|
5209
|
+
level: RulePlainConfiguration;
|
|
5210
|
+
options?: UseVueConsistentVBindStyleOptions;
|
|
5211
|
+
}
|
|
5212
|
+
interface RuleWithUseVueConsistentVOnStyleOptions {
|
|
5213
|
+
fix?: FixKind;
|
|
5214
|
+
level: RulePlainConfiguration;
|
|
5215
|
+
options?: UseVueConsistentVOnStyleOptions;
|
|
5216
|
+
}
|
|
5035
5217
|
interface RuleWithUseVueDefineMacrosOrderOptions {
|
|
5036
5218
|
fix?: FixKind;
|
|
5037
5219
|
level: RulePlainConfiguration;
|
|
@@ -5046,10 +5228,24 @@ interface RuleWithUseVueMultiWordComponentNamesOptions {
|
|
|
5046
5228
|
level: RulePlainConfiguration;
|
|
5047
5229
|
options?: UseVueMultiWordComponentNamesOptions;
|
|
5048
5230
|
}
|
|
5231
|
+
interface RuleWithUseVueVForKeyOptions {
|
|
5232
|
+
level: RulePlainConfiguration;
|
|
5233
|
+
options?: UseVueVForKeyOptions;
|
|
5234
|
+
}
|
|
5235
|
+
interface RuleWithUseVueValidTemplateRootOptions {
|
|
5236
|
+
fix?: FixKind;
|
|
5237
|
+
level: RulePlainConfiguration;
|
|
5238
|
+
options?: UseVueValidTemplateRootOptions;
|
|
5239
|
+
}
|
|
5049
5240
|
interface RuleWithUseVueValidVBindOptions {
|
|
5050
5241
|
level: RulePlainConfiguration;
|
|
5051
5242
|
options?: UseVueValidVBindOptions;
|
|
5052
5243
|
}
|
|
5244
|
+
interface RuleWithUseVueValidVCloakOptions {
|
|
5245
|
+
fix?: FixKind;
|
|
5246
|
+
level: RulePlainConfiguration;
|
|
5247
|
+
options?: UseVueValidVCloakOptions;
|
|
5248
|
+
}
|
|
5053
5249
|
interface RuleWithUseVueValidVElseOptions {
|
|
5054
5250
|
level: RulePlainConfiguration;
|
|
5055
5251
|
options?: UseVueValidVElseOptions;
|
|
@@ -5070,10 +5266,25 @@ interface RuleWithUseVueValidVOnOptions {
|
|
|
5070
5266
|
level: RulePlainConfiguration;
|
|
5071
5267
|
options?: UseVueValidVOnOptions;
|
|
5072
5268
|
}
|
|
5269
|
+
interface RuleWithUseVueValidVOnceOptions {
|
|
5270
|
+
fix?: FixKind;
|
|
5271
|
+
level: RulePlainConfiguration;
|
|
5272
|
+
options?: UseVueValidVOnceOptions;
|
|
5273
|
+
}
|
|
5274
|
+
interface RuleWithUseVueValidVPreOptions {
|
|
5275
|
+
fix?: FixKind;
|
|
5276
|
+
level: RulePlainConfiguration;
|
|
5277
|
+
options?: UseVueValidVPreOptions;
|
|
5278
|
+
}
|
|
5073
5279
|
interface RuleWithUseVueValidVTextOptions {
|
|
5074
5280
|
level: RulePlainConfiguration;
|
|
5075
5281
|
options?: UseVueValidVTextOptions;
|
|
5076
5282
|
}
|
|
5283
|
+
interface RuleWithUseVueVaporOptions {
|
|
5284
|
+
fix?: FixKind;
|
|
5285
|
+
level: RulePlainConfiguration;
|
|
5286
|
+
options?: UseVueVaporOptions;
|
|
5287
|
+
}
|
|
5077
5288
|
interface RuleWithNoAccumulatingSpreadOptions {
|
|
5078
5289
|
level: RulePlainConfiguration;
|
|
5079
5290
|
options?: NoAccumulatingSpreadOptions;
|
|
@@ -6172,6 +6383,7 @@ interface NoAmbiguousAnchorTextOptions {
|
|
|
6172
6383
|
*/
|
|
6173
6384
|
words?: string[];
|
|
6174
6385
|
}
|
|
6386
|
+
type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
|
|
6175
6387
|
type NoContinueOptions = {};
|
|
6176
6388
|
type NoDeprecatedImportsOptions = {};
|
|
6177
6389
|
type NoDuplicateDependenciesOptions = {};
|
|
@@ -6214,13 +6426,16 @@ interface NoJsxLiteralsOptions {
|
|
|
6214
6426
|
*/
|
|
6215
6427
|
noStrings?: boolean;
|
|
6216
6428
|
}
|
|
6429
|
+
type NoJsxPropsBindOptions = {};
|
|
6217
6430
|
type NoLeakedRenderOptions = {};
|
|
6218
6431
|
type NoMisusedPromisesOptions = {};
|
|
6432
|
+
type NoMultiAssignOptions = {};
|
|
6219
6433
|
type NoMultiStrOptions = {};
|
|
6220
6434
|
type NoNextAsyncClientComponentOptions = {};
|
|
6221
6435
|
type NoParametersOnlyUsedInRecursionOptions = {};
|
|
6222
6436
|
type NoProtoOptions = {};
|
|
6223
6437
|
type NoReactForwardRefOptions = {};
|
|
6438
|
+
type NoReturnAssignOptions = {};
|
|
6224
6439
|
type NoScriptUrlOptions = {};
|
|
6225
6440
|
type NoShadowOptions = {};
|
|
6226
6441
|
type NoSyncScriptsOptions = {};
|
|
@@ -6301,7 +6516,28 @@ interface UseSortedClassesOptions {
|
|
|
6301
6516
|
functions?: string[];
|
|
6302
6517
|
}
|
|
6303
6518
|
type UseSpreadOptions = {};
|
|
6519
|
+
type UseUniqueArgumentNamesOptions = {};
|
|
6520
|
+
type UseUniqueFieldDefinitionNamesOptions = {};
|
|
6304
6521
|
type UseUniqueGraphqlOperationNameOptions = {};
|
|
6522
|
+
type UseUniqueInputFieldNamesOptions = {};
|
|
6523
|
+
type UseUniqueVariableNamesOptions = {};
|
|
6524
|
+
interface UseVueConsistentDefinePropsDeclarationOptions {
|
|
6525
|
+
style?: DeclarationStyle;
|
|
6526
|
+
}
|
|
6527
|
+
interface UseVueConsistentVBindStyleOptions {
|
|
6528
|
+
/**
|
|
6529
|
+
* Preferred style for `v-bind` usage: "shorthand" or "longhand".
|
|
6530
|
+
If omitted, shorthand is preferred.
|
|
6531
|
+
*/
|
|
6532
|
+
style?: VueDirectiveStyle;
|
|
6533
|
+
}
|
|
6534
|
+
interface UseVueConsistentVOnStyleOptions {
|
|
6535
|
+
/**
|
|
6536
|
+
* Preferred style for `v-on` usage: "shorthand" or "longhand".
|
|
6537
|
+
If omitted, shorthand is preferred.
|
|
6538
|
+
*/
|
|
6539
|
+
style?: VueDirectiveStyle2;
|
|
6540
|
+
}
|
|
6305
6541
|
interface UseVueDefineMacrosOrderOptions {
|
|
6306
6542
|
/**
|
|
6307
6543
|
* The order of the Vue define macros.
|
|
@@ -6324,7 +6560,10 @@ interface UseVueMultiWordComponentNamesOptions {
|
|
|
6324
6560
|
*/
|
|
6325
6561
|
ignores?: string[];
|
|
6326
6562
|
}
|
|
6563
|
+
type UseVueVForKeyOptions = {};
|
|
6564
|
+
type UseVueValidTemplateRootOptions = {};
|
|
6327
6565
|
type UseVueValidVBindOptions = {};
|
|
6566
|
+
type UseVueValidVCloakOptions = {};
|
|
6328
6567
|
type UseVueValidVElseOptions = {};
|
|
6329
6568
|
type UseVueValidVElseIfOptions = {};
|
|
6330
6569
|
type UseVueValidVHtmlOptions = {};
|
|
@@ -6335,7 +6574,10 @@ interface UseVueValidVOnOptions {
|
|
|
6335
6574
|
*/
|
|
6336
6575
|
modifiers?: string[];
|
|
6337
6576
|
}
|
|
6577
|
+
type UseVueValidVOnceOptions = {};
|
|
6578
|
+
type UseVueValidVPreOptions = {};
|
|
6338
6579
|
type UseVueValidVTextOptions = {};
|
|
6580
|
+
type UseVueVaporOptions = {};
|
|
6339
6581
|
type NoAccumulatingSpreadOptions = {};
|
|
6340
6582
|
type NoAwaitInLoopsOptions = {};
|
|
6341
6583
|
type NoBarrelFileOptions = {};
|
|
@@ -6693,6 +6935,9 @@ while for `useState()` it would be `[1]`.
|
|
|
6693
6935
|
type Regex = string;
|
|
6694
6936
|
type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
|
|
6695
6937
|
type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
|
|
6938
|
+
type DeclarationStyle = "type" | "runtime";
|
|
6939
|
+
type VueDirectiveStyle = "shorthand" | "longhand";
|
|
6940
|
+
type VueDirectiveStyle2 = "shorthand" | "longhand";
|
|
6696
6941
|
type PropertyAssignmentMode = "allow" | "deny";
|
|
6697
6942
|
type Paths = string | PathOptions;
|
|
6698
6943
|
type Patterns = PatternOptions;
|
|
@@ -7016,6 +7261,7 @@ type Category =
|
|
|
7016
7261
|
| "lint/correctness/useValidTypeof"
|
|
7017
7262
|
| "lint/correctness/useYield"
|
|
7018
7263
|
| "lint/nursery/noAmbiguousAnchorText"
|
|
7264
|
+
| "lint/nursery/noBeforeInteractiveScriptOutsideDocument"
|
|
7019
7265
|
| "lint/nursery/noColorInvalidHex"
|
|
7020
7266
|
| "lint/nursery/noContinue"
|
|
7021
7267
|
| "lint/nursery/noDeprecatedImports"
|
|
@@ -7029,14 +7275,17 @@ type Category =
|
|
|
7029
7275
|
| "lint/nursery/noImportCycles"
|
|
7030
7276
|
| "lint/nursery/noIncrementDecrement"
|
|
7031
7277
|
| "lint/nursery/noJsxLiterals"
|
|
7278
|
+
| "lint/nursery/noJsxPropsBind"
|
|
7032
7279
|
| "lint/nursery/noLeakedRender"
|
|
7033
7280
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
7034
7281
|
| "lint/nursery/noMisusedPromises"
|
|
7282
|
+
| "lint/nursery/noMultiAssign"
|
|
7035
7283
|
| "lint/nursery/noMultiStr"
|
|
7036
7284
|
| "lint/nursery/noNextAsyncClientComponent"
|
|
7037
7285
|
| "lint/nursery/noParametersOnlyUsedInRecursion"
|
|
7038
7286
|
| "lint/nursery/noProto"
|
|
7039
7287
|
| "lint/nursery/noReactForwardRef"
|
|
7288
|
+
| "lint/nursery/noReturnAssign"
|
|
7040
7289
|
| "lint/nursery/noScriptUrl"
|
|
7041
7290
|
| "lint/nursery/noShadow"
|
|
7042
7291
|
| "lint/nursery/noSyncScripts"
|
|
@@ -7078,11 +7327,22 @@ type Category =
|
|
|
7078
7327
|
| "lint/nursery/useRequiredScripts"
|
|
7079
7328
|
| "lint/nursery/useSortedClasses"
|
|
7080
7329
|
| "lint/nursery/useSpread"
|
|
7330
|
+
| "lint/nursery/useUniqueArgumentNames"
|
|
7331
|
+
| "lint/nursery/useUniqueFieldDefinitionNames"
|
|
7081
7332
|
| "lint/nursery/useUniqueGraphqlOperationName"
|
|
7333
|
+
| "lint/nursery/useUniqueInputFieldNames"
|
|
7334
|
+
| "lint/nursery/useUniqueVariableNames"
|
|
7335
|
+
| "lint/nursery/useVueConsistentDefinePropsDeclaration"
|
|
7336
|
+
| "lint/nursery/useVueConsistentVBindStyle"
|
|
7337
|
+
| "lint/nursery/useVueConsistentVOnStyle"
|
|
7082
7338
|
| "lint/nursery/useVueDefineMacrosOrder"
|
|
7083
7339
|
| "lint/nursery/useVueHyphenatedAttributes"
|
|
7084
7340
|
| "lint/nursery/useVueMultiWordComponentNames"
|
|
7341
|
+
| "lint/nursery/useVueVForKey"
|
|
7342
|
+
| "lint/nursery/useVueVapor"
|
|
7343
|
+
| "lint/nursery/useVueValidTemplateRoot"
|
|
7085
7344
|
| "lint/nursery/useVueValidVBind"
|
|
7345
|
+
| "lint/nursery/useVueValidVCloak"
|
|
7086
7346
|
| "lint/nursery/useVueValidVElse"
|
|
7087
7347
|
| "lint/nursery/useVueValidVElseIf"
|
|
7088
7348
|
| "lint/nursery/useVueValidVFor"
|
|
@@ -7090,6 +7350,8 @@ type Category =
|
|
|
7090
7350
|
| "lint/nursery/useVueValidVIf"
|
|
7091
7351
|
| "lint/nursery/useVueValidVModel"
|
|
7092
7352
|
| "lint/nursery/useVueValidVOn"
|
|
7353
|
+
| "lint/nursery/useVueValidVOnce"
|
|
7354
|
+
| "lint/nursery/useVueValidVPre"
|
|
7093
7355
|
| "lint/nursery/useVueValidVText"
|
|
7094
7356
|
| "lint/performance/noAccumulatingSpread"
|
|
7095
7357
|
| "lint/performance/noAwaitInLoops"
|
|
@@ -7633,8 +7895,11 @@ interface GetSemanticModelParams {
|
|
|
7633
7895
|
}
|
|
7634
7896
|
type GetModuleGraphParams = {};
|
|
7635
7897
|
interface GetModuleGraphResult {
|
|
7636
|
-
data: Record<string,
|
|
7898
|
+
data: Record<string, SerializedModuleInfo>;
|
|
7637
7899
|
}
|
|
7900
|
+
type SerializedModuleInfo =
|
|
7901
|
+
| { js: SerializedJsModuleInfo }
|
|
7902
|
+
| { css: SerializedCssModuleInfo };
|
|
7638
7903
|
interface SerializedJsModuleInfo {
|
|
7639
7904
|
/**
|
|
7640
7905
|
* Dynamic imports.
|
|
@@ -7668,6 +7933,14 @@ Maps from the local imported name to the absolute path it resolves to.
|
|
|
7668
7933
|
*/
|
|
7669
7934
|
staticImports: Record<string, string>;
|
|
7670
7935
|
}
|
|
7936
|
+
interface SerializedCssModuleInfo {
|
|
7937
|
+
/**
|
|
7938
|
+
* Map of all static imports found in the module.
|
|
7939
|
+
|
|
7940
|
+
Maps from the local imported name to the absolute path it resolves to.
|
|
7941
|
+
*/
|
|
7942
|
+
imports: string[];
|
|
7943
|
+
}
|
|
7671
7944
|
interface PullDiagnosticsParams {
|
|
7672
7945
|
categories: RuleCategories;
|
|
7673
7946
|
/**
|
|
@@ -7861,6 +8134,7 @@ interface DropPatternParams {
|
|
|
7861
8134
|
}
|
|
7862
8135
|
|
|
7863
8136
|
|
|
8137
|
+
|
|
7864
8138
|
export class DiagnosticPrinter {
|
|
7865
8139
|
free(): void;
|
|
7866
8140
|
[Symbol.dispose](): void;
|
|
@@ -7869,6 +8143,7 @@ export class DiagnosticPrinter {
|
|
|
7869
8143
|
constructor(file_name: string, file_source: string);
|
|
7870
8144
|
finish(): string;
|
|
7871
8145
|
}
|
|
8146
|
+
|
|
7872
8147
|
export class MemoryFileSystem {
|
|
7873
8148
|
free(): void;
|
|
7874
8149
|
[Symbol.dispose](): void;
|
|
@@ -7876,6 +8151,7 @@ export class MemoryFileSystem {
|
|
|
7876
8151
|
insert(path: string, data: Uint8Array): void;
|
|
7877
8152
|
remove(path: string): void;
|
|
7878
8153
|
}
|
|
8154
|
+
|
|
7879
8155
|
export class Workspace {
|
|
7880
8156
|
free(): void;
|
|
7881
8157
|
[Symbol.dispose](): void;
|
|
@@ -7908,6 +8184,8 @@ export class Workspace {
|
|
|
7908
8184
|
openFile(params: OpenFileParams): OpenFileResult;
|
|
7909
8185
|
}
|
|
7910
8186
|
|
|
8187
|
+
export function main(): void;
|
|
8188
|
+
|
|
7911
8189
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
7912
8190
|
|
|
7913
8191
|
export interface InitOutput {
|
|
@@ -7961,6 +8239,7 @@ export interface InitOutput {
|
|
|
7961
8239
|
}
|
|
7962
8240
|
|
|
7963
8241
|
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
8242
|
+
|
|
7964
8243
|
/**
|
|
7965
8244
|
* Instantiates the given `module`, which can either be bytes or
|
|
7966
8245
|
* a precompiled `WebAssembly.Module`.
|
package/biome_wasm.js
CHANGED
|
@@ -1,100 +1,15 @@
|
|
|
1
1
|
let wasm;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
8
|
-
}
|
|
9
|
-
return cachedUint8ArrayMemory0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
13
|
-
|
|
14
|
-
cachedTextDecoder.decode();
|
|
15
|
-
|
|
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
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
49
|
-
|
|
50
|
-
if (realloc === undefined) {
|
|
51
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
52
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
53
|
-
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
54
|
-
WASM_VECTOR_LEN = buf.length;
|
|
55
|
-
return ptr;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
let len = arg.length;
|
|
59
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
60
|
-
|
|
61
|
-
const mem = getUint8ArrayMemory0();
|
|
62
|
-
|
|
63
|
-
let offset = 0;
|
|
64
|
-
|
|
65
|
-
for (; offset < len; offset++) {
|
|
66
|
-
const code = arg.charCodeAt(offset);
|
|
67
|
-
if (code > 0x7F) break;
|
|
68
|
-
mem[ptr + offset] = code;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (offset !== len) {
|
|
72
|
-
if (offset !== 0) {
|
|
73
|
-
arg = arg.slice(offset);
|
|
74
|
-
}
|
|
75
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
76
|
-
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
77
|
-
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
78
|
-
|
|
79
|
-
offset += ret.written;
|
|
80
|
-
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
WASM_VECTOR_LEN = offset;
|
|
84
|
-
return ptr;
|
|
3
|
+
function addToExternrefTable0(obj) {
|
|
4
|
+
const idx = wasm.__externref_table_alloc();
|
|
5
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
6
|
+
return idx;
|
|
85
7
|
}
|
|
86
8
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
91
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
9
|
+
function _assertClass(instance, klass) {
|
|
10
|
+
if (!(instance instanceof klass)) {
|
|
11
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
92
12
|
}
|
|
93
|
-
return cachedDataViewMemory0;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function isLikeNone(x) {
|
|
97
|
-
return x === undefined || x === null;
|
|
98
13
|
}
|
|
99
14
|
|
|
100
15
|
function debugString(val) {
|
|
@@ -162,10 +77,30 @@ function debugString(val) {
|
|
|
162
77
|
return className;
|
|
163
78
|
}
|
|
164
79
|
|
|
165
|
-
function
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
80
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
81
|
+
ptr = ptr >>> 0;
|
|
82
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
let cachedDataViewMemory0 = null;
|
|
86
|
+
function getDataViewMemory0() {
|
|
87
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
88
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
89
|
+
}
|
|
90
|
+
return cachedDataViewMemory0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function getStringFromWasm0(ptr, len) {
|
|
94
|
+
ptr = ptr >>> 0;
|
|
95
|
+
return decodeText(ptr, len);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
let cachedUint8ArrayMemory0 = null;
|
|
99
|
+
function getUint8ArrayMemory0() {
|
|
100
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
101
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
102
|
+
}
|
|
103
|
+
return cachedUint8ArrayMemory0;
|
|
169
104
|
}
|
|
170
105
|
|
|
171
106
|
function handleError(f, args) {
|
|
@@ -177,9 +112,8 @@ function handleError(f, args) {
|
|
|
177
112
|
}
|
|
178
113
|
}
|
|
179
114
|
|
|
180
|
-
function
|
|
181
|
-
|
|
182
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
115
|
+
function isLikeNone(x) {
|
|
116
|
+
return x === undefined || x === null;
|
|
183
117
|
}
|
|
184
118
|
|
|
185
119
|
function passArray8ToWasm0(arg, malloc) {
|
|
@@ -189,8 +123,41 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
189
123
|
return ptr;
|
|
190
124
|
}
|
|
191
125
|
|
|
192
|
-
|
|
193
|
-
|
|
126
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
127
|
+
if (realloc === undefined) {
|
|
128
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
129
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
130
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
131
|
+
WASM_VECTOR_LEN = buf.length;
|
|
132
|
+
return ptr;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
let len = arg.length;
|
|
136
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
137
|
+
|
|
138
|
+
const mem = getUint8ArrayMemory0();
|
|
139
|
+
|
|
140
|
+
let offset = 0;
|
|
141
|
+
|
|
142
|
+
for (; offset < len; offset++) {
|
|
143
|
+
const code = arg.charCodeAt(offset);
|
|
144
|
+
if (code > 0x7F) break;
|
|
145
|
+
mem[ptr + offset] = code;
|
|
146
|
+
}
|
|
147
|
+
if (offset !== len) {
|
|
148
|
+
if (offset !== 0) {
|
|
149
|
+
arg = arg.slice(offset);
|
|
150
|
+
}
|
|
151
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
152
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
153
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
154
|
+
|
|
155
|
+
offset += ret.written;
|
|
156
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
WASM_VECTOR_LEN = offset;
|
|
160
|
+
return ptr;
|
|
194
161
|
}
|
|
195
162
|
|
|
196
163
|
function takeFromExternrefTable0(idx) {
|
|
@@ -199,25 +166,54 @@ function takeFromExternrefTable0(idx) {
|
|
|
199
166
|
return value;
|
|
200
167
|
}
|
|
201
168
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
169
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
170
|
+
cachedTextDecoder.decode();
|
|
171
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
172
|
+
let numBytesDecoded = 0;
|
|
173
|
+
function decodeText(ptr, len) {
|
|
174
|
+
numBytesDecoded += len;
|
|
175
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
176
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
177
|
+
cachedTextDecoder.decode();
|
|
178
|
+
numBytesDecoded = len;
|
|
179
|
+
}
|
|
180
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
const cachedTextEncoder = new TextEncoder();
|
|
184
|
+
|
|
185
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
186
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
187
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
188
|
+
view.set(buf);
|
|
189
|
+
return {
|
|
190
|
+
read: arg.length,
|
|
191
|
+
written: buf.length
|
|
192
|
+
};
|
|
205
193
|
}
|
|
206
194
|
}
|
|
207
195
|
|
|
196
|
+
let WASM_VECTOR_LEN = 0;
|
|
197
|
+
|
|
208
198
|
const DiagnosticPrinterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
209
199
|
? { register: () => {}, unregister: () => {} }
|
|
210
200
|
: new FinalizationRegistry(ptr => wasm.__wbg_diagnosticprinter_free(ptr >>> 0, 1));
|
|
211
201
|
|
|
212
|
-
|
|
202
|
+
const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
203
|
+
? { register: () => {}, unregister: () => {} }
|
|
204
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
|
|
213
205
|
|
|
206
|
+
const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
207
|
+
? { register: () => {}, unregister: () => {} }
|
|
208
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
|
|
209
|
+
|
|
210
|
+
export class DiagnosticPrinter {
|
|
214
211
|
__destroy_into_raw() {
|
|
215
212
|
const ptr = this.__wbg_ptr;
|
|
216
213
|
this.__wbg_ptr = 0;
|
|
217
214
|
DiagnosticPrinterFinalization.unregister(this);
|
|
218
215
|
return ptr;
|
|
219
216
|
}
|
|
220
|
-
|
|
221
217
|
free() {
|
|
222
218
|
const ptr = this.__destroy_into_raw();
|
|
223
219
|
wasm.__wbg_diagnosticprinter_free(ptr, 0);
|
|
@@ -279,19 +275,13 @@ export class DiagnosticPrinter {
|
|
|
279
275
|
}
|
|
280
276
|
if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
|
|
281
277
|
|
|
282
|
-
const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
283
|
-
? { register: () => {}, unregister: () => {} }
|
|
284
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_memoryfilesystem_free(ptr >>> 0, 1));
|
|
285
|
-
|
|
286
278
|
export class MemoryFileSystem {
|
|
287
|
-
|
|
288
279
|
__destroy_into_raw() {
|
|
289
280
|
const ptr = this.__wbg_ptr;
|
|
290
281
|
this.__wbg_ptr = 0;
|
|
291
282
|
MemoryFileSystemFinalization.unregister(this);
|
|
292
283
|
return ptr;
|
|
293
284
|
}
|
|
294
|
-
|
|
295
285
|
free() {
|
|
296
286
|
const ptr = this.__destroy_into_raw();
|
|
297
287
|
wasm.__wbg_memoryfilesystem_free(ptr, 0);
|
|
@@ -324,12 +314,7 @@ export class MemoryFileSystem {
|
|
|
324
314
|
}
|
|
325
315
|
if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
|
|
326
316
|
|
|
327
|
-
const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
328
|
-
? { register: () => {}, unregister: () => {} }
|
|
329
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
|
|
330
|
-
|
|
331
317
|
export class Workspace {
|
|
332
|
-
|
|
333
318
|
static __wrap(ptr) {
|
|
334
319
|
ptr = ptr >>> 0;
|
|
335
320
|
const obj = Object.create(Workspace.prototype);
|
|
@@ -337,14 +322,12 @@ export class Workspace {
|
|
|
337
322
|
WorkspaceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
338
323
|
return obj;
|
|
339
324
|
}
|
|
340
|
-
|
|
341
325
|
__destroy_into_raw() {
|
|
342
326
|
const ptr = this.__wbg_ptr;
|
|
343
327
|
this.__wbg_ptr = 0;
|
|
344
328
|
WorkspaceFinalization.unregister(this);
|
|
345
329
|
return ptr;
|
|
346
330
|
}
|
|
347
|
-
|
|
348
331
|
free() {
|
|
349
332
|
const ptr = this.__destroy_into_raw();
|
|
350
333
|
wasm.__wbg_workspace_free(ptr, 0);
|
|
@@ -704,6 +687,10 @@ export class Workspace {
|
|
|
704
687
|
}
|
|
705
688
|
if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
|
|
706
689
|
|
|
690
|
+
export function main() {
|
|
691
|
+
wasm.main();
|
|
692
|
+
}
|
|
693
|
+
|
|
707
694
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
708
695
|
|
|
709
696
|
async function __wbg_load(module, imports) {
|
|
@@ -711,7 +698,6 @@ async function __wbg_load(module, imports) {
|
|
|
711
698
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
712
699
|
try {
|
|
713
700
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
714
|
-
|
|
715
701
|
} catch (e) {
|
|
716
702
|
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
717
703
|
|
|
@@ -726,13 +712,11 @@ async function __wbg_load(module, imports) {
|
|
|
726
712
|
|
|
727
713
|
const bytes = await module.arrayBuffer();
|
|
728
714
|
return await WebAssembly.instantiate(bytes, imports);
|
|
729
|
-
|
|
730
715
|
} else {
|
|
731
716
|
const instance = await WebAssembly.instantiate(module, imports);
|
|
732
717
|
|
|
733
718
|
if (instance instanceof WebAssembly.Instance) {
|
|
734
719
|
return { instance, module };
|
|
735
|
-
|
|
736
720
|
} else {
|
|
737
721
|
return instance;
|
|
738
722
|
}
|
|
@@ -742,11 +726,11 @@ async function __wbg_load(module, imports) {
|
|
|
742
726
|
function __wbg_get_imports() {
|
|
743
727
|
const imports = {};
|
|
744
728
|
imports.wbg = {};
|
|
745
|
-
imports.wbg.
|
|
729
|
+
imports.wbg.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
|
|
746
730
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
747
731
|
return ret;
|
|
748
732
|
};
|
|
749
|
-
imports.wbg.
|
|
733
|
+
imports.wbg.__wbg_Number_2d1dcfcf4ec51736 = function(arg0) {
|
|
750
734
|
const ret = Number(arg0);
|
|
751
735
|
return ret;
|
|
752
736
|
};
|
|
@@ -757,64 +741,64 @@ function __wbg_get_imports() {
|
|
|
757
741
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
758
742
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
759
743
|
};
|
|
760
|
-
imports.wbg.
|
|
744
|
+
imports.wbg.__wbg___wbindgen_bigint_get_as_i64_6e32f5e6aff02e1d = function(arg0, arg1) {
|
|
761
745
|
const v = arg1;
|
|
762
746
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
763
747
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
764
748
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
765
749
|
};
|
|
766
|
-
imports.wbg.
|
|
750
|
+
imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) {
|
|
767
751
|
const v = arg0;
|
|
768
752
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
769
753
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
770
754
|
};
|
|
771
|
-
imports.wbg.
|
|
755
|
+
imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
|
|
772
756
|
const ret = debugString(arg1);
|
|
773
757
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
774
758
|
const len1 = WASM_VECTOR_LEN;
|
|
775
759
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
776
760
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
777
761
|
};
|
|
778
|
-
imports.wbg.
|
|
762
|
+
imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) {
|
|
779
763
|
const ret = arg0 in arg1;
|
|
780
764
|
return ret;
|
|
781
765
|
};
|
|
782
|
-
imports.wbg.
|
|
766
|
+
imports.wbg.__wbg___wbindgen_is_bigint_0e1a2e3f55cfae27 = function(arg0) {
|
|
783
767
|
const ret = typeof(arg0) === 'bigint';
|
|
784
768
|
return ret;
|
|
785
769
|
};
|
|
786
|
-
imports.wbg.
|
|
770
|
+
imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
|
|
787
771
|
const ret = typeof(arg0) === 'function';
|
|
788
772
|
return ret;
|
|
789
773
|
};
|
|
790
|
-
imports.wbg.
|
|
774
|
+
imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
|
|
791
775
|
const val = arg0;
|
|
792
776
|
const ret = typeof(val) === 'object' && val !== null;
|
|
793
777
|
return ret;
|
|
794
778
|
};
|
|
795
|
-
imports.wbg.
|
|
779
|
+
imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
|
|
796
780
|
const ret = typeof(arg0) === 'string';
|
|
797
781
|
return ret;
|
|
798
782
|
};
|
|
799
|
-
imports.wbg.
|
|
783
|
+
imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
|
|
800
784
|
const ret = arg0 === undefined;
|
|
801
785
|
return ret;
|
|
802
786
|
};
|
|
803
|
-
imports.wbg.
|
|
787
|
+
imports.wbg.__wbg___wbindgen_jsval_eq_b6101cc9cef1fe36 = function(arg0, arg1) {
|
|
804
788
|
const ret = arg0 === arg1;
|
|
805
789
|
return ret;
|
|
806
790
|
};
|
|
807
|
-
imports.wbg.
|
|
791
|
+
imports.wbg.__wbg___wbindgen_jsval_loose_eq_766057600fdd1b0d = function(arg0, arg1) {
|
|
808
792
|
const ret = arg0 == arg1;
|
|
809
793
|
return ret;
|
|
810
794
|
};
|
|
811
|
-
imports.wbg.
|
|
795
|
+
imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) {
|
|
812
796
|
const obj = arg1;
|
|
813
797
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
814
798
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
815
799
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
816
800
|
};
|
|
817
|
-
imports.wbg.
|
|
801
|
+
imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) {
|
|
818
802
|
const obj = arg1;
|
|
819
803
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
820
804
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -822,18 +806,18 @@ function __wbg_get_imports() {
|
|
|
822
806
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
823
807
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
824
808
|
};
|
|
825
|
-
imports.wbg.
|
|
809
|
+
imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
|
|
826
810
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
827
811
|
};
|
|
828
|
-
imports.wbg.
|
|
812
|
+
imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
|
|
829
813
|
const ret = arg0.call(arg1);
|
|
830
814
|
return ret;
|
|
831
815
|
}, arguments) };
|
|
832
|
-
imports.wbg.
|
|
816
|
+
imports.wbg.__wbg_done_62ea16af4ce34b24 = function(arg0) {
|
|
833
817
|
const ret = arg0.done;
|
|
834
818
|
return ret;
|
|
835
819
|
};
|
|
836
|
-
imports.wbg.
|
|
820
|
+
imports.wbg.__wbg_entries_83c79938054e065f = function(arg0) {
|
|
837
821
|
const ret = Object.entries(arg0);
|
|
838
822
|
return ret;
|
|
839
823
|
};
|
|
@@ -848,11 +832,11 @@ function __wbg_get_imports() {
|
|
|
848
832
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
849
833
|
}
|
|
850
834
|
};
|
|
851
|
-
imports.wbg.
|
|
835
|
+
imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
|
|
852
836
|
const ret = arg0[arg1 >>> 0];
|
|
853
837
|
return ret;
|
|
854
838
|
};
|
|
855
|
-
imports.wbg.
|
|
839
|
+
imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
|
|
856
840
|
const ret = Reflect.get(arg0, arg1);
|
|
857
841
|
return ret;
|
|
858
842
|
}, arguments) };
|
|
@@ -860,7 +844,7 @@ function __wbg_get_imports() {
|
|
|
860
844
|
const ret = arg0[arg1];
|
|
861
845
|
return ret;
|
|
862
846
|
};
|
|
863
|
-
imports.wbg.
|
|
847
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_f3320d2419cd0355 = function(arg0) {
|
|
864
848
|
let result;
|
|
865
849
|
try {
|
|
866
850
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -870,7 +854,7 @@ function __wbg_get_imports() {
|
|
|
870
854
|
const ret = result;
|
|
871
855
|
return ret;
|
|
872
856
|
};
|
|
873
|
-
imports.wbg.
|
|
857
|
+
imports.wbg.__wbg_instanceof_Map_084be8da74364158 = function(arg0) {
|
|
874
858
|
let result;
|
|
875
859
|
try {
|
|
876
860
|
result = arg0 instanceof Map;
|
|
@@ -880,7 +864,7 @@ function __wbg_get_imports() {
|
|
|
880
864
|
const ret = result;
|
|
881
865
|
return ret;
|
|
882
866
|
};
|
|
883
|
-
imports.wbg.
|
|
867
|
+
imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function(arg0) {
|
|
884
868
|
let result;
|
|
885
869
|
try {
|
|
886
870
|
result = arg0 instanceof Uint8Array;
|
|
@@ -890,62 +874,62 @@ function __wbg_get_imports() {
|
|
|
890
874
|
const ret = result;
|
|
891
875
|
return ret;
|
|
892
876
|
};
|
|
893
|
-
imports.wbg.
|
|
877
|
+
imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function(arg0) {
|
|
894
878
|
const ret = Array.isArray(arg0);
|
|
895
879
|
return ret;
|
|
896
880
|
};
|
|
897
|
-
imports.wbg.
|
|
881
|
+
imports.wbg.__wbg_isSafeInteger_ae7d3f054d55fa16 = function(arg0) {
|
|
898
882
|
const ret = Number.isSafeInteger(arg0);
|
|
899
883
|
return ret;
|
|
900
884
|
};
|
|
901
|
-
imports.wbg.
|
|
885
|
+
imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function() {
|
|
902
886
|
const ret = Symbol.iterator;
|
|
903
887
|
return ret;
|
|
904
888
|
};
|
|
905
|
-
imports.wbg.
|
|
889
|
+
imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
906
890
|
const ret = arg0.length;
|
|
907
891
|
return ret;
|
|
908
892
|
};
|
|
909
|
-
imports.wbg.
|
|
893
|
+
imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) {
|
|
910
894
|
const ret = arg0.length;
|
|
911
895
|
return ret;
|
|
912
896
|
};
|
|
913
|
-
imports.wbg.
|
|
897
|
+
imports.wbg.__wbg_new_1ba21ce319a06297 = function() {
|
|
914
898
|
const ret = new Object();
|
|
915
899
|
return ret;
|
|
916
900
|
};
|
|
917
|
-
imports.wbg.
|
|
918
|
-
const ret = new
|
|
901
|
+
imports.wbg.__wbg_new_25f239778d6112b9 = function() {
|
|
902
|
+
const ret = new Array();
|
|
919
903
|
return ret;
|
|
920
904
|
};
|
|
921
|
-
imports.wbg.
|
|
922
|
-
const ret = new
|
|
905
|
+
imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) {
|
|
906
|
+
const ret = new Uint8Array(arg0);
|
|
923
907
|
return ret;
|
|
924
908
|
};
|
|
925
909
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
926
910
|
const ret = new Error();
|
|
927
911
|
return ret;
|
|
928
912
|
};
|
|
929
|
-
imports.wbg.
|
|
930
|
-
const ret = new
|
|
913
|
+
imports.wbg.__wbg_new_b546ae120718850e = function() {
|
|
914
|
+
const ret = new Map();
|
|
931
915
|
return ret;
|
|
932
916
|
};
|
|
933
|
-
imports.wbg.
|
|
934
|
-
const ret = new
|
|
917
|
+
imports.wbg.__wbg_new_df1173567d5ff028 = function(arg0, arg1) {
|
|
918
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
935
919
|
return ret;
|
|
936
920
|
};
|
|
937
|
-
imports.wbg.
|
|
921
|
+
imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
|
|
938
922
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
939
923
|
return ret;
|
|
940
924
|
};
|
|
941
|
-
imports.wbg.
|
|
942
|
-
const ret = arg0.next();
|
|
943
|
-
return ret;
|
|
944
|
-
}, arguments) };
|
|
945
|
-
imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
925
|
+
imports.wbg.__wbg_next_138a17bbf04e926c = function(arg0) {
|
|
946
926
|
const ret = arg0.next;
|
|
947
927
|
return ret;
|
|
948
928
|
};
|
|
929
|
+
imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function() { return handleError(function (arg0) {
|
|
930
|
+
const ret = arg0.next();
|
|
931
|
+
return ret;
|
|
932
|
+
}, arguments) };
|
|
949
933
|
imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
|
|
950
934
|
const ret = arg0.now();
|
|
951
935
|
return ret;
|
|
@@ -954,19 +938,19 @@ function __wbg_get_imports() {
|
|
|
954
938
|
const ret = arg0.performance;
|
|
955
939
|
return ret;
|
|
956
940
|
};
|
|
957
|
-
imports.wbg.
|
|
941
|
+
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
958
942
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
959
943
|
};
|
|
960
944
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
961
945
|
arg0[arg1] = arg2;
|
|
962
946
|
};
|
|
963
|
-
imports.wbg.
|
|
947
|
+
imports.wbg.__wbg_set_7df433eea03a5c14 = function(arg0, arg1, arg2) {
|
|
948
|
+
arg0[arg1 >>> 0] = arg2;
|
|
949
|
+
};
|
|
950
|
+
imports.wbg.__wbg_set_efaaf145b9377369 = function(arg0, arg1, arg2) {
|
|
964
951
|
const ret = arg0.set(arg1, arg2);
|
|
965
952
|
return ret;
|
|
966
953
|
};
|
|
967
|
-
imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
968
|
-
arg0[arg1 >>> 0] = arg2;
|
|
969
|
-
};
|
|
970
954
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
971
955
|
const ret = arg1.stack;
|
|
972
956
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -974,23 +958,23 @@ function __wbg_get_imports() {
|
|
|
974
958
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
975
959
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
976
960
|
};
|
|
977
|
-
imports.wbg.
|
|
961
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
|
|
978
962
|
const ret = typeof global === 'undefined' ? null : global;
|
|
979
963
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
980
964
|
};
|
|
981
|
-
imports.wbg.
|
|
965
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
|
|
982
966
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
983
967
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
984
968
|
};
|
|
985
|
-
imports.wbg.
|
|
969
|
+
imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
|
|
986
970
|
const ret = typeof self === 'undefined' ? null : self;
|
|
987
971
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
988
972
|
};
|
|
989
|
-
imports.wbg.
|
|
973
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
|
|
990
974
|
const ret = typeof window === 'undefined' ? null : window;
|
|
991
975
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
992
976
|
};
|
|
993
|
-
imports.wbg.
|
|
977
|
+
imports.wbg.__wbg_value_57b7b035e117f7ee = function(arg0) {
|
|
994
978
|
const ret = arg0.value;
|
|
995
979
|
return ret;
|
|
996
980
|
};
|
|
@@ -1022,7 +1006,6 @@ function __wbg_get_imports() {
|
|
|
1022
1006
|
table.set(offset + 1, null);
|
|
1023
1007
|
table.set(offset + 2, true);
|
|
1024
1008
|
table.set(offset + 3, false);
|
|
1025
|
-
;
|
|
1026
1009
|
};
|
|
1027
1010
|
|
|
1028
1011
|
return imports;
|
|
@@ -1052,13 +1035,10 @@ function initSync(module) {
|
|
|
1052
1035
|
}
|
|
1053
1036
|
|
|
1054
1037
|
const imports = __wbg_get_imports();
|
|
1055
|
-
|
|
1056
1038
|
if (!(module instanceof WebAssembly.Module)) {
|
|
1057
1039
|
module = new WebAssembly.Module(module);
|
|
1058
1040
|
}
|
|
1059
|
-
|
|
1060
1041
|
const instance = new WebAssembly.Instance(module, imports);
|
|
1061
|
-
|
|
1062
1042
|
return __wbg_finalize_init(instance, module);
|
|
1063
1043
|
}
|
|
1064
1044
|
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|