@babel/helper-remap-async-to-generator
Advanced tools
Comparing version 7.16.7 to 7.16.8
@@ -35,3 +35,3 @@ "use strict"; | ||
function _default(path, helpers, noNewArrows) { | ||
function _default(path, helpers, noNewArrows, ignoreFunctionLength) { | ||
path.traverse(awaitVisitor, { | ||
@@ -43,3 +43,3 @@ wrapAwait: helpers.wrapAwait | ||
path.node.generator = true; | ||
(0, _helperWrapFunction.default)(path, cloneNode(helpers.wrapAsync), noNewArrows); | ||
(0, _helperWrapFunction.default)(path, cloneNode(helpers.wrapAsync), noNewArrows, ignoreFunctionLength); | ||
const isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty(); | ||
@@ -46,0 +46,0 @@ |
{ | ||
"name": "@babel/helper-remap-async-to-generator", | ||
"version": "7.16.7", | ||
"version": "7.16.8", | ||
"description": "Helper function to remap async functions to generators", | ||
@@ -18,7 +18,7 @@ "repository": { | ||
"@babel/helper-annotate-as-pure": "^7.16.7", | ||
"@babel/helper-wrap-function": "^7.16.7", | ||
"@babel/types": "^7.16.7" | ||
"@babel/helper-wrap-function": "^7.16.8", | ||
"@babel/types": "^7.16.8" | ||
}, | ||
"devDependencies": { | ||
"@babel/traverse": "^7.16.7" | ||
"@babel/traverse": "^7.16.8" | ||
}, | ||
@@ -25,0 +25,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4177
Updated@babel/types@^7.16.8