New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/plugin-remove-unused-variables

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/plugin-remove-unused-variables - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

13

lib/get-vars/get-vars.js

@@ -88,2 +88,15 @@ 'use strict';

ClassDeclaration(path) {
const {node} = path;
const {
id,
superClass,
} = node;
if (superClass)
use(path, superClass.name);
declare(path, id.name);
},
AssignmentExpression(path) {

@@ -90,0 +103,0 @@ traverseAssign(path);

2

package.json
{
"name": "@putout/plugin-remove-unused-variables",
"version": "1.4.0",
"version": "1.5.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "putout plugin adds ability to find and remove unused variables",

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