@swc/wasm 1.2.248 → 1.2.249

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.248",
7
+ "version": "1.2.249",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/wasm.js CHANGED
@@ -87,6 +87,10 @@ 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
+
90
94
  let cachedInt32Memory0 = new Int32Array();
91
95
 
92
96
  function getInt32Memory0() {
@@ -96,10 +100,6 @@ function getInt32Memory0() {
96
100
  return cachedInt32Memory0;
97
101
  }
98
102
 
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,13 +309,9 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
309
309
  return ret;
310
310
  };
311
311
 
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;
312
+ module.exports.__wbindgen_is_string = function(arg0) {
313
+ const ret = typeof(getObject(arg0)) === 'string';
314
+ return ret;
319
315
  };
320
316
 
321
317
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
@@ -327,16 +323,20 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
327
323
  getInt32Memory0()[arg0 / 4 + 0] = ptr0;
328
324
  };
329
325
 
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
+
330
335
  module.exports.__wbindgen_json_parse = function(arg0, arg1) {
331
336
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
332
337
  return addHeapObject(ret);
333
338
  };
334
339
 
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_wrapper14731 = function(arg0, arg1, arg2) {
423
- const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_22);
422
+ module.exports.__wbindgen_closure_wrapper14770 = function(arg0, arg1, arg2) {
423
+ const ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_22);
424
424
  return addHeapObject(ret);
425
425
  };
426
426
 
package/wasm_bg.wasm CHANGED
Binary file