@biomejs/wasm-web 1.5.3-nightly.dca6a7a → 1.6.0
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 +491 -353
- package/biome_wasm.js +20 -20
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.js
CHANGED
|
@@ -8,6 +8,15 @@ function getObject(idx) { return heap[idx]; }
|
|
|
8
8
|
|
|
9
9
|
let heap_next = heap.length;
|
|
10
10
|
|
|
11
|
+
function addHeapObject(obj) {
|
|
12
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
13
|
+
const idx = heap_next;
|
|
14
|
+
heap_next = heap[idx];
|
|
15
|
+
|
|
16
|
+
heap[idx] = obj;
|
|
17
|
+
return idx;
|
|
18
|
+
}
|
|
19
|
+
|
|
11
20
|
function dropObject(idx) {
|
|
12
21
|
if (idx < 132) return;
|
|
13
22
|
heap[idx] = heap_next;
|
|
@@ -20,15 +29,6 @@ function takeObject(idx) {
|
|
|
20
29
|
return ret;
|
|
21
30
|
}
|
|
22
31
|
|
|
23
|
-
function addHeapObject(obj) {
|
|
24
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
25
|
-
const idx = heap_next;
|
|
26
|
-
heap_next = heap[idx];
|
|
27
|
-
|
|
28
|
-
heap[idx] = obj;
|
|
29
|
-
return idx;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
32
|
const cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
33
33
|
|
|
34
34
|
cachedTextDecoder.decode();
|
|
@@ -690,17 +690,6 @@ async function load(module, imports) {
|
|
|
690
690
|
function getImports() {
|
|
691
691
|
const imports = {};
|
|
692
692
|
imports.wbg = {};
|
|
693
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
694
|
-
const ret = getObject(arg0) === undefined;
|
|
695
|
-
return ret;
|
|
696
|
-
};
|
|
697
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
698
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
699
|
-
return ret;
|
|
700
|
-
};
|
|
701
|
-
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
702
|
-
takeObject(arg0);
|
|
703
|
-
};
|
|
704
693
|
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
705
694
|
const v = getObject(arg0);
|
|
706
695
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
@@ -718,6 +707,9 @@ function getImports() {
|
|
|
718
707
|
const ret = getObject(arg0) === getObject(arg1);
|
|
719
708
|
return ret;
|
|
720
709
|
};
|
|
710
|
+
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
711
|
+
takeObject(arg0);
|
|
712
|
+
};
|
|
721
713
|
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
722
714
|
const ret = BigInt.asUintN(64, arg0);
|
|
723
715
|
return addHeapObject(ret);
|
|
@@ -745,10 +737,18 @@ function getImports() {
|
|
|
745
737
|
const ret = typeof(val) === 'object' && val !== null;
|
|
746
738
|
return ret;
|
|
747
739
|
};
|
|
740
|
+
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
741
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
742
|
+
return ret;
|
|
743
|
+
};
|
|
748
744
|
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
749
745
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
750
746
|
return ret;
|
|
751
747
|
};
|
|
748
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
749
|
+
const ret = getObject(arg0) === undefined;
|
|
750
|
+
return ret;
|
|
751
|
+
};
|
|
752
752
|
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
753
753
|
const ret = getObject(arg0) == getObject(arg1);
|
|
754
754
|
return ret;
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.
|
|
1
|
+
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.6.0","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}
|