You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@putout/plugin-convert-const-to-let

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/plugin-convert-const-to-let - npm Package Compare versions

Comparing version

to
1.2.0

3

lib/convert-const-to-let.js

@@ -19,2 +19,5 @@ 'use strict';

if (!parentPath.node)
continue;
if (binding.path.isVariableDeclarator() && parentPath.node.kind === 'const') {

@@ -21,0 +24,0 @@ push(binding.path.parentPath);

7

package.json
{
"name": "@putout/plugin-convert-const-to-let",
"version": "1.1.3",
"version": "1.2.0",
"type": "commonjs",

@@ -38,7 +38,8 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

"devDependencies": {
"@putout/plugin-split-variable-declarations": "*",
"@putout/test": "^5.0.0",
"c8": "^7.5.0",
"eslint": "^8.0.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-putout": "^15.0.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-putout": "^16.0.0",
"madrun": "^9.0.0"

@@ -45,0 +46,0 @@ },