@putout/plugin-convert-const-to-let
Advanced tools
Comparing version
@@ -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); |
{ | ||
"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 @@ }, |
4225
3.05%20
11.11%7
16.67%