From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/PAMapp/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js b/PAMapp/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js
index d0649f7..e4230d8 100644
--- a/PAMapp/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js
+++ b/PAMapp/node_modules/@babel/plugin-transform-async-to-generator/lib/index.js
@@ -14,12 +14,15 @@
 var _core = require("@babel/core");
 
 var _default = (0, _helperPluginUtils.declare)((api, options) => {
+  var _api$assumption, _api$assumption2;
+
   api.assertVersion(7);
   const {
     method,
     module
   } = options;
-  const noNewArrows = api.assumption("noNewArrows");
+  const noNewArrows = (_api$assumption = api.assumption("noNewArrows")) != null ? _api$assumption : true;
+  const ignoreFunctionLength = (_api$assumption2 = api.assumption("ignoreFunctionLength")) != null ? _api$assumption2 : false;
 
   if (method && module) {
     return {
@@ -37,7 +40,7 @@
 
           (0, _helperRemapAsyncToGenerator.default)(path, {
             wrapAsync
-          }, noNewArrows);
+          }, noNewArrows, ignoreFunctionLength);
         }
 
       }
@@ -51,7 +54,7 @@
         if (!path.node.async || path.node.generator) return;
         (0, _helperRemapAsyncToGenerator.default)(path, {
           wrapAsync: state.addHelper("asyncToGenerator")
-        }, noNewArrows);
+        }, noNewArrows, ignoreFunctionLength);
       }
 
     }

--
Gitblit v1.8.0