Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-danger-remove-unused-import

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-danger-remove-unused-import - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

lib/index.js

@@ -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"
}
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