@biomejs/wasm-web 2.3.4 → 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 +32 -2
- package/biome_wasm.js +130 -138
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -1609,6 +1609,10 @@ interface Nursery {
|
|
|
1609
1609
|
* Enables the recommended rules for this group
|
|
1610
1610
|
*/
|
|
1611
1611
|
recommended?: boolean;
|
|
1612
|
+
/**
|
|
1613
|
+
* Require Array#sort and Array#toSorted calls to always provide a compareFunction.
|
|
1614
|
+
*/
|
|
1615
|
+
useArraySortCompare?: RuleConfiguration_for_UseArraySortCompareOptions;
|
|
1612
1616
|
/**
|
|
1613
1617
|
* Enforce consistent arrow function bodies.
|
|
1614
1618
|
*/
|
|
@@ -2968,6 +2972,9 @@ type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
|
2968
2972
|
type RuleConfiguration_for_NoVueReservedPropsOptions =
|
|
2969
2973
|
| RulePlainConfiguration
|
|
2970
2974
|
| RuleWithOptions_for_NoVueReservedPropsOptions;
|
|
2975
|
+
type RuleConfiguration_for_UseArraySortCompareOptions =
|
|
2976
|
+
| RulePlainConfiguration
|
|
2977
|
+
| RuleWithOptions_for_UseArraySortCompareOptions;
|
|
2971
2978
|
type RuleFixConfiguration_for_UseConsistentArrowReturnOptions =
|
|
2972
2979
|
| RulePlainConfiguration
|
|
2973
2980
|
| RuleWithFixOptions_for_UseConsistentArrowReturnOptions;
|
|
@@ -5583,6 +5590,16 @@ interface RuleWithOptions_for_NoVueReservedPropsOptions {
|
|
|
5583
5590
|
*/
|
|
5584
5591
|
options: NoVueReservedPropsOptions;
|
|
5585
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
|
+
}
|
|
5586
5603
|
interface RuleWithFixOptions_for_UseConsistentArrowReturnOptions {
|
|
5587
5604
|
/**
|
|
5588
5605
|
* The kind of the code actions emitted by the rule
|
|
@@ -8191,6 +8208,7 @@ interface NoVueDataObjectDeclarationOptions {}
|
|
|
8191
8208
|
interface NoVueDuplicateKeysOptions {}
|
|
8192
8209
|
interface NoVueReservedKeysOptions {}
|
|
8193
8210
|
interface NoVueReservedPropsOptions {}
|
|
8211
|
+
interface UseArraySortCompareOptions {}
|
|
8194
8212
|
interface UseConsistentArrowReturnOptions {
|
|
8195
8213
|
/**
|
|
8196
8214
|
* Determines whether the rule enforces a consistent style when the return value is an object literal.
|
|
@@ -8938,6 +8956,7 @@ type Category =
|
|
|
8938
8956
|
| "lint/nursery/noVueReservedKeys"
|
|
8939
8957
|
| "lint/nursery/noVueReservedProps"
|
|
8940
8958
|
| "lint/nursery/useAnchorHref"
|
|
8959
|
+
| "lint/nursery/useArraySortCompare"
|
|
8941
8960
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
8942
8961
|
| "lint/nursery/useConsistentArrowReturn"
|
|
8943
8962
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
@@ -9370,7 +9389,18 @@ interface HtmlFileSource {
|
|
|
9370
9389
|
interface GritFileSource {
|
|
9371
9390
|
variant: GritVariant;
|
|
9372
9391
|
}
|
|
9373
|
-
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
|
+
};
|
|
9374
9404
|
type Language = "javaScript" | { typeScript: { definition_file: boolean } };
|
|
9375
9405
|
type ModuleKind = "script" | "module";
|
|
9376
9406
|
type LanguageVariant = "standard" | "standardRestricted" | "jsx";
|
|
@@ -9774,7 +9804,7 @@ export interface InitOutput {
|
|
|
9774
9804
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
9775
9805
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
9776
9806
|
readonly __externref_table_alloc: () => number;
|
|
9777
|
-
readonly
|
|
9807
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
9778
9808
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
9779
9809
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
9780
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
|