Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-do-expressions

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-do-expressions - npm Package Compare versions

Comparing version 7.18.6 to 7.22.5

lib/index.js.map

10

lib/index.js

@@ -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

10

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc