@babel/plugin-proposal-do-expressions
Advanced tools
Comparing version 7.18.6 to 7.22.5
@@ -7,7 +7,4 @@ "use strict"; | ||
exports.default = void 0; | ||
var _helperPluginUtils = require("@babel/helper-plugin-utils"); | ||
var _pluginSyntaxDoExpressions = require("@babel/plugin-syntax-do-expressions"); | ||
var _default = (0, _helperPluginUtils.declare)(api => { | ||
@@ -24,9 +21,6 @@ api.assertVersion(7); | ||
} = path; | ||
if (node.async) { | ||
return; | ||
} | ||
const body = node.body.body; | ||
if (body.length) { | ||
@@ -38,3 +32,2 @@ path.replaceExpressionWithStatements(body); | ||
} | ||
} | ||
@@ -44,3 +37,4 @@ } | ||
}); | ||
exports.default = _default; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/plugin-proposal-do-expressions", | ||
"version": "7.18.6", | ||
"version": "7.22.5", | ||
"description": "Compile do expressions to ES5", | ||
@@ -20,4 +20,4 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.18.6", | ||
"@babel/plugin-syntax-do-expressions": "^7.18.6" | ||
"@babel/helper-plugin-utils": "^7.22.5", | ||
"@babel/plugin-syntax-do-expressions": "^7.22.5" | ||
}, | ||
@@ -28,4 +28,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/helper-plugin-test-runner": "^7.18.6" | ||
"@babel/core": "^7.22.5", | ||
"@babel/helper-plugin-test-runner": "^7.22.5" | ||
}, | ||
@@ -32,0 +32,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
5132
5
34