@babel/plugin-proposal-do-expressions
Advanced tools
Comparing version 7.18.6 to 7.21.4-esm
@@ -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.21.4-esm", | ||
"description": "Compile do expressions to ES5", | ||
@@ -20,11 +20,11 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.18.6", | ||
"@babel/plugin-syntax-do-expressions": "^7.18.6" | ||
"@babel/helper-plugin-utils": "^7.21.4-esm", | ||
"@babel/plugin-syntax-do-expressions": "^7.21.4-esm" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^7.0.0-0" | ||
"@babel/core": "^7.0.0-0 || 7.21.4-esm" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/helper-plugin-test-runner": "^7.18.6" | ||
"@babel/core": "^7.21.4-esm", | ||
"@babel/helper-plugin-test-runner": "^7.21.4-esm" | ||
}, | ||
@@ -31,0 +31,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
5181
6
34
1