babel-plugin-minify-mangle-names
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -63,3 +63,3 @@ "use strict"; | ||
// capture direct evals | ||
CallExpression: function CallExpression(path) { | ||
CallExpression(path) { | ||
var callee = path.get("callee"); | ||
@@ -100,3 +100,3 @@ | ||
this.program.traverse({ | ||
Scopable: function Scopable(path) { | ||
Scopable(path) { | ||
var scope = path.scope; | ||
@@ -221,3 +221,3 @@ | ||
path.traverse({ | ||
ReferencedIdentifier: function ReferencedIdentifier(refPath) { | ||
ReferencedIdentifier(refPath) { | ||
if (refPath.node.name === oldName && refPath.scope === scope) { | ||
@@ -241,3 +241,3 @@ refPath.node.name = newName; | ||
visitor: { | ||
Program: function Program(path) { | ||
Program(path) { | ||
// If the source code is small then we're going to assume that the user | ||
@@ -244,0 +244,0 @@ // is running on this on single files before bundling. Therefore we |
{ | ||
"name": "babel-plugin-minify-mangle-names", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/babel/babili#readme", |
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
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
21457
7
502
1