@next/swc-wasm-nodejs 15.4.2-canary.25 → 15.4.2-canary.26
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 +24 -24
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function mdxCompileSync(value: string, opts: any): any;
|
|
4
|
-
export function mdxCompile(value: string, opts: any): Promise<any>;
|
|
5
3
|
export function minifySync(s: string, opts: any): any;
|
|
6
4
|
export function minify(s: string, opts: any): Promise<any>;
|
|
7
5
|
export function transformSync(s: any, opts: any): any;
|
|
8
6
|
export function transform(s: any, opts: any): Promise<any>;
|
|
9
7
|
export function parseSync(s: string, opts: any): any;
|
|
10
8
|
export function parse(s: string, opts: any): Promise<any>;
|
|
9
|
+
export function mdxCompileSync(value: string, opts: any): any;
|
|
10
|
+
export function mdxCompile(value: string, opts: any): Promise<any>;
|
package/wasm.js
CHANGED
|
@@ -222,29 +222,6 @@ function takeFromExternrefTable0(idx) {
|
|
|
222
222
|
wasm.__externref_table_dealloc(idx);
|
|
223
223
|
return value;
|
|
224
224
|
}
|
|
225
|
-
/**
|
|
226
|
-
* @param {string} value
|
|
227
|
-
* @param {any} opts
|
|
228
|
-
* @returns {any}
|
|
229
|
-
*/
|
|
230
|
-
module.exports.mdxCompileSync = function(value, opts) {
|
|
231
|
-
const ret = wasm.mdxCompileSync(value, opts);
|
|
232
|
-
if (ret[2]) {
|
|
233
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
234
|
-
}
|
|
235
|
-
return takeFromExternrefTable0(ret[0]);
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @param {string} value
|
|
240
|
-
* @param {any} opts
|
|
241
|
-
* @returns {Promise<any>}
|
|
242
|
-
*/
|
|
243
|
-
module.exports.mdxCompile = function(value, opts) {
|
|
244
|
-
const ret = wasm.mdxCompile(value, opts);
|
|
245
|
-
return ret;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
225
|
/**
|
|
249
226
|
* @param {string} s
|
|
250
227
|
* @param {any} opts
|
|
@@ -314,6 +291,29 @@ module.exports.parse = function(s, opts) {
|
|
|
314
291
|
return ret;
|
|
315
292
|
};
|
|
316
293
|
|
|
294
|
+
/**
|
|
295
|
+
* @param {string} value
|
|
296
|
+
* @param {any} opts
|
|
297
|
+
* @returns {any}
|
|
298
|
+
*/
|
|
299
|
+
module.exports.mdxCompileSync = function(value, opts) {
|
|
300
|
+
const ret = wasm.mdxCompileSync(value, opts);
|
|
301
|
+
if (ret[2]) {
|
|
302
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
303
|
+
}
|
|
304
|
+
return takeFromExternrefTable0(ret[0]);
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @param {string} value
|
|
309
|
+
* @param {any} opts
|
|
310
|
+
* @returns {Promise<any>}
|
|
311
|
+
*/
|
|
312
|
+
module.exports.mdxCompile = function(value, opts) {
|
|
313
|
+
const ret = wasm.mdxCompile(value, opts);
|
|
314
|
+
return ret;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
317
|
function __wbg_adapter_50(arg0, arg1, arg2) {
|
|
318
318
|
wasm.closure1131_externref_shim(arg0, arg1, arg2);
|
|
319
319
|
}
|
|
@@ -591,7 +591,7 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
591
591
|
return ret;
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
-
module.exports.
|
|
594
|
+
module.exports.__wbindgen_closure_wrapper23798 = function(arg0, arg1, arg2) {
|
|
595
595
|
const ret = makeMutClosure(arg0, arg1, 1132, __wbg_adapter_50);
|
|
596
596
|
return ret;
|
|
597
597
|
};
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|