@biomejs/wasm-web 2.3.3 → 2.3.5
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 +67 -18
- package/biome_wasm.js +130 -138
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1513,6 +1513,10 @@ interface Correctness {
|
|
|
1513
1513
|
useYield?: RuleConfiguration_for_UseYieldOptions;
|
|
1514
1514
|
}
|
|
1515
1515
|
interface Nursery {
|
|
1516
|
+
/**
|
|
1517
|
+
* Disallow continue statements.
|
|
1518
|
+
*/
|
|
1519
|
+
noContinue?: RuleConfiguration_for_NoContinueOptions;
|
|
1516
1520
|
/**
|
|
1517
1521
|
* Restrict imports of deprecated exports.
|
|
1518
1522
|
*/
|
|
@@ -1605,6 +1609,10 @@ interface Nursery {
|
|
|
1605
1609
|
* Enables the recommended rules for this group
|
|
1606
1610
|
*/
|
|
1607
1611
|
recommended?: boolean;
|
|
1612
|
+
/**
|
|
1613
|
+
* Require Array#sort and Array#toSorted calls to always provide a compareFunction.
|
|
1614
|
+
*/
|
|
1615
|
+
useArraySortCompare?: RuleConfiguration_for_UseArraySortCompareOptions;
|
|
1608
1616
|
/**
|
|
1609
1617
|
* Enforce consistent arrow function bodies.
|
|
1610
1618
|
*/
|
|
@@ -2895,6 +2903,9 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
|
|
|
2895
2903
|
type RuleConfiguration_for_UseYieldOptions =
|
|
2896
2904
|
| RulePlainConfiguration
|
|
2897
2905
|
| RuleWithOptions_for_UseYieldOptions;
|
|
2906
|
+
type RuleConfiguration_for_NoContinueOptions =
|
|
2907
|
+
| RulePlainConfiguration
|
|
2908
|
+
| RuleWithOptions_for_NoContinueOptions;
|
|
2898
2909
|
type RuleConfiguration_for_NoDeprecatedImportsOptions =
|
|
2899
2910
|
| RulePlainConfiguration
|
|
2900
2911
|
| RuleWithOptions_for_NoDeprecatedImportsOptions;
|
|
@@ -2961,6 +2972,9 @@ type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
|
2961
2972
|
type RuleConfiguration_for_NoVueReservedPropsOptions =
|
|
2962
2973
|
| RulePlainConfiguration
|
|
2963
2974
|
| RuleWithOptions_for_NoVueReservedPropsOptions;
|
|
2975
|
+
type RuleConfiguration_for_UseArraySortCompareOptions =
|
|
2976
|
+
| RulePlainConfiguration
|
|
2977
|
+
| RuleWithOptions_for_UseArraySortCompareOptions;
|
|
2964
2978
|
type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
|
|
2965
2979
|
| RulePlainConfiguration
|
|
2966
2980
|
| RuleWithFixOptions_for_UseConsistentArrowReturnOptions;
|
|
@@ -5318,6 +5332,16 @@ interface RuleWithOptions_for_UseYieldOptions {
|
|
|
5318
5332
|
*/
|
|
5319
5333
|
options: UseYieldOptions;
|
|
5320
5334
|
}
|
|
5335
|
+
interface RuleWithOptions_for_NoContinueOptions {
|
|
5336
|
+
/**
|
|
5337
|
+
* The severity of the emitted diagnostics by the rule
|
|
5338
|
+
*/
|
|
5339
|
+
level: RulePlainConfiguration;
|
|
5340
|
+
/**
|
|
5341
|
+
* Rule's options
|
|
5342
|
+
*/
|
|
5343
|
+
options: NoContinueOptions;
|
|
5344
|
+
}
|
|
5321
5345
|
interface RuleWithOptions_for_NoDeprecatedImportsOptions {
|
|
5322
5346
|
/**
|
|
5323
5347
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -5566,6 +5590,16 @@ interface RuleWithOptions_for_NoVueReservedPropsOptions {
|
|
|
5566
5590
|
*/
|
|
5567
5591
|
options: NoVueReservedPropsOptions;
|
|
5568
5592
|
}
|
|
5593
|
+
interface RuleWithOptions_for_UseArraySortCompareOptions {
|
|
5594
|
+
/**
|
|
5595
|
+
* The severity of the emitted diagnostics by the rule
|
|
5596
|
+
*/
|
|
5597
|
+
level: RulePlainConfiguration;
|
|
5598
|
+
/**
|
|
5599
|
+
* Rule's options
|
|
5600
|
+
*/
|
|
5601
|
+
options: UseArraySortCompareOptions;
|
|
5602
|
+
}
|
|
5569
5603
|
interface RuleWithFixOptions_for_UseConsistentArrowReturnOptions {
|
|
5570
5604
|
/**
|
|
5571
5605
|
* The kind of the code actions emitted by the rule
|
|
@@ -8022,7 +8056,7 @@ interface NoRestrictedElementsOptions {
|
|
|
8022
8056
|
/**
|
|
8023
8057
|
* Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
|
|
8024
8058
|
*/
|
|
8025
|
-
elements
|
|
8059
|
+
elements?: CustomRestrictedElements;
|
|
8026
8060
|
}
|
|
8027
8061
|
interface NoSelfAssignOptions {}
|
|
8028
8062
|
interface NoSetterReturnOptions {}
|
|
@@ -8121,6 +8155,7 @@ interface UseUniqueElementIdsOptions {
|
|
|
8121
8155
|
interface UseValidForDirectionOptions {}
|
|
8122
8156
|
interface UseValidTypeofOptions {}
|
|
8123
8157
|
interface UseYieldOptions {}
|
|
8158
|
+
interface NoContinueOptions {}
|
|
8124
8159
|
interface NoDeprecatedImportsOptions {}
|
|
8125
8160
|
interface NoDuplicateDependenciesOptions {}
|
|
8126
8161
|
interface NoEmptySourceOptions {
|
|
@@ -8162,7 +8197,7 @@ interface NoParametersOnlyUsedInRecursionOptions {}
|
|
|
8162
8197
|
interface NoReactForwardRefOptions {}
|
|
8163
8198
|
interface NoShadowOptions {}
|
|
8164
8199
|
interface NoUnknownAttributeOptions {
|
|
8165
|
-
ignore
|
|
8200
|
+
ignore?: string[];
|
|
8166
8201
|
}
|
|
8167
8202
|
interface NoUnnecessaryConditionsOptions {}
|
|
8168
8203
|
interface NoUnresolvedImportsOptions {}
|
|
@@ -8173,6 +8208,7 @@ interface NoVueDataObjectDeclarationOptions {}
|
|
|
8173
8208
|
interface NoVueDuplicateKeysOptions {}
|
|
8174
8209
|
interface NoVueReservedKeysOptions {}
|
|
8175
8210
|
interface NoVueReservedPropsOptions {}
|
|
8211
|
+
interface UseArraySortCompareOptions {}
|
|
8176
8212
|
interface UseConsistentArrowReturnOptions {
|
|
8177
8213
|
/**
|
|
8178
8214
|
* Determines whether the rule enforces a consistent style when the return value is an object literal.
|
|
@@ -8277,13 +8313,13 @@ interface NoRestrictedGlobalsOptions {
|
|
|
8277
8313
|
/**
|
|
8278
8314
|
* A list of names that should trigger the rule
|
|
8279
8315
|
*/
|
|
8280
|
-
deniedGlobals
|
|
8316
|
+
deniedGlobals?: Record<string, string>;
|
|
8281
8317
|
}
|
|
8282
8318
|
interface NoRestrictedImportsOptions {
|
|
8283
8319
|
/**
|
|
8284
8320
|
* A list of import paths that should trigger the rule.
|
|
8285
8321
|
*/
|
|
8286
|
-
paths
|
|
8322
|
+
paths?: Record<string, Paths>;
|
|
8287
8323
|
/**
|
|
8288
8324
|
* gitignore-style patterns that should trigger the rule.
|
|
8289
8325
|
*/
|
|
@@ -8312,7 +8348,7 @@ interface UseComponentExportOnlyModulesOptions {
|
|
|
8312
8348
|
/**
|
|
8313
8349
|
* A list of names that can be additionally exported from the module This option is for exports that do not hinder [React Fast Refresh](https://github.com/facebook/react/tree/main/packages/react-refresh), such as [`meta` in Remix](https://remix.run/docs/en/main/route/meta)
|
|
8314
8350
|
*/
|
|
8315
|
-
allowExportNames
|
|
8351
|
+
allowExportNames?: string[];
|
|
8316
8352
|
}
|
|
8317
8353
|
interface UseConsistentArrayTypeOptions {
|
|
8318
8354
|
syntax?: ConsistentArrayType;
|
|
@@ -8347,7 +8383,7 @@ interface UseFilenamingConventionOptions {
|
|
|
8347
8383
|
/**
|
|
8348
8384
|
* Allowed cases for file names.
|
|
8349
8385
|
*/
|
|
8350
|
-
filenameCases
|
|
8386
|
+
filenameCases?: FilenameCases;
|
|
8351
8387
|
/**
|
|
8352
8388
|
* Regular expression to enforce
|
|
8353
8389
|
*/
|
|
@@ -8355,11 +8391,11 @@ interface UseFilenamingConventionOptions {
|
|
|
8355
8391
|
/**
|
|
8356
8392
|
* If `false`, then non-ASCII characters are allowed.
|
|
8357
8393
|
*/
|
|
8358
|
-
requireAscii
|
|
8394
|
+
requireAscii?: boolean;
|
|
8359
8395
|
/**
|
|
8360
8396
|
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
|
|
8361
8397
|
*/
|
|
8362
|
-
strictCase
|
|
8398
|
+
strictCase?: boolean;
|
|
8363
8399
|
}
|
|
8364
8400
|
interface UseForOfOptions {}
|
|
8365
8401
|
interface UseFragmentSyntaxOptions {}
|
|
@@ -8376,15 +8412,15 @@ interface UseNamingConventionOptions {
|
|
|
8376
8412
|
/**
|
|
8377
8413
|
* Custom conventions.
|
|
8378
8414
|
*/
|
|
8379
|
-
conventions
|
|
8415
|
+
conventions?: Convention[];
|
|
8380
8416
|
/**
|
|
8381
8417
|
* If `false`, then non-ASCII characters are allowed.
|
|
8382
8418
|
*/
|
|
8383
|
-
requireAscii
|
|
8419
|
+
requireAscii?: boolean;
|
|
8384
8420
|
/**
|
|
8385
8421
|
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
|
|
8386
8422
|
*/
|
|
8387
|
-
strictCase
|
|
8423
|
+
strictCase?: boolean;
|
|
8388
8424
|
}
|
|
8389
8425
|
interface UseNodeAssertStrictOptions {}
|
|
8390
8426
|
interface UseNodejsImportProtocolOptions {}
|
|
@@ -8396,7 +8432,7 @@ interface UseReadonlyClassPropertiesOptions {
|
|
|
8396
8432
|
/**
|
|
8397
8433
|
* When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
|
|
8398
8434
|
*/
|
|
8399
|
-
checkAllProperties
|
|
8435
|
+
checkAllProperties?: boolean;
|
|
8400
8436
|
}
|
|
8401
8437
|
interface UseSelfClosingElementsOptions {
|
|
8402
8438
|
ignoreHtmlElements?: boolean;
|
|
@@ -8420,7 +8456,7 @@ interface NoBitwiseOperatorsOptions {
|
|
|
8420
8456
|
/**
|
|
8421
8457
|
* Allows a list of bitwise operators to be used as exceptions.
|
|
8422
8458
|
*/
|
|
8423
|
-
allow
|
|
8459
|
+
allow?: string[];
|
|
8424
8460
|
}
|
|
8425
8461
|
interface NoCatchAssignOptions {}
|
|
8426
8462
|
interface NoClassAssignOptions {}
|
|
@@ -8430,14 +8466,14 @@ interface NoConfusingLabelsOptions {
|
|
|
8430
8466
|
/**
|
|
8431
8467
|
* A list of (non-confusing) labels that should be allowed
|
|
8432
8468
|
*/
|
|
8433
|
-
allowedLabels
|
|
8469
|
+
allowedLabels?: string[];
|
|
8434
8470
|
}
|
|
8435
8471
|
interface NoConfusingVoidTypeOptions {}
|
|
8436
8472
|
interface NoConsoleOptions {
|
|
8437
8473
|
/**
|
|
8438
8474
|
* Allowed calls on the console object.
|
|
8439
8475
|
*/
|
|
8440
|
-
allow
|
|
8476
|
+
allow?: string[];
|
|
8441
8477
|
}
|
|
8442
8478
|
interface NoConstEnumOptions {}
|
|
8443
8479
|
interface NoConstantBinaryExpressionsOptions {}
|
|
@@ -8451,7 +8487,7 @@ interface NoDoubleEqualsOptions {
|
|
|
8451
8487
|
|
|
8452
8488
|
If `false`, no such exception will be made.
|
|
8453
8489
|
*/
|
|
8454
|
-
ignoreNull
|
|
8490
|
+
ignoreNull?: boolean;
|
|
8455
8491
|
}
|
|
8456
8492
|
interface NoDuplicateAtImportRulesOptions {}
|
|
8457
8493
|
interface NoDuplicateCaseOptions {}
|
|
@@ -8892,6 +8928,7 @@ type Category =
|
|
|
8892
8928
|
| "lint/correctness/useValidTypeof"
|
|
8893
8929
|
| "lint/correctness/useYield"
|
|
8894
8930
|
| "lint/nursery/noColorInvalidHex"
|
|
8931
|
+
| "lint/nursery/noContinue"
|
|
8895
8932
|
| "lint/nursery/noDeprecatedImports"
|
|
8896
8933
|
| "lint/nursery/noDuplicateDependencies"
|
|
8897
8934
|
| "lint/nursery/noEmptySource"
|
|
@@ -8919,6 +8956,7 @@ type Category =
|
|
|
8919
8956
|
| "lint/nursery/noVueReservedKeys"
|
|
8920
8957
|
| "lint/nursery/noVueReservedProps"
|
|
8921
8958
|
| "lint/nursery/useAnchorHref"
|
|
8959
|
+
| "lint/nursery/useArraySortCompare"
|
|
8922
8960
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
8923
8961
|
| "lint/nursery/useConsistentArrowReturn"
|
|
8924
8962
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
@@ -9351,7 +9389,18 @@ interface HtmlFileSource {
|
|
|
9351
9389
|
interface GritFileSource {
|
|
9352
9390
|
variant: GritVariant;
|
|
9353
9391
|
}
|
|
9354
|
-
type EmbeddingKind =
|
|
9392
|
+
type EmbeddingKind =
|
|
9393
|
+
| "Vue"
|
|
9394
|
+
| "Svelte"
|
|
9395
|
+
| "None"
|
|
9396
|
+
| {
|
|
9397
|
+
Astro: {
|
|
9398
|
+
/**
|
|
9399
|
+
* Whether the script is inside Astro frontmatter
|
|
9400
|
+
*/
|
|
9401
|
+
frontmatter: boolean;
|
|
9402
|
+
};
|
|
9403
|
+
};
|
|
9355
9404
|
type Language = "javaScript" | { typeScript: { definition_file: boolean } };
|
|
9356
9405
|
type ModuleKind = "script" | "module";
|
|
9357
9406
|
type LanguageVariant = "standard" | "standardRestricted" | "jsx";
|
|
@@ -9755,7 +9804,7 @@ export interface InitOutput {
|
|
|
9755
9804
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
9756
9805
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
9757
9806
|
readonly __externref_table_alloc: () => number;
|
|
9758
|
-
readonly
|
|
9807
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
9759
9808
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
9760
9809
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
9761
9810
|
readonly __wbindgen_start: () => void;
|
package/biome_wasm.js
CHANGED
|
@@ -93,26 +93,6 @@ function getDataViewMemory0() {
|
|
|
93
93
|
return cachedDataViewMemory0;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function addToExternrefTable0(obj) {
|
|
97
|
-
const idx = wasm.__externref_table_alloc();
|
|
98
|
-
wasm.__wbindgen_export_4.set(idx, obj);
|
|
99
|
-
return idx;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function handleError(f, args) {
|
|
103
|
-
try {
|
|
104
|
-
return f.apply(this, args);
|
|
105
|
-
} catch (e) {
|
|
106
|
-
const idx = addToExternrefTable0(e);
|
|
107
|
-
wasm.__wbindgen_exn_store(idx);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
112
|
-
ptr = ptr >>> 0;
|
|
113
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
96
|
function isLikeNone(x) {
|
|
117
97
|
return x === undefined || x === null;
|
|
118
98
|
}
|
|
@@ -182,6 +162,26 @@ function debugString(val) {
|
|
|
182
162
|
return className;
|
|
183
163
|
}
|
|
184
164
|
|
|
165
|
+
function addToExternrefTable0(obj) {
|
|
166
|
+
const idx = wasm.__externref_table_alloc();
|
|
167
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
168
|
+
return idx;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function handleError(f, args) {
|
|
172
|
+
try {
|
|
173
|
+
return f.apply(this, args);
|
|
174
|
+
} catch (e) {
|
|
175
|
+
const idx = addToExternrefTable0(e);
|
|
176
|
+
wasm.__wbindgen_exn_store(idx);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
181
|
+
ptr = ptr >>> 0;
|
|
182
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
185
|
function passArray8ToWasm0(arg, malloc) {
|
|
186
186
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
187
187
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -194,7 +194,7 @@ export function main() {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
function takeFromExternrefTable0(idx) {
|
|
197
|
-
const value = wasm.
|
|
197
|
+
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
198
198
|
wasm.__externref_table_dealloc(idx);
|
|
199
199
|
return value;
|
|
200
200
|
}
|
|
@@ -742,11 +742,11 @@ async function __wbg_load(module, imports) {
|
|
|
742
742
|
function __wbg_get_imports() {
|
|
743
743
|
const imports = {};
|
|
744
744
|
imports.wbg = {};
|
|
745
|
-
imports.wbg.
|
|
745
|
+
imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
|
|
746
746
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
747
747
|
return ret;
|
|
748
748
|
};
|
|
749
|
-
imports.wbg.
|
|
749
|
+
imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
|
|
750
750
|
const ret = Number(arg0);
|
|
751
751
|
return ret;
|
|
752
752
|
};
|
|
@@ -757,15 +757,83 @@ function __wbg_get_imports() {
|
|
|
757
757
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
758
758
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
759
759
|
};
|
|
760
|
-
imports.wbg.
|
|
760
|
+
imports.wbg.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
|
|
761
|
+
const v = arg1;
|
|
762
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
763
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
764
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
765
|
+
};
|
|
766
|
+
imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
|
|
767
|
+
const v = arg0;
|
|
768
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
769
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
770
|
+
};
|
|
771
|
+
imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
|
|
772
|
+
const ret = debugString(arg1);
|
|
773
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
774
|
+
const len1 = WASM_VECTOR_LEN;
|
|
775
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
776
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
777
|
+
};
|
|
778
|
+
imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
|
|
779
|
+
const ret = arg0 in arg1;
|
|
780
|
+
return ret;
|
|
781
|
+
};
|
|
782
|
+
imports.wbg.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
|
|
783
|
+
const ret = typeof(arg0) === 'bigint';
|
|
784
|
+
return ret;
|
|
785
|
+
};
|
|
786
|
+
imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
|
|
787
|
+
const ret = typeof(arg0) === 'function';
|
|
788
|
+
return ret;
|
|
789
|
+
};
|
|
790
|
+
imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
|
|
791
|
+
const val = arg0;
|
|
792
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
793
|
+
return ret;
|
|
794
|
+
};
|
|
795
|
+
imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
|
|
796
|
+
const ret = typeof(arg0) === 'string';
|
|
797
|
+
return ret;
|
|
798
|
+
};
|
|
799
|
+
imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
|
|
800
|
+
const ret = arg0 === undefined;
|
|
801
|
+
return ret;
|
|
802
|
+
};
|
|
803
|
+
imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
|
|
804
|
+
const ret = arg0 === arg1;
|
|
805
|
+
return ret;
|
|
806
|
+
};
|
|
807
|
+
imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
|
|
808
|
+
const ret = arg0 == arg1;
|
|
809
|
+
return ret;
|
|
810
|
+
};
|
|
811
|
+
imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
|
|
812
|
+
const obj = arg1;
|
|
813
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
814
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
815
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
816
|
+
};
|
|
817
|
+
imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
|
|
818
|
+
const obj = arg1;
|
|
819
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
820
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
821
|
+
var len1 = WASM_VECTOR_LEN;
|
|
822
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
823
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
824
|
+
};
|
|
825
|
+
imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
|
|
826
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
827
|
+
};
|
|
828
|
+
imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
|
|
761
829
|
const ret = arg0.call(arg1);
|
|
762
830
|
return ret;
|
|
763
831
|
}, arguments) };
|
|
764
|
-
imports.wbg.
|
|
832
|
+
imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
|
|
765
833
|
const ret = arg0.done;
|
|
766
834
|
return ret;
|
|
767
835
|
};
|
|
768
|
-
imports.wbg.
|
|
836
|
+
imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
|
|
769
837
|
const ret = Object.entries(arg0);
|
|
770
838
|
return ret;
|
|
771
839
|
};
|
|
@@ -780,19 +848,19 @@ function __wbg_get_imports() {
|
|
|
780
848
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
781
849
|
}
|
|
782
850
|
};
|
|
783
|
-
imports.wbg.
|
|
851
|
+
imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
784
852
|
const ret = arg0[arg1 >>> 0];
|
|
785
853
|
return ret;
|
|
786
854
|
};
|
|
787
|
-
imports.wbg.
|
|
855
|
+
imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
788
856
|
const ret = Reflect.get(arg0, arg1);
|
|
789
857
|
return ret;
|
|
790
858
|
}, arguments) };
|
|
791
|
-
imports.wbg.
|
|
859
|
+
imports.wbg.__wbg_get_with_ref_key_1dc361bd10053bfe = function(arg0, arg1) {
|
|
792
860
|
const ret = arg0[arg1];
|
|
793
861
|
return ret;
|
|
794
862
|
};
|
|
795
|
-
imports.wbg.
|
|
863
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
|
|
796
864
|
let result;
|
|
797
865
|
try {
|
|
798
866
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -802,7 +870,7 @@ function __wbg_get_imports() {
|
|
|
802
870
|
const ret = result;
|
|
803
871
|
return ret;
|
|
804
872
|
};
|
|
805
|
-
imports.wbg.
|
|
873
|
+
imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
|
|
806
874
|
let result;
|
|
807
875
|
try {
|
|
808
876
|
result = arg0 instanceof Map;
|
|
@@ -812,7 +880,7 @@ function __wbg_get_imports() {
|
|
|
812
880
|
const ret = result;
|
|
813
881
|
return ret;
|
|
814
882
|
};
|
|
815
|
-
imports.wbg.
|
|
883
|
+
imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
|
|
816
884
|
let result;
|
|
817
885
|
try {
|
|
818
886
|
result = arg0 instanceof Uint8Array;
|
|
@@ -822,62 +890,62 @@ function __wbg_get_imports() {
|
|
|
822
890
|
const ret = result;
|
|
823
891
|
return ret;
|
|
824
892
|
};
|
|
825
|
-
imports.wbg.
|
|
893
|
+
imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
|
|
826
894
|
const ret = Array.isArray(arg0);
|
|
827
895
|
return ret;
|
|
828
896
|
};
|
|
829
|
-
imports.wbg.
|
|
897
|
+
imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
|
|
830
898
|
const ret = Number.isSafeInteger(arg0);
|
|
831
899
|
return ret;
|
|
832
900
|
};
|
|
833
|
-
imports.wbg.
|
|
901
|
+
imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
|
|
834
902
|
const ret = Symbol.iterator;
|
|
835
903
|
return ret;
|
|
836
904
|
};
|
|
837
|
-
imports.wbg.
|
|
905
|
+
imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
|
|
838
906
|
const ret = arg0.length;
|
|
839
907
|
return ret;
|
|
840
908
|
};
|
|
841
|
-
imports.wbg.
|
|
909
|
+
imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
842
910
|
const ret = arg0.length;
|
|
843
911
|
return ret;
|
|
844
912
|
};
|
|
845
|
-
imports.wbg.
|
|
913
|
+
imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
|
|
846
914
|
const ret = new Object();
|
|
847
915
|
return ret;
|
|
848
916
|
};
|
|
849
|
-
imports.wbg.
|
|
850
|
-
const ret = new
|
|
917
|
+
imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
|
|
918
|
+
const ret = new Uint8Array(arg0);
|
|
851
919
|
return ret;
|
|
852
920
|
};
|
|
853
|
-
imports.wbg.
|
|
921
|
+
imports.wbg.__wbg_new_68651c719dcda04e = function() {
|
|
854
922
|
const ret = new Map();
|
|
855
923
|
return ret;
|
|
856
924
|
};
|
|
857
|
-
imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
|
|
858
|
-
const ret = new Uint8Array(arg0);
|
|
859
|
-
return ret;
|
|
860
|
-
};
|
|
861
925
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
862
926
|
const ret = new Error();
|
|
863
927
|
return ret;
|
|
864
928
|
};
|
|
865
|
-
imports.wbg.
|
|
929
|
+
imports.wbg.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
|
|
866
930
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
867
931
|
return ret;
|
|
868
932
|
};
|
|
869
|
-
imports.wbg.
|
|
870
|
-
const ret = new
|
|
933
|
+
imports.wbg.__wbg_new_e17d9f43105b08be = function() {
|
|
934
|
+
const ret = new Array();
|
|
871
935
|
return ret;
|
|
872
936
|
};
|
|
873
|
-
imports.wbg.
|
|
874
|
-
const ret = arg0
|
|
937
|
+
imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
|
|
938
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
875
939
|
return ret;
|
|
876
940
|
};
|
|
877
|
-
imports.wbg.
|
|
941
|
+
imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
|
|
878
942
|
const ret = arg0.next();
|
|
879
943
|
return ret;
|
|
880
944
|
}, arguments) };
|
|
945
|
+
imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
|
|
946
|
+
const ret = arg0.next;
|
|
947
|
+
return ret;
|
|
948
|
+
};
|
|
881
949
|
imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
|
|
882
950
|
const ret = arg0.now();
|
|
883
951
|
return ret;
|
|
@@ -886,19 +954,19 @@ function __wbg_get_imports() {
|
|
|
886
954
|
const ret = arg0.performance;
|
|
887
955
|
return ret;
|
|
888
956
|
};
|
|
889
|
-
imports.wbg.
|
|
957
|
+
imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
|
|
890
958
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
891
959
|
};
|
|
892
960
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
893
961
|
arg0[arg1] = arg2;
|
|
894
962
|
};
|
|
895
|
-
imports.wbg.
|
|
896
|
-
arg0[arg1 >>> 0] = arg2;
|
|
897
|
-
};
|
|
898
|
-
imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
|
|
963
|
+
imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
899
964
|
const ret = arg0.set(arg1, arg2);
|
|
900
965
|
return ret;
|
|
901
966
|
};
|
|
967
|
+
imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
|
|
968
|
+
arg0[arg1 >>> 0] = arg2;
|
|
969
|
+
};
|
|
902
970
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
903
971
|
const ret = arg1.stack;
|
|
904
972
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -906,94 +974,26 @@ function __wbg_get_imports() {
|
|
|
906
974
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
907
975
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
908
976
|
};
|
|
909
|
-
imports.wbg.
|
|
977
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
|
|
910
978
|
const ret = typeof global === 'undefined' ? null : global;
|
|
911
979
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
912
980
|
};
|
|
913
|
-
imports.wbg.
|
|
981
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
|
|
914
982
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
915
983
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
916
984
|
};
|
|
917
|
-
imports.wbg.
|
|
985
|
+
imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
|
|
918
986
|
const ret = typeof self === 'undefined' ? null : self;
|
|
919
987
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
920
988
|
};
|
|
921
|
-
imports.wbg.
|
|
989
|
+
imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
|
|
922
990
|
const ret = typeof window === 'undefined' ? null : window;
|
|
923
991
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
924
992
|
};
|
|
925
|
-
imports.wbg.
|
|
993
|
+
imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
|
|
926
994
|
const ret = arg0.value;
|
|
927
995
|
return ret;
|
|
928
996
|
};
|
|
929
|
-
imports.wbg.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
|
|
930
|
-
const v = arg1;
|
|
931
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
932
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
933
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
934
|
-
};
|
|
935
|
-
imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
936
|
-
const v = arg0;
|
|
937
|
-
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
938
|
-
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
939
|
-
};
|
|
940
|
-
imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
941
|
-
const ret = debugString(arg1);
|
|
942
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
943
|
-
const len1 = WASM_VECTOR_LEN;
|
|
944
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
945
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
946
|
-
};
|
|
947
|
-
imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
|
|
948
|
-
const ret = arg0 in arg1;
|
|
949
|
-
return ret;
|
|
950
|
-
};
|
|
951
|
-
imports.wbg.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
|
|
952
|
-
const ret = typeof(arg0) === 'bigint';
|
|
953
|
-
return ret;
|
|
954
|
-
};
|
|
955
|
-
imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
956
|
-
const ret = typeof(arg0) === 'function';
|
|
957
|
-
return ret;
|
|
958
|
-
};
|
|
959
|
-
imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
|
|
960
|
-
const val = arg0;
|
|
961
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
962
|
-
return ret;
|
|
963
|
-
};
|
|
964
|
-
imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
|
|
965
|
-
const ret = typeof(arg0) === 'string';
|
|
966
|
-
return ret;
|
|
967
|
-
};
|
|
968
|
-
imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
|
|
969
|
-
const ret = arg0 === undefined;
|
|
970
|
-
return ret;
|
|
971
|
-
};
|
|
972
|
-
imports.wbg.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
|
|
973
|
-
const ret = arg0 === arg1;
|
|
974
|
-
return ret;
|
|
975
|
-
};
|
|
976
|
-
imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
|
|
977
|
-
const ret = arg0 == arg1;
|
|
978
|
-
return ret;
|
|
979
|
-
};
|
|
980
|
-
imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
|
|
981
|
-
const obj = arg1;
|
|
982
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
983
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
984
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
985
|
-
};
|
|
986
|
-
imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
987
|
-
const obj = arg1;
|
|
988
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
989
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
990
|
-
var len1 = WASM_VECTOR_LEN;
|
|
991
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
992
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
993
|
-
};
|
|
994
|
-
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
|
|
995
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
996
|
-
};
|
|
997
997
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
998
998
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
999
999
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -1015,7 +1015,7 @@ function __wbg_get_imports() {
|
|
|
1015
1015
|
return ret;
|
|
1016
1016
|
};
|
|
1017
1017
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1018
|
-
const table = wasm.
|
|
1018
|
+
const table = wasm.__wbindgen_externrefs;
|
|
1019
1019
|
const offset = table.grow(4);
|
|
1020
1020
|
table.set(0, undefined);
|
|
1021
1021
|
table.set(offset + 0, undefined);
|
|
@@ -1028,10 +1028,6 @@ function __wbg_get_imports() {
|
|
|
1028
1028
|
return imports;
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
|
-
function __wbg_init_memory(imports, memory) {
|
|
1032
|
-
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
1031
|
function __wbg_finalize_init(instance, module) {
|
|
1036
1032
|
wasm = instance.exports;
|
|
1037
1033
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
@@ -1057,8 +1053,6 @@ function initSync(module) {
|
|
|
1057
1053
|
|
|
1058
1054
|
const imports = __wbg_get_imports();
|
|
1059
1055
|
|
|
1060
|
-
__wbg_init_memory(imports);
|
|
1061
|
-
|
|
1062
1056
|
if (!(module instanceof WebAssembly.Module)) {
|
|
1063
1057
|
module = new WebAssembly.Module(module);
|
|
1064
1058
|
}
|
|
@@ -1089,8 +1083,6 @@ async function __wbg_init(module_or_path) {
|
|
|
1089
1083
|
module_or_path = fetch(module_or_path);
|
|
1090
1084
|
}
|
|
1091
1085
|
|
|
1092
|
-
__wbg_init_memory(imports);
|
|
1093
|
-
|
|
1094
1086
|
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
1095
1087
|
|
|
1096
1088
|
return __wbg_finalize_init(instance, module);
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|