@swc/wasm 1.2.247 → 1.2.248

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/wasm.js +18 -18
  3. package/wasm_bg.wasm +0 -0
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "강동윤 <kdy1997.dev@gmail.com>"
5
5
  ],
6
6
  "description": "wasm module for swc",
7
- "version": "1.2.247",
7
+ "version": "1.2.248",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/wasm.js CHANGED
@@ -87,10 +87,6 @@ function passStringToWasm0(arg, malloc, realloc) {
87
87
  return ptr;
88
88
  }
89
89
 
90
- function isLikeNone(x) {
91
- return x === undefined || x === null;
92
- }
93
-
94
90
  let cachedInt32Memory0 = new Int32Array();
95
91
 
96
92
  function getInt32Memory0() {
@@ -100,6 +96,10 @@ function getInt32Memory0() {
100
96
  return cachedInt32Memory0;
101
97
  }
102
98
 
99
+ function isLikeNone(x) {
100
+ return x === undefined || x === null;
101
+ }
102
+
103
103
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
104
104
 
105
105
  cachedTextDecoder.decode();
@@ -309,9 +309,13 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
309
309
  return ret;
310
310
  };
311
311
 
312
- module.exports.__wbindgen_is_string = function(arg0) {
313
- const ret = typeof(getObject(arg0)) === 'string';
314
- return ret;
312
+ module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
313
+ const obj = getObject(arg1);
314
+ const ret = JSON.stringify(obj === undefined ? null : obj);
315
+ const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
316
+ const len0 = WASM_VECTOR_LEN;
317
+ getInt32Memory0()[arg0 / 4 + 1] = len0;
318
+ getInt32Memory0()[arg0 / 4 + 0] = ptr0;
315
319
  };
316
320
 
317
321
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
@@ -323,20 +327,16 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
323
327
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
324
328
  };
325
329
 
326
- module.exports.__wbindgen_json_serialize = function(arg0, arg1) {
327
- const obj = getObject(arg1);
328
- const ret = JSON.stringify(obj === undefined ? null : obj);
329
- const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
330
- const len0 = WASM_VECTOR_LEN;
331
- getInt32Memory0()[arg0 / 4 + 1] = len0;
332
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
333
- };
334
-
335
330
  module.exports.__wbindgen_json_parse = function(arg0, arg1) {
336
331
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
337
332
  return addHeapObject(ret);
338
333
  };
339
334
 
335
+ module.exports.__wbindgen_is_string = function(arg0) {
336
+ const ret = typeof(getObject(arg0)) === 'string';
337
+ return ret;
338
+ };
339
+
340
340
  module.exports.__wbg_new_52205195aa880fc2 = function(arg0, arg1) {
341
341
  try {
342
342
  var state0 = {a: arg0, b: arg1};
@@ -419,8 +419,8 @@ module.exports.__wbg_then_18da6e5453572fc8 = function(arg0, arg1) {
419
419
  return addHeapObject(ret);
420
420
  };
421
421
 
422
- module.exports.__wbindgen_closure_wrapper14777 = function(arg0, arg1, arg2) {
423
- const ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_22);
422
+ module.exports.__wbindgen_closure_wrapper14731 = function(arg0, arg1, arg2) {
423
+ const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_22);
424
424
  return addHeapObject(ret);
425
425
  };
426
426
 
package/wasm_bg.wasm CHANGED
Binary file