babel-plugin-danger-remove-unused-import
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -54,3 +54,3 @@ 'use strict'; | ||
// ref.ID | ||
else if (parentPath.isMemberExpression() && parentPath.get('property') === path) {} | ||
else if (parentPath.isMemberExpression() && parentPath.get('property') === path && parentPath.get('computed') === false) {} | ||
// class A { ID() {} } | ||
@@ -57,0 +57,0 @@ else if ((parentPath.isClassProperty() || parentPath.isClassMethod()) && parentPath.get('key') === path) {} else { |
@@ -35,2 +35,3 @@ 'use strict'; | ||
case 'ImportSpecifier': | ||
case 'ImportNamespaceSpecifier': | ||
collection.push(item); | ||
@@ -37,0 +38,0 @@ break; |
{ | ||
"name": "babel-plugin-danger-remove-unused-import", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "", | ||
@@ -16,3 +16,6 @@ "main": "index.js", | ||
], | ||
"keywords": [], | ||
"keywords": [ | ||
"remove-unused", | ||
"babel-plugin" | ||
], | ||
"author": "", | ||
@@ -29,3 +32,16 @@ "license": "MIT", | ||
"babel-preset-stage-0": "^6.24.1" | ||
} | ||
}, | ||
"directories": { | ||
"lib": "lib", | ||
"test": "test" | ||
}, | ||
"dependencies": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/imcuttle/babel-plugin-danger-remove-unused-import.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/imcuttle/babel-plugin-danger-remove-unused-import/issues" | ||
}, | ||
"homepage": "https://github.com/imcuttle/babel-plugin-danger-remove-unused-import#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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
11203
260
2
1
0