New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-es2015-modules-commonjs

Package Overview
Dependencies
Maintainers
6
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-modules-commonjs - npm Package Compare versions

Comparing version 6.4.5 to 6.5.0

11

lib/index.js

@@ -464,3 +464,6 @@ "use strict";

topNodes.unshift(t.expressionStatement(hoistedExportsNode));
var node = t.expressionStatement(hoistedExportsNode);
node._blockHoist = 3;
topNodes.unshift(node);
}

@@ -472,3 +475,7 @@

if (this.opts.loose) buildTemplate = buildLooseExportsModuleDeclaration;
topNodes.unshift(buildTemplate());
var declar = buildTemplate();
declar._blockHoist = 3;
topNodes.unshift(declar);
}

@@ -475,0 +482,0 @@

2

package.json
{
"name": "babel-plugin-transform-es2015-modules-commonjs",
"version": "6.4.5",
"version": "6.5.0",
"description": "",

@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-modules-commonjs",

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