@next/swc-wasm-web 12.0.7 → 12.0.8-canary.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/wasm.d.ts +2 -2
- package/wasm.js +2 -2
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @param {any} opts
|
|
6
6
|
* @returns {any}
|
|
7
7
|
*/
|
|
8
|
-
export function
|
|
8
|
+
export function browserslist(query: string, opts: any): any;
|
|
9
9
|
/**
|
|
10
10
|
* @param {string} s
|
|
11
11
|
* @param {any} opts
|
|
@@ -23,7 +23,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
23
23
|
|
|
24
24
|
export interface InitOutput {
|
|
25
25
|
readonly memory: WebAssembly.Memory;
|
|
26
|
-
readonly
|
|
26
|
+
readonly browserslist: (a: number, b: number, c: number) => number;
|
|
27
27
|
readonly minifySync: (a: number, b: number, c: number) => number;
|
|
28
28
|
readonly transformSync: (a: number, b: number, c: number) => number;
|
|
29
29
|
readonly __wbindgen_malloc: (a: number) => number;
|
package/wasm.js
CHANGED
|
@@ -117,10 +117,10 @@ function getInt32Memory0() {
|
|
|
117
117
|
* @param {any} opts
|
|
118
118
|
* @returns {any}
|
|
119
119
|
*/
|
|
120
|
-
export function
|
|
120
|
+
export function browserslist(query, opts) {
|
|
121
121
|
var ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
122
122
|
var len0 = WASM_VECTOR_LEN;
|
|
123
|
-
var ret = wasm.
|
|
123
|
+
var ret = wasm.browserslist(ptr0, len0, addHeapObject(opts));
|
|
124
124
|
return takeObject(ret);
|
|
125
125
|
}
|
|
126
126
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|