Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-add-module-exports

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-add-module-exports - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

lib/index.js

@@ -10,6 +10,10 @@ // Dependencies

exit: function(path){
if(path.BABEL_PLUGIN_ADD_MODULE_EXPORTS){
return
}
var topNodes= []
topNodes.push(babelTemplate('module.exports = Object.assign(exports.default,exports);')())
topNodes.push(babelTemplate('module.exports=Object.assign(exports.default,exports);')())
path.pushContainer('body',topNodes)
path.BABEL_PLUGIN_ADD_MODULE_EXPORTS= true
},

@@ -16,0 +20,0 @@ },

2

package.json
{
"name": "babel-plugin-add-module-exports",
"version": "0.0.1",
"version": "0.0.2",
"description": "Fix babel/babel#2212",

@@ -5,0 +5,0 @@

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