@biomejs/wasm-nodejs 2.2.4 → 2.2.6
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 +157 -3
- package/biome_wasm.js +146 -144
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1485,7 +1485,11 @@ interface Correctness {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
interface Nursery {
|
|
1487
1487
|
/**
|
|
1488
|
-
*
|
|
1488
|
+
* Restrict imports of deprecated exports.
|
|
1489
|
+
*/
|
|
1490
|
+
noDeprecatedImports?: RuleConfiguration_for_NoDeprecatedImportsOptions;
|
|
1491
|
+
/**
|
|
1492
|
+
* Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
|
|
1489
1493
|
*/
|
|
1490
1494
|
noDuplicateDependencies?: RuleConfiguration_for_NoDuplicateDependenciesOptions;
|
|
1491
1495
|
/**
|
|
@@ -1516,6 +1520,10 @@ interface Nursery {
|
|
|
1516
1520
|
* Disallow useVisibleTask$() functions in Qwik components.
|
|
1517
1521
|
*/
|
|
1518
1522
|
noQwikUseVisibleTask?: RuleConfiguration_for_NoQwikUseVisibleTaskOptions;
|
|
1523
|
+
/**
|
|
1524
|
+
* Replaces usages of forwardRef with passing ref as a prop.
|
|
1525
|
+
*/
|
|
1526
|
+
noReactForwardRef?: RuleFixConfiguration_for_NoReactForwardRefOptions;
|
|
1519
1527
|
/**
|
|
1520
1528
|
* Disallow usage of sensitive data such as API keys and tokens.
|
|
1521
1529
|
*/
|
|
@@ -1532,6 +1540,10 @@ interface Nursery {
|
|
|
1532
1540
|
* Warn when importing non-existing exports.
|
|
1533
1541
|
*/
|
|
1534
1542
|
noUnresolvedImports?: RuleConfiguration_for_NoUnresolvedImportsOptions;
|
|
1543
|
+
/**
|
|
1544
|
+
* Disallow expression statements that are neither a function call nor an assignment.
|
|
1545
|
+
*/
|
|
1546
|
+
noUnusedExpressions?: RuleConfiguration_for_NoUnusedExpressionsOptions;
|
|
1535
1547
|
/**
|
|
1536
1548
|
* Disallow unused catch bindings.
|
|
1537
1549
|
*/
|
|
@@ -1544,6 +1556,10 @@ interface Nursery {
|
|
|
1544
1556
|
* Enforce that Vue component data options are declared as functions.
|
|
1545
1557
|
*/
|
|
1546
1558
|
noVueDataObjectDeclaration?: RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions;
|
|
1559
|
+
/**
|
|
1560
|
+
* Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
|
|
1561
|
+
*/
|
|
1562
|
+
noVueDuplicateKeys?: RuleConfiguration_for_NoVueDuplicateKeysOptions;
|
|
1547
1563
|
/**
|
|
1548
1564
|
* Disallow reserved keys in Vue component data and computed properties.
|
|
1549
1565
|
*/
|
|
@@ -1568,6 +1584,10 @@ interface Nursery {
|
|
|
1568
1584
|
* Enforce type definitions to consistently use either interface or type.
|
|
1569
1585
|
*/
|
|
1570
1586
|
useConsistentTypeDefinitions?: RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions;
|
|
1587
|
+
/**
|
|
1588
|
+
* Require the @deprecated directive to specify a deletion date.
|
|
1589
|
+
*/
|
|
1590
|
+
useDeprecatedDate?: RuleConfiguration_for_UseDeprecatedDateOptions;
|
|
1571
1591
|
/**
|
|
1572
1592
|
* Require switch-case statements to be exhaustive.
|
|
1573
1593
|
*/
|
|
@@ -1588,6 +1608,14 @@ interface Nursery {
|
|
|
1588
1608
|
* Prefer using the class prop as a classlist over the classnames helper.
|
|
1589
1609
|
*/
|
|
1590
1610
|
useQwikClasslist?: RuleConfiguration_for_UseQwikClasslistOptions;
|
|
1611
|
+
/**
|
|
1612
|
+
* Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
|
|
1613
|
+
*/
|
|
1614
|
+
useQwikMethodUsage?: RuleConfiguration_for_UseQwikMethodUsageOptions;
|
|
1615
|
+
/**
|
|
1616
|
+
* Disallow unserializable expressions in Qwik dollar ($) scopes.
|
|
1617
|
+
*/
|
|
1618
|
+
useQwikValidLexicalScope?: RuleConfiguration_for_UseQwikValidLexicalScopeOptions;
|
|
1591
1619
|
/**
|
|
1592
1620
|
* Enforce that components are defined as functions and never as classes.
|
|
1593
1621
|
*/
|
|
@@ -2825,6 +2853,9 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
|
|
|
2825
2853
|
type RuleConfiguration_for_UseYieldOptions =
|
|
2826
2854
|
| RulePlainConfiguration
|
|
2827
2855
|
| RuleWithOptions_for_UseYieldOptions;
|
|
2856
|
+
type RuleConfiguration_for_NoDeprecatedImportsOptions =
|
|
2857
|
+
| RulePlainConfiguration
|
|
2858
|
+
| RuleWithOptions_for_NoDeprecatedImportsOptions;
|
|
2828
2859
|
type RuleConfiguration_for_NoDuplicateDependenciesOptions =
|
|
2829
2860
|
| RulePlainConfiguration
|
|
2830
2861
|
| RuleWithOptions_for_NoDuplicateDependenciesOptions;
|
|
@@ -2849,6 +2880,9 @@ type RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions =
|
|
|
2849
2880
|
type RuleConfiguration_for_NoQwikUseVisibleTaskOptions =
|
|
2850
2881
|
| RulePlainConfiguration
|
|
2851
2882
|
| RuleWithOptions_for_NoQwikUseVisibleTaskOptions;
|
|
2883
|
+
type RuleFixConfiguration_for_NoReactForwardRefOptions =
|
|
2884
|
+
| RulePlainConfiguration
|
|
2885
|
+
| RuleWithFixOptions_for_NoReactForwardRefOptions;
|
|
2852
2886
|
type RuleConfiguration_for_NoSecretsOptions =
|
|
2853
2887
|
| RulePlainConfiguration
|
|
2854
2888
|
| RuleWithOptions_for_NoSecretsOptions;
|
|
@@ -2861,6 +2895,9 @@ type RuleConfiguration_for_NoUnnecessaryConditionsOptions =
|
|
|
2861
2895
|
type RuleConfiguration_for_NoUnresolvedImportsOptions =
|
|
2862
2896
|
| RulePlainConfiguration
|
|
2863
2897
|
| RuleWithOptions_for_NoUnresolvedImportsOptions;
|
|
2898
|
+
type RuleConfiguration_for_NoUnusedExpressionsOptions =
|
|
2899
|
+
| RulePlainConfiguration
|
|
2900
|
+
| RuleWithOptions_for_NoUnusedExpressionsOptions;
|
|
2864
2901
|
type RuleFixConfiguration_for_NoUselessCatchBindingOptions =
|
|
2865
2902
|
| RulePlainConfiguration
|
|
2866
2903
|
| RuleWithFixOptions_for_NoUselessCatchBindingOptions;
|
|
@@ -2870,6 +2907,9 @@ type RuleFixConfiguration_for_NoUselessUndefinedOptions =
|
|
|
2870
2907
|
type RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions =
|
|
2871
2908
|
| RulePlainConfiguration
|
|
2872
2909
|
| RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions;
|
|
2910
|
+
type RuleConfiguration_for_NoVueDuplicateKeysOptions =
|
|
2911
|
+
| RulePlainConfiguration
|
|
2912
|
+
| RuleWithOptions_for_NoVueDuplicateKeysOptions;
|
|
2873
2913
|
type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
2874
2914
|
| RulePlainConfiguration
|
|
2875
2915
|
| RuleWithOptions_for_NoVueReservedKeysOptions;
|
|
@@ -2885,6 +2925,9 @@ type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
|
|
|
2885
2925
|
type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
|
|
2886
2926
|
| RulePlainConfiguration
|
|
2887
2927
|
| RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
|
|
2928
|
+
type RuleConfiguration_for_UseDeprecatedDateOptions =
|
|
2929
|
+
| RulePlainConfiguration
|
|
2930
|
+
| RuleWithOptions_for_UseDeprecatedDateOptions;
|
|
2888
2931
|
type RuleFixConfiguration_for_UseExhaustiveSwitchCasesOptions =
|
|
2889
2932
|
| RulePlainConfiguration
|
|
2890
2933
|
| RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions;
|
|
@@ -2900,6 +2943,12 @@ type RuleConfiguration_for_UseMaxParamsOptions =
|
|
|
2900
2943
|
type RuleConfiguration_for_UseQwikClasslistOptions =
|
|
2901
2944
|
| RulePlainConfiguration
|
|
2902
2945
|
| RuleWithOptions_for_UseQwikClasslistOptions;
|
|
2946
|
+
type RuleConfiguration_for_UseQwikMethodUsageOptions =
|
|
2947
|
+
| RulePlainConfiguration
|
|
2948
|
+
| RuleWithOptions_for_UseQwikMethodUsageOptions;
|
|
2949
|
+
type RuleConfiguration_for_UseQwikValidLexicalScopeOptions =
|
|
2950
|
+
| RulePlainConfiguration
|
|
2951
|
+
| RuleWithOptions_for_UseQwikValidLexicalScopeOptions;
|
|
2903
2952
|
type RuleConfiguration_for_UseReactFunctionComponentsOptions =
|
|
2904
2953
|
| RulePlainConfiguration
|
|
2905
2954
|
| RuleWithOptions_for_UseReactFunctionComponentsOptions;
|
|
@@ -5194,6 +5243,16 @@ interface RuleWithOptions_for_UseYieldOptions {
|
|
|
5194
5243
|
*/
|
|
5195
5244
|
options: UseYieldOptions;
|
|
5196
5245
|
}
|
|
5246
|
+
interface RuleWithOptions_for_NoDeprecatedImportsOptions {
|
|
5247
|
+
/**
|
|
5248
|
+
* The severity of the emitted diagnostics by the rule
|
|
5249
|
+
*/
|
|
5250
|
+
level: RulePlainConfiguration;
|
|
5251
|
+
/**
|
|
5252
|
+
* Rule's options
|
|
5253
|
+
*/
|
|
5254
|
+
options: NoDeprecatedImportsOptions;
|
|
5255
|
+
}
|
|
5197
5256
|
interface RuleWithOptions_for_NoDuplicateDependenciesOptions {
|
|
5198
5257
|
/**
|
|
5199
5258
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5282,6 +5341,20 @@ interface RuleWithOptions_for_NoQwikUseVisibleTaskOptions {
|
|
|
5282
5341
|
*/
|
|
5283
5342
|
options: NoQwikUseVisibleTaskOptions;
|
|
5284
5343
|
}
|
|
5344
|
+
interface RuleWithFixOptions_for_NoReactForwardRefOptions {
|
|
5345
|
+
/**
|
|
5346
|
+
* The kind of the code actions emitted by the rule
|
|
5347
|
+
*/
|
|
5348
|
+
fix?: FixKind;
|
|
5349
|
+
/**
|
|
5350
|
+
* The severity of the emitted diagnostics by the rule
|
|
5351
|
+
*/
|
|
5352
|
+
level: RulePlainConfiguration;
|
|
5353
|
+
/**
|
|
5354
|
+
* Rule's options
|
|
5355
|
+
*/
|
|
5356
|
+
options: NoReactForwardRefOptions;
|
|
5357
|
+
}
|
|
5285
5358
|
interface RuleWithOptions_for_NoSecretsOptions {
|
|
5286
5359
|
/**
|
|
5287
5360
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5322,6 +5395,16 @@ interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
|
5322
5395
|
*/
|
|
5323
5396
|
options: NoUnresolvedImportsOptions;
|
|
5324
5397
|
}
|
|
5398
|
+
interface RuleWithOptions_for_NoUnusedExpressionsOptions {
|
|
5399
|
+
/**
|
|
5400
|
+
* The severity of the emitted diagnostics by the rule
|
|
5401
|
+
*/
|
|
5402
|
+
level: RulePlainConfiguration;
|
|
5403
|
+
/**
|
|
5404
|
+
* Rule's options
|
|
5405
|
+
*/
|
|
5406
|
+
options: NoUnusedExpressionsOptions;
|
|
5407
|
+
}
|
|
5325
5408
|
interface RuleWithFixOptions_for_NoUselessCatchBindingOptions {
|
|
5326
5409
|
/**
|
|
5327
5410
|
* The kind of the code actions emitted by the rule
|
|
@@ -5364,6 +5447,16 @@ interface RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions {
|
|
|
5364
5447
|
*/
|
|
5365
5448
|
options: NoVueDataObjectDeclarationOptions;
|
|
5366
5449
|
}
|
|
5450
|
+
interface RuleWithOptions_for_NoVueDuplicateKeysOptions {
|
|
5451
|
+
/**
|
|
5452
|
+
* The severity of the emitted diagnostics by the rule
|
|
5453
|
+
*/
|
|
5454
|
+
level: RulePlainConfiguration;
|
|
5455
|
+
/**
|
|
5456
|
+
* Rule's options
|
|
5457
|
+
*/
|
|
5458
|
+
options: NoVueDuplicateKeysOptions;
|
|
5459
|
+
}
|
|
5367
5460
|
interface RuleWithOptions_for_NoVueReservedKeysOptions {
|
|
5368
5461
|
/**
|
|
5369
5462
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5422,6 +5515,16 @@ interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
|
5422
5515
|
*/
|
|
5423
5516
|
options: UseConsistentTypeDefinitionsOptions;
|
|
5424
5517
|
}
|
|
5518
|
+
interface RuleWithOptions_for_UseDeprecatedDateOptions {
|
|
5519
|
+
/**
|
|
5520
|
+
* The severity of the emitted diagnostics by the rule
|
|
5521
|
+
*/
|
|
5522
|
+
level: RulePlainConfiguration;
|
|
5523
|
+
/**
|
|
5524
|
+
* Rule's options
|
|
5525
|
+
*/
|
|
5526
|
+
options: UseDeprecatedDateOptions;
|
|
5527
|
+
}
|
|
5425
5528
|
interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
|
|
5426
5529
|
/**
|
|
5427
5530
|
* The kind of the code actions emitted by the rule
|
|
@@ -5476,6 +5579,26 @@ interface RuleWithOptions_for_UseQwikClasslistOptions {
|
|
|
5476
5579
|
*/
|
|
5477
5580
|
options: UseQwikClasslistOptions;
|
|
5478
5581
|
}
|
|
5582
|
+
interface RuleWithOptions_for_UseQwikMethodUsageOptions {
|
|
5583
|
+
/**
|
|
5584
|
+
* The severity of the emitted diagnostics by the rule
|
|
5585
|
+
*/
|
|
5586
|
+
level: RulePlainConfiguration;
|
|
5587
|
+
/**
|
|
5588
|
+
* Rule's options
|
|
5589
|
+
*/
|
|
5590
|
+
options: UseQwikMethodUsageOptions;
|
|
5591
|
+
}
|
|
5592
|
+
interface RuleWithOptions_for_UseQwikValidLexicalScopeOptions {
|
|
5593
|
+
/**
|
|
5594
|
+
* The severity of the emitted diagnostics by the rule
|
|
5595
|
+
*/
|
|
5596
|
+
level: RulePlainConfiguration;
|
|
5597
|
+
/**
|
|
5598
|
+
* Rule's options
|
|
5599
|
+
*/
|
|
5600
|
+
options: UseQwikValidLexicalScopeOptions;
|
|
5601
|
+
}
|
|
5479
5602
|
interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
5480
5603
|
/**
|
|
5481
5604
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7902,6 +8025,7 @@ interface UseUniqueElementIdsOptions {
|
|
|
7902
8025
|
interface UseValidForDirectionOptions {}
|
|
7903
8026
|
interface UseValidTypeofOptions {}
|
|
7904
8027
|
interface UseYieldOptions {}
|
|
8028
|
+
interface NoDeprecatedImportsOptions {}
|
|
7905
8029
|
interface NoDuplicateDependenciesOptions {}
|
|
7906
8030
|
interface NoFloatingPromisesOptions {}
|
|
7907
8031
|
interface NoImportCyclesOptions {
|
|
@@ -7928,6 +8052,7 @@ interface NoMisusedPromisesOptions {}
|
|
|
7928
8052
|
interface NoNextAsyncClientComponentOptions {}
|
|
7929
8053
|
interface NoNonNullAssertedOptionalChainOptions {}
|
|
7930
8054
|
interface NoQwikUseVisibleTaskOptions {}
|
|
8055
|
+
interface NoReactForwardRefOptions {}
|
|
7931
8056
|
interface NoSecretsOptions {
|
|
7932
8057
|
/**
|
|
7933
8058
|
* Set entropy threshold (default is 41).
|
|
@@ -7937,16 +8062,32 @@ interface NoSecretsOptions {
|
|
|
7937
8062
|
interface NoShadowOptions {}
|
|
7938
8063
|
interface NoUnnecessaryConditionsOptions {}
|
|
7939
8064
|
interface NoUnresolvedImportsOptions {}
|
|
8065
|
+
interface NoUnusedExpressionsOptions {}
|
|
7940
8066
|
interface NoUselessCatchBindingOptions {}
|
|
7941
8067
|
interface NoUselessUndefinedOptions {}
|
|
7942
8068
|
interface NoVueDataObjectDeclarationOptions {}
|
|
8069
|
+
interface NoVueDuplicateKeysOptions {}
|
|
7943
8070
|
interface NoVueReservedKeysOptions {}
|
|
7944
8071
|
interface NoVueReservedPropsOptions {}
|
|
7945
8072
|
type UseAnchorHrefOptions = null;
|
|
7946
|
-
interface UseConsistentArrowReturnOptions {
|
|
8073
|
+
interface UseConsistentArrowReturnOptions {
|
|
8074
|
+
/**
|
|
8075
|
+
* Determines whether the rule enforces a consistent style when the return value is an object literal.
|
|
8076
|
+
|
|
8077
|
+
This option is only applicable when used in conjunction with the `asNeeded` option.
|
|
8078
|
+
*/
|
|
8079
|
+
requireForObjectLiteral?: boolean;
|
|
8080
|
+
/**
|
|
8081
|
+
* The style to enforce for arrow function return statements.
|
|
8082
|
+
*/
|
|
8083
|
+
style?: UseConsistentArrowReturnStyle;
|
|
8084
|
+
}
|
|
7947
8085
|
interface UseConsistentTypeDefinitionsOptions {
|
|
7948
8086
|
style?: ConsistentTypeDefinition;
|
|
7949
8087
|
}
|
|
8088
|
+
interface UseDeprecatedDateOptions {
|
|
8089
|
+
argumentName?: string;
|
|
8090
|
+
}
|
|
7950
8091
|
interface UseExhaustiveSwitchCasesOptions {}
|
|
7951
8092
|
interface UseExplicitTypeOptions {}
|
|
7952
8093
|
type UseImageSizeOptions = null;
|
|
@@ -7957,6 +8098,8 @@ interface UseMaxParamsOptions {
|
|
|
7957
8098
|
max?: number;
|
|
7958
8099
|
}
|
|
7959
8100
|
interface UseQwikClasslistOptions {}
|
|
8101
|
+
interface UseQwikMethodUsageOptions {}
|
|
8102
|
+
interface UseQwikValidLexicalScopeOptions {}
|
|
7960
8103
|
interface UseReactFunctionComponentsOptions {}
|
|
7961
8104
|
interface UseSortedClassesOptions {
|
|
7962
8105
|
/**
|
|
@@ -8305,6 +8448,7 @@ For example, for React's `useRef()` hook the value would be `true`, while for `u
|
|
|
8305
8448
|
*/
|
|
8306
8449
|
stableResult?: StableHookResult;
|
|
8307
8450
|
}
|
|
8451
|
+
type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
|
|
8308
8452
|
type ConsistentTypeDefinition = "interface" | "type";
|
|
8309
8453
|
type PropertyAssignmentMode = "allow" | "deny";
|
|
8310
8454
|
type Paths = string | PathOptions;
|
|
@@ -8626,6 +8770,8 @@ type Category =
|
|
|
8626
8770
|
| "lint/correctness/useValidTypeof"
|
|
8627
8771
|
| "lint/correctness/useYield"
|
|
8628
8772
|
| "lint/nursery/noColorInvalidHex"
|
|
8773
|
+
| "lint/nursery/noDeprecatedImports"
|
|
8774
|
+
| "lint/nursery/noDuplicateDependencies"
|
|
8629
8775
|
| "lint/nursery/noFloatingPromises"
|
|
8630
8776
|
| "lint/nursery/noImplicitCoercion"
|
|
8631
8777
|
| "lint/nursery/noImportCycles"
|
|
@@ -8635,15 +8781,18 @@ type Category =
|
|
|
8635
8781
|
| "lint/nursery/noNextAsyncClientComponent"
|
|
8636
8782
|
| "lint/nursery/noNonNullAssertedOptionalChain"
|
|
8637
8783
|
| "lint/nursery/noQwikUseVisibleTask"
|
|
8784
|
+
| "lint/nursery/noReactForwardRef"
|
|
8638
8785
|
| "lint/nursery/noSecrets"
|
|
8639
8786
|
| "lint/nursery/noShadow"
|
|
8640
8787
|
| "lint/nursery/noUnnecessaryConditions"
|
|
8641
8788
|
| "lint/nursery/noUnresolvedImports"
|
|
8789
|
+
| "lint/nursery/noUnusedExpressions"
|
|
8642
8790
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
8643
8791
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
8644
8792
|
| "lint/nursery/noUselessCatchBinding"
|
|
8645
8793
|
| "lint/nursery/noUselessUndefined"
|
|
8646
8794
|
| "lint/nursery/noVueDataObjectDeclaration"
|
|
8795
|
+
| "lint/nursery/noVueDuplicateKeys"
|
|
8647
8796
|
| "lint/nursery/noVueReservedKeys"
|
|
8648
8797
|
| "lint/nursery/noVueReservedProps"
|
|
8649
8798
|
| "lint/nursery/useAnchorHref"
|
|
@@ -8651,6 +8800,7 @@ type Category =
|
|
|
8651
8800
|
| "lint/nursery/useConsistentArrowReturn"
|
|
8652
8801
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
8653
8802
|
| "lint/nursery/useConsistentTypeDefinitions"
|
|
8803
|
+
| "lint/nursery/useDeprecatedDate"
|
|
8654
8804
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8655
8805
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
8656
8806
|
| "lint/nursery/useExplicitType"
|
|
@@ -8659,6 +8809,8 @@ type Category =
|
|
|
8659
8809
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8660
8810
|
| "lint/nursery/useMaxParams"
|
|
8661
8811
|
| "lint/nursery/useQwikClasslist"
|
|
8812
|
+
| "lint/nursery/useQwikMethodUsage"
|
|
8813
|
+
| "lint/nursery/useQwikValidLexicalScope"
|
|
8662
8814
|
| "lint/nursery/useReactFunctionComponents"
|
|
8663
8815
|
| "lint/nursery/useSortedClasses"
|
|
8664
8816
|
| "lint/nursery/useVueMultiWordComponentNames"
|
|
@@ -8776,7 +8928,6 @@ type Category =
|
|
|
8776
8928
|
| "lint/suspicious/noDuplicateCase"
|
|
8777
8929
|
| "lint/suspicious/noDuplicateClassMembers"
|
|
8778
8930
|
| "lint/suspicious/noDuplicateCustomProperties"
|
|
8779
|
-
| "lint/nursery/noDuplicateDependencies"
|
|
8780
8931
|
| "lint/suspicious/noDuplicateElseIf"
|
|
8781
8932
|
| "lint/suspicious/noDuplicateFields"
|
|
8782
8933
|
| "lint/suspicious/noDuplicateFontNames"
|
|
@@ -9387,6 +9538,7 @@ interface DropPatternParams {
|
|
|
9387
9538
|
|
|
9388
9539
|
export class DiagnosticPrinter {
|
|
9389
9540
|
free(): void;
|
|
9541
|
+
[Symbol.dispose](): void;
|
|
9390
9542
|
constructor(file_name: string, file_source: string);
|
|
9391
9543
|
print_simple(diagnostic: Diagnostic): void;
|
|
9392
9544
|
print_verbose(diagnostic: Diagnostic): void;
|
|
@@ -9394,12 +9546,14 @@ export class DiagnosticPrinter {
|
|
|
9394
9546
|
}
|
|
9395
9547
|
export class MemoryFileSystem {
|
|
9396
9548
|
free(): void;
|
|
9549
|
+
[Symbol.dispose](): void;
|
|
9397
9550
|
constructor();
|
|
9398
9551
|
insert(path: string, data: Uint8Array): void;
|
|
9399
9552
|
remove(path: string): void;
|
|
9400
9553
|
}
|
|
9401
9554
|
export class Workspace {
|
|
9402
9555
|
free(): void;
|
|
9556
|
+
[Symbol.dispose](): void;
|
|
9403
9557
|
constructor();
|
|
9404
9558
|
static withFileSystem(fs: MemoryFileSystem): Workspace;
|
|
9405
9559
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
package/biome_wasm.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
|
-
let wasm;
|
|
5
|
-
const { TextEncoder, TextDecoder } = require(`util`);
|
|
6
|
-
|
|
7
|
-
let WASM_VECTOR_LEN = 0;
|
|
8
4
|
|
|
9
5
|
let cachedUint8ArrayMemory0 = null;
|
|
10
6
|
|
|
@@ -15,20 +11,33 @@ function getUint8ArrayMemory0() {
|
|
|
15
11
|
return cachedUint8ArrayMemory0;
|
|
16
12
|
}
|
|
17
13
|
|
|
18
|
-
let
|
|
14
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
15
|
+
|
|
16
|
+
cachedTextDecoder.decode();
|
|
17
|
+
|
|
18
|
+
function decodeText(ptr, len) {
|
|
19
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function getStringFromWasm0(ptr, len) {
|
|
23
|
+
ptr = ptr >>> 0;
|
|
24
|
+
return decodeText(ptr, len);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
let WASM_VECTOR_LEN = 0;
|
|
28
|
+
|
|
29
|
+
const cachedTextEncoder = new TextEncoder();
|
|
19
30
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
31
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
32
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
33
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
34
|
+
view.set(buf);
|
|
35
|
+
return {
|
|
36
|
+
read: arg.length,
|
|
37
|
+
written: buf.length
|
|
38
|
+
};
|
|
39
|
+
}
|
|
23
40
|
}
|
|
24
|
-
: function (arg, view) {
|
|
25
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
26
|
-
view.set(buf);
|
|
27
|
-
return {
|
|
28
|
-
read: arg.length,
|
|
29
|
-
written: buf.length
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
41
|
|
|
33
42
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
34
43
|
|
|
@@ -59,7 +68,7 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
59
68
|
}
|
|
60
69
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
61
70
|
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
62
|
-
const ret =
|
|
71
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
63
72
|
|
|
64
73
|
offset += ret.written;
|
|
65
74
|
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
@@ -93,13 +102,9 @@ function handleError(f, args) {
|
|
|
93
102
|
}
|
|
94
103
|
}
|
|
95
104
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
cachedTextDecoder.decode();
|
|
99
|
-
|
|
100
|
-
function getStringFromWasm0(ptr, len) {
|
|
105
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
101
106
|
ptr = ptr >>> 0;
|
|
102
|
-
return
|
|
107
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
103
108
|
}
|
|
104
109
|
|
|
105
110
|
function isLikeNone(x) {
|
|
@@ -171,7 +176,7 @@ function debugString(val) {
|
|
|
171
176
|
return className;
|
|
172
177
|
}
|
|
173
178
|
|
|
174
|
-
|
|
179
|
+
exports.main = function() {
|
|
175
180
|
wasm.main();
|
|
176
181
|
};
|
|
177
182
|
|
|
@@ -266,7 +271,9 @@ class DiagnosticPrinter {
|
|
|
266
271
|
}
|
|
267
272
|
}
|
|
268
273
|
}
|
|
269
|
-
|
|
274
|
+
if (Symbol.dispose) DiagnosticPrinter.prototype[Symbol.dispose] = DiagnosticPrinter.prototype.free;
|
|
275
|
+
|
|
276
|
+
exports.DiagnosticPrinter = DiagnosticPrinter;
|
|
270
277
|
|
|
271
278
|
const MemoryFileSystemFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
272
279
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -311,7 +318,9 @@ class MemoryFileSystem {
|
|
|
311
318
|
wasm.memoryfilesystem_remove(this.__wbg_ptr, ptr0, len0);
|
|
312
319
|
}
|
|
313
320
|
}
|
|
314
|
-
|
|
321
|
+
if (Symbol.dispose) MemoryFileSystem.prototype[Symbol.dispose] = MemoryFileSystem.prototype.free;
|
|
322
|
+
|
|
323
|
+
exports.MemoryFileSystem = MemoryFileSystem;
|
|
315
324
|
|
|
316
325
|
const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
317
326
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -691,9 +700,21 @@ class Workspace {
|
|
|
691
700
|
return takeFromExternrefTable0(ret[0]);
|
|
692
701
|
}
|
|
693
702
|
}
|
|
694
|
-
|
|
703
|
+
if (Symbol.dispose) Workspace.prototype[Symbol.dispose] = Workspace.prototype.free;
|
|
695
704
|
|
|
696
|
-
|
|
705
|
+
exports.Workspace = Workspace;
|
|
706
|
+
|
|
707
|
+
exports.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
|
|
708
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
709
|
+
return ret;
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
exports.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
|
|
713
|
+
const ret = Number(arg0);
|
|
714
|
+
return ret;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
697
718
|
const ret = String(arg1);
|
|
698
719
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
699
720
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -701,27 +722,22 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
|
701
722
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
702
723
|
};
|
|
703
724
|
|
|
704
|
-
|
|
705
|
-
const ret = arg0.buffer;
|
|
706
|
-
return ret;
|
|
707
|
-
};
|
|
708
|
-
|
|
709
|
-
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
725
|
+
exports.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
|
|
710
726
|
const ret = arg0.call(arg1);
|
|
711
727
|
return ret;
|
|
712
728
|
}, arguments) };
|
|
713
729
|
|
|
714
|
-
|
|
730
|
+
exports.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
|
|
715
731
|
const ret = arg0.done;
|
|
716
732
|
return ret;
|
|
717
733
|
};
|
|
718
734
|
|
|
719
|
-
|
|
735
|
+
exports.__wbg_entries_2be2f15bd5554996 = function(arg0) {
|
|
720
736
|
const ret = Object.entries(arg0);
|
|
721
737
|
return ret;
|
|
722
738
|
};
|
|
723
739
|
|
|
724
|
-
|
|
740
|
+
exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
725
741
|
let deferred0_0;
|
|
726
742
|
let deferred0_1;
|
|
727
743
|
try {
|
|
@@ -733,22 +749,22 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
|
733
749
|
}
|
|
734
750
|
};
|
|
735
751
|
|
|
736
|
-
|
|
737
|
-
const ret = Reflect.get(arg0, arg1);
|
|
738
|
-
return ret;
|
|
739
|
-
}, arguments) };
|
|
740
|
-
|
|
741
|
-
module.exports.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
752
|
+
exports.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
|
|
742
753
|
const ret = arg0[arg1 >>> 0];
|
|
743
754
|
return ret;
|
|
744
755
|
};
|
|
745
756
|
|
|
746
|
-
|
|
757
|
+
exports.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
|
|
758
|
+
const ret = Reflect.get(arg0, arg1);
|
|
759
|
+
return ret;
|
|
760
|
+
}, arguments) };
|
|
761
|
+
|
|
762
|
+
exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
747
763
|
const ret = arg0[arg1];
|
|
748
764
|
return ret;
|
|
749
765
|
};
|
|
750
766
|
|
|
751
|
-
|
|
767
|
+
exports.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
|
|
752
768
|
let result;
|
|
753
769
|
try {
|
|
754
770
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -759,7 +775,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
|
759
775
|
return ret;
|
|
760
776
|
};
|
|
761
777
|
|
|
762
|
-
|
|
778
|
+
exports.__wbg_instanceof_Map_ebb01a5b6b5ffd0b = function(arg0) {
|
|
763
779
|
let result;
|
|
764
780
|
try {
|
|
765
781
|
result = arg0 instanceof Map;
|
|
@@ -770,7 +786,7 @@ module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
|
770
786
|
return ret;
|
|
771
787
|
};
|
|
772
788
|
|
|
773
|
-
|
|
789
|
+
exports.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
|
|
774
790
|
let result;
|
|
775
791
|
try {
|
|
776
792
|
result = arg0 instanceof Uint8Array;
|
|
@@ -781,104 +797,104 @@ module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
|
781
797
|
return ret;
|
|
782
798
|
};
|
|
783
799
|
|
|
784
|
-
|
|
800
|
+
exports.__wbg_isArray_030cce220591fb41 = function(arg0) {
|
|
785
801
|
const ret = Array.isArray(arg0);
|
|
786
802
|
return ret;
|
|
787
803
|
};
|
|
788
804
|
|
|
789
|
-
|
|
805
|
+
exports.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
|
|
790
806
|
const ret = Number.isSafeInteger(arg0);
|
|
791
807
|
return ret;
|
|
792
808
|
};
|
|
793
809
|
|
|
794
|
-
|
|
810
|
+
exports.__wbg_iterator_f370b34483c71a1c = function() {
|
|
795
811
|
const ret = Symbol.iterator;
|
|
796
812
|
return ret;
|
|
797
813
|
};
|
|
798
814
|
|
|
799
|
-
|
|
815
|
+
exports.__wbg_length_186546c51cd61acd = function(arg0) {
|
|
800
816
|
const ret = arg0.length;
|
|
801
817
|
return ret;
|
|
802
818
|
};
|
|
803
819
|
|
|
804
|
-
|
|
820
|
+
exports.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
|
|
805
821
|
const ret = arg0.length;
|
|
806
822
|
return ret;
|
|
807
823
|
};
|
|
808
824
|
|
|
809
|
-
|
|
825
|
+
exports.__wbg_new_19c25a3f2fa63a02 = function() {
|
|
810
826
|
const ret = new Object();
|
|
811
827
|
return ret;
|
|
812
828
|
};
|
|
813
829
|
|
|
814
|
-
|
|
815
|
-
const ret = new
|
|
830
|
+
exports.__wbg_new_1f3a344cf3123716 = function() {
|
|
831
|
+
const ret = new Array();
|
|
816
832
|
return ret;
|
|
817
833
|
};
|
|
818
834
|
|
|
819
|
-
|
|
820
|
-
const ret = new
|
|
835
|
+
exports.__wbg_new_2ff1f68f3676ea53 = function() {
|
|
836
|
+
const ret = new Map();
|
|
821
837
|
return ret;
|
|
822
838
|
};
|
|
823
839
|
|
|
824
|
-
|
|
825
|
-
const ret = new
|
|
840
|
+
exports.__wbg_new_638ebfaedbf32a5e = function(arg0) {
|
|
841
|
+
const ret = new Uint8Array(arg0);
|
|
826
842
|
return ret;
|
|
827
843
|
};
|
|
828
844
|
|
|
829
|
-
|
|
830
|
-
const ret = new
|
|
845
|
+
exports.__wbg_new_8a6f238a6ece86ea = function() {
|
|
846
|
+
const ret = new Error();
|
|
831
847
|
return ret;
|
|
832
848
|
};
|
|
833
849
|
|
|
834
|
-
|
|
850
|
+
exports.__wbg_new_da9dc54c5db29dfa = function(arg0, arg1) {
|
|
835
851
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
836
852
|
return ret;
|
|
837
853
|
};
|
|
838
854
|
|
|
839
|
-
|
|
855
|
+
exports.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
|
|
840
856
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
841
857
|
return ret;
|
|
842
858
|
};
|
|
843
859
|
|
|
844
|
-
|
|
860
|
+
exports.__wbg_next_5b3530e612fde77d = function(arg0) {
|
|
845
861
|
const ret = arg0.next;
|
|
846
862
|
return ret;
|
|
847
863
|
};
|
|
848
864
|
|
|
849
|
-
|
|
865
|
+
exports.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
|
|
850
866
|
const ret = arg0.next();
|
|
851
867
|
return ret;
|
|
852
868
|
}, arguments) };
|
|
853
869
|
|
|
854
|
-
|
|
870
|
+
exports.__wbg_now_2c95c9de01293173 = function(arg0) {
|
|
855
871
|
const ret = arg0.now();
|
|
856
872
|
return ret;
|
|
857
873
|
};
|
|
858
874
|
|
|
859
|
-
|
|
875
|
+
exports.__wbg_performance_7a3ffd0b17f663ad = function(arg0) {
|
|
860
876
|
const ret = arg0.performance;
|
|
861
877
|
return ret;
|
|
862
878
|
};
|
|
863
879
|
|
|
864
|
-
|
|
865
|
-
arg0
|
|
880
|
+
exports.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
|
|
881
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
866
882
|
};
|
|
867
883
|
|
|
868
|
-
|
|
884
|
+
exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
869
885
|
arg0[arg1] = arg2;
|
|
870
886
|
};
|
|
871
887
|
|
|
872
|
-
|
|
873
|
-
arg0
|
|
888
|
+
exports.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
|
|
889
|
+
arg0[arg1 >>> 0] = arg2;
|
|
874
890
|
};
|
|
875
891
|
|
|
876
|
-
|
|
892
|
+
exports.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
|
|
877
893
|
const ret = arg0.set(arg1, arg2);
|
|
878
894
|
return ret;
|
|
879
895
|
};
|
|
880
896
|
|
|
881
|
-
|
|
897
|
+
exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
882
898
|
const ret = arg1.stack;
|
|
883
899
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
884
900
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -886,60 +902,45 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
|
886
902
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
887
903
|
};
|
|
888
904
|
|
|
889
|
-
|
|
905
|
+
exports.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
|
|
890
906
|
const ret = typeof global === 'undefined' ? null : global;
|
|
891
907
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
892
908
|
};
|
|
893
909
|
|
|
894
|
-
|
|
910
|
+
exports.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
|
|
895
911
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
896
912
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
897
913
|
};
|
|
898
914
|
|
|
899
|
-
|
|
915
|
+
exports.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
|
|
900
916
|
const ret = typeof self === 'undefined' ? null : self;
|
|
901
917
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
902
918
|
};
|
|
903
919
|
|
|
904
|
-
|
|
920
|
+
exports.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
|
|
905
921
|
const ret = typeof window === 'undefined' ? null : window;
|
|
906
922
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
907
923
|
};
|
|
908
924
|
|
|
909
|
-
|
|
925
|
+
exports.__wbg_value_dd9372230531eade = function(arg0) {
|
|
910
926
|
const ret = arg0.value;
|
|
911
927
|
return ret;
|
|
912
928
|
};
|
|
913
929
|
|
|
914
|
-
|
|
915
|
-
const ret = +arg0;
|
|
916
|
-
return ret;
|
|
917
|
-
};
|
|
918
|
-
|
|
919
|
-
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
920
|
-
const ret = arg0;
|
|
921
|
-
return ret;
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
925
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
926
|
-
return ret;
|
|
927
|
-
};
|
|
928
|
-
|
|
929
|
-
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
930
|
+
exports.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
|
|
930
931
|
const v = arg1;
|
|
931
932
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
932
933
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
933
934
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
934
935
|
};
|
|
935
936
|
|
|
936
|
-
|
|
937
|
+
exports.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
937
938
|
const v = arg0;
|
|
938
|
-
const ret = typeof(v) === 'boolean' ?
|
|
939
|
-
return ret;
|
|
939
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
940
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
940
941
|
};
|
|
941
942
|
|
|
942
|
-
|
|
943
|
+
exports.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
943
944
|
const ret = debugString(arg1);
|
|
944
945
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
945
946
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -947,81 +948,55 @@ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
|
947
948
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
948
949
|
};
|
|
949
950
|
|
|
950
|
-
|
|
951
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
952
|
-
return ret;
|
|
953
|
-
};
|
|
954
|
-
|
|
955
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
951
|
+
exports.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
|
|
956
952
|
const ret = arg0 in arg1;
|
|
957
953
|
return ret;
|
|
958
954
|
};
|
|
959
955
|
|
|
960
|
-
|
|
961
|
-
const table = wasm.__wbindgen_export_4;
|
|
962
|
-
const offset = table.grow(4);
|
|
963
|
-
table.set(0, undefined);
|
|
964
|
-
table.set(offset + 0, undefined);
|
|
965
|
-
table.set(offset + 1, null);
|
|
966
|
-
table.set(offset + 2, true);
|
|
967
|
-
table.set(offset + 3, false);
|
|
968
|
-
;
|
|
969
|
-
};
|
|
970
|
-
|
|
971
|
-
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
956
|
+
exports.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
|
|
972
957
|
const ret = typeof(arg0) === 'bigint';
|
|
973
958
|
return ret;
|
|
974
959
|
};
|
|
975
960
|
|
|
976
|
-
|
|
961
|
+
exports.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
977
962
|
const ret = typeof(arg0) === 'function';
|
|
978
963
|
return ret;
|
|
979
964
|
};
|
|
980
965
|
|
|
981
|
-
|
|
966
|
+
exports.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
|
|
982
967
|
const val = arg0;
|
|
983
968
|
const ret = typeof(val) === 'object' && val !== null;
|
|
984
969
|
return ret;
|
|
985
970
|
};
|
|
986
971
|
|
|
987
|
-
|
|
972
|
+
exports.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
|
|
988
973
|
const ret = typeof(arg0) === 'string';
|
|
989
974
|
return ret;
|
|
990
975
|
};
|
|
991
976
|
|
|
992
|
-
|
|
977
|
+
exports.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
|
|
993
978
|
const ret = arg0 === undefined;
|
|
994
979
|
return ret;
|
|
995
980
|
};
|
|
996
981
|
|
|
997
|
-
|
|
982
|
+
exports.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
|
|
998
983
|
const ret = arg0 === arg1;
|
|
999
984
|
return ret;
|
|
1000
985
|
};
|
|
1001
986
|
|
|
1002
|
-
|
|
987
|
+
exports.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
|
|
1003
988
|
const ret = arg0 == arg1;
|
|
1004
989
|
return ret;
|
|
1005
990
|
};
|
|
1006
991
|
|
|
1007
|
-
|
|
1008
|
-
const ret = wasm.memory;
|
|
1009
|
-
return ret;
|
|
1010
|
-
};
|
|
1011
|
-
|
|
1012
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
992
|
+
exports.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
|
|
1013
993
|
const obj = arg1;
|
|
1014
994
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1015
995
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1016
996
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1017
997
|
};
|
|
1018
998
|
|
|
1019
|
-
|
|
1020
|
-
const ret = arg0;
|
|
1021
|
-
return ret;
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
999
|
+
exports.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
1025
1000
|
const obj = arg1;
|
|
1026
1001
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1027
1002
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1030,22 +1005,49 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
1030
1005
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1031
1006
|
};
|
|
1032
1007
|
|
|
1033
|
-
|
|
1008
|
+
exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
1009
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1013
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1034
1014
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1035
1015
|
return ret;
|
|
1036
1016
|
};
|
|
1037
1017
|
|
|
1038
|
-
|
|
1039
|
-
|
|
1018
|
+
exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
|
|
1019
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1020
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1021
|
+
return ret;
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
1025
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
1026
|
+
const ret = arg0;
|
|
1027
|
+
return ret;
|
|
1040
1028
|
};
|
|
1041
1029
|
|
|
1042
|
-
|
|
1043
|
-
|
|
1030
|
+
exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1031
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
1032
|
+
const ret = arg0;
|
|
1033
|
+
return ret;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
exports.__wbindgen_init_externref_table = function() {
|
|
1037
|
+
const table = wasm.__wbindgen_export_4;
|
|
1038
|
+
const offset = table.grow(4);
|
|
1039
|
+
table.set(0, undefined);
|
|
1040
|
+
table.set(offset + 0, undefined);
|
|
1041
|
+
table.set(offset + 1, null);
|
|
1042
|
+
table.set(offset + 2, true);
|
|
1043
|
+
table.set(offset + 3, false);
|
|
1044
|
+
;
|
|
1045
|
+
};
|
|
1044
1046
|
|
|
1045
|
-
const
|
|
1046
|
-
const
|
|
1047
|
-
|
|
1048
|
-
|
|
1047
|
+
const wasmPath = `${__dirname}/biome_wasm_bg.wasm`;
|
|
1048
|
+
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
1049
|
+
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
1050
|
+
const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
|
|
1049
1051
|
|
|
1050
1052
|
wasm.__wbindgen_start();
|
|
1051
1053
|
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|