@swc/wasm-web 1.2.119 → 1.2.123
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
|
@@ -29,7 +29,7 @@ export function transformSync(s: string, opts: any): any;
|
|
|
29
29
|
* @param {any} opts
|
|
30
30
|
* @returns {any}
|
|
31
31
|
*/
|
|
32
|
-
export function
|
|
32
|
+
export function browserslist(query: string, opts: any): any;
|
|
33
33
|
|
|
34
34
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ export interface InitOutput {
|
|
|
39
39
|
readonly parseSync: (a: number, b: number, c: number) => number;
|
|
40
40
|
readonly printSync: (a: number, b: number) => number;
|
|
41
41
|
readonly transformSync: (a: number, b: number, c: number) => number;
|
|
42
|
-
readonly
|
|
42
|
+
readonly browserslist: (a: number, b: number, c: number) => number;
|
|
43
43
|
readonly __wbindgen_malloc: (a: number) => number;
|
|
44
44
|
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
|
45
45
|
readonly __wbindgen_free: (a: number, b: number) => void;
|
package/wasm.js
CHANGED
|
@@ -163,10 +163,10 @@ export function transformSync(s, opts) {
|
|
|
163
163
|
* @param {any} opts
|
|
164
164
|
* @returns {any}
|
|
165
165
|
*/
|
|
166
|
-
export function
|
|
166
|
+
export function browserslist(query, opts) {
|
|
167
167
|
var ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
168
168
|
var len0 = WASM_VECTOR_LEN;
|
|
169
|
-
var ret = wasm.
|
|
169
|
+
var ret = wasm.browserslist(ptr0, len0, addHeapObject(opts));
|
|
170
170
|
return takeObject(ret);
|
|
171
171
|
}
|
|
172
172
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|