babel-plugin-grommet
Advanced tools
Comparing version 0.5.1 to 0.5.2
10
index.js
@@ -52,6 +52,8 @@ const types = require('babel-types'); | ||
); | ||
transforms.push(types.importDeclaration( | ||
[newImportSpecifier], | ||
types.stringLiteral(newPath) | ||
)); | ||
if (newPath) { | ||
transforms.push(types.importDeclaration( | ||
[newImportSpecifier], | ||
types.stringLiteral(newPath) | ||
)); | ||
} | ||
}); | ||
@@ -58,0 +60,0 @@ |
{ | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"name": "babel-plugin-grommet", | ||
@@ -4,0 +4,0 @@ "description": "Babel plugin to transform member style imports into default imports", |
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
15500
63
0