@babel/plugin-proposal-do-expressions
Advanced tools
Comparing version 7.12.13 to 7.14.0
@@ -22,4 +22,12 @@ "use strict"; | ||
exit(path) { | ||
const body = path.node.body.body; | ||
const { | ||
node | ||
} = path; | ||
if (node.async) { | ||
return; | ||
} | ||
const body = node.body.body; | ||
if (body.length) { | ||
@@ -26,0 +34,0 @@ path.replaceExpressionWithStatements(body); |
{ | ||
"name": "@babel/plugin-proposal-do-expressions", | ||
"version": "7.12.13", | ||
"version": "7.14.0", | ||
"description": "Compile do expressions to ES5", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.12.13", | ||
"@babel/helper-plugin-utils": "^7.13.0", | ||
"@babel/plugin-syntax-do-expressions": "^7.12.13" | ||
@@ -28,5 +28,5 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "7.12.13", | ||
"@babel/helper-plugin-test-runner": "7.12.13" | ||
"@babel/core": "7.14.0", | ||
"@babel/helper-plugin-test-runner": "7.13.10" | ||
} | ||
} |
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
3300
33