Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-do-expressions

Package Overview
Dependencies
Maintainers
6
Versions
75
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.12.13 to 7.14.0

10

lib/index.js

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

8

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