@next/swc-wasm-nodejs 15.0.0-canary.183 → 15.0.0-canary.185

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 +48 -48
  3. package/wasm_bg.wasm +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/swc-wasm-nodejs",
3
- "version": "15.0.0-canary.183",
3
+ "version": "15.0.0-canary.185",
4
4
  "files": [
5
5
  "wasm_bg.wasm",
6
6
  "wasm.js",
package/wasm.js CHANGED
@@ -640,38 +640,32 @@ module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
640
640
  return ret;
641
641
  };
642
642
 
643
- module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
644
- const ret = Array.isArray(getObject(arg0));
645
- return ret;
646
- };
647
-
648
- module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
649
- const ret = getObject(arg0).length;
650
- return ret;
651
- };
652
-
653
- module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
654
- const ret = getObject(arg0)[arg1 >>> 0];
655
- return addHeapObject(ret);
643
+ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
644
+ try {
645
+ var state0 = {a: arg0, b: arg1};
646
+ var cb0 = (arg0, arg1) => {
647
+ const a = state0.a;
648
+ state0.a = 0;
649
+ try {
650
+ return __wbg_adapter_109(a, state0.b, arg0, arg1);
651
+ } finally {
652
+ state0.a = a;
653
+ }
654
+ };
655
+ const ret = new Promise(cb0);
656
+ return addHeapObject(ret);
657
+ } finally {
658
+ state0.a = state0.b = 0;
659
+ }
656
660
  };
657
661
 
658
- module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
659
- const ret = getObject(arg0).next();
660
- return addHeapObject(ret);
661
- }, arguments) };
662
-
663
- module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
664
- const ret = getObject(arg0).done;
662
+ module.exports.__wbindgen_is_bigint = function(arg0) {
663
+ const ret = typeof(getObject(arg0)) === 'bigint';
665
664
  return ret;
666
665
  };
667
666
 
668
- module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
669
- const ret = getObject(arg0).value;
670
- return addHeapObject(ret);
671
- };
672
-
673
- module.exports.__wbindgen_is_bigint = function(arg0) {
674
- const ret = typeof(getObject(arg0)) === 'bigint';
667
+ module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
668
+ const ret = Array.isArray(getObject(arg0));
675
669
  return ret;
676
670
  };
677
671
 
@@ -707,6 +701,31 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
707
701
  return addHeapObject(ret);
708
702
  };
709
703
 
704
+ module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
705
+ const ret = getObject(arg0).length;
706
+ return ret;
707
+ };
708
+
709
+ module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
710
+ const ret = getObject(arg0)[arg1 >>> 0];
711
+ return addHeapObject(ret);
712
+ };
713
+
714
+ module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
715
+ const ret = getObject(arg0).next();
716
+ return addHeapObject(ret);
717
+ }, arguments) };
718
+
719
+ module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
720
+ const ret = getObject(arg0).done;
721
+ return ret;
722
+ };
723
+
724
+ module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
725
+ const ret = getObject(arg0).value;
726
+ return addHeapObject(ret);
727
+ };
728
+
710
729
  module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
711
730
  const ret = Object.entries(getObject(arg0));
712
731
  return addHeapObject(ret);
@@ -726,25 +745,6 @@ module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
726
745
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
727
746
  };
728
747
 
729
- module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
730
- try {
731
- var state0 = {a: arg0, b: arg1};
732
- var cb0 = (arg0, arg1) => {
733
- const a = state0.a;
734
- state0.a = 0;
735
- try {
736
- return __wbg_adapter_109(a, state0.b, arg0, arg1);
737
- } finally {
738
- state0.a = a;
739
- }
740
- };
741
- const ret = new Promise(cb0);
742
- return addHeapObject(ret);
743
- } finally {
744
- state0.a = state0.b = 0;
745
- }
746
- };
747
-
748
748
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
749
749
  const ret = debugString(getObject(arg1));
750
750
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -786,8 +786,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
786
786
  return ret;
787
787
  };
788
788
 
789
- module.exports.__wbindgen_closure_wrapper24376 = function(arg0, arg1, arg2) {
790
- const ret = makeMutClosure(arg0, arg1, 1812, __wbg_adapter_48);
789
+ module.exports.__wbindgen_closure_wrapper24359 = function(arg0, arg1, arg2) {
790
+ const ret = makeMutClosure(arg0, arg1, 1813, __wbg_adapter_48);
791
791
  return addHeapObject(ret);
792
792
  };
793
793
 
package/wasm_bg.wasm CHANGED
Binary file