@babel/helper-remap-async-to-generator
Advanced tools
Comparing version 7.12.13 to 7.13.0
@@ -40,3 +40,3 @@ "use strict"; | ||
function _default(path, helpers) { | ||
function _default(path, helpers, noNewArrows) { | ||
path.traverse(awaitVisitor, { | ||
@@ -48,3 +48,3 @@ wrapAwait: helpers.wrapAwait | ||
path.node.generator = true; | ||
(0, _helperWrapFunction.default)(path, t.cloneNode(helpers.wrapAsync)); | ||
(0, _helperWrapFunction.default)(path, t.cloneNode(helpers.wrapAsync), noNewArrows); | ||
const isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty(); | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "@babel/helper-remap-async-to-generator", | ||
"version": "7.12.13", | ||
"version": "7.13.0", | ||
"description": "Helper function to remap async functions to generators", | ||
@@ -18,8 +18,8 @@ "repository": { | ||
"@babel/helper-annotate-as-pure": "^7.12.13", | ||
"@babel/helper-wrap-function": "^7.12.13", | ||
"@babel/types": "^7.12.13" | ||
"@babel/helper-wrap-function": "^7.13.0", | ||
"@babel/types": "^7.13.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/traverse": "7.12.13" | ||
"@babel/traverse": "7.13.0" | ||
} | ||
} |
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
5165
Updated@babel/types@^7.13.0