@babel/plugin-proposal-export-namespace-from
Advanced tools
Comparing version 7.10.4 to 7.12.0
@@ -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" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4161
45
0