Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-export-namespace-from

Package Overview
Dependencies
Maintainers
6
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-export-namespace-from - npm Package Compare versions

Comparing version 7.10.4 to 7.12.0

4

lib/index.js

@@ -23,2 +23,4 @@ "use strict";

ExportNamedDeclaration(path) {
var _exported$name;
const {

@@ -43,3 +45,3 @@ node,

} = specifier;
const uid = scope.generateUidIdentifier(exported.name);
const uid = scope.generateUidIdentifier((_exported$name = exported.name) != null ? _exported$name : exported.value);
nodes.push(_core.types.importDeclaration([_core.types.importNamespaceSpecifier(uid)], _core.types.cloneNode(node.source)), _core.types.exportNamedDeclaration(null, [_core.types.exportSpecifier(_core.types.cloneNode(uid), exported)]));

@@ -46,0 +48,0 @@

{
"name": "@babel/plugin-proposal-export-namespace-from",
"version": "7.10.4",
"version": "7.12.0",
"description": "Compile export namespace to ES2015",

@@ -26,6 +26,5 @@ "repository": {

"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/core": "^7.12.0",
"@babel/helper-plugin-test-runner": "^7.10.4"
},
"gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df"
}
}
}
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