@putout/compare
Advanced tools
Comparing version 1.3.0 to 2.0.0
@@ -99,3 +99,3 @@ 'use strict'; | ||
if (isIdentifier(id) && /^_[a-z]$/.test(id.name)) | ||
if (isIdentifier(id) && /^__[a-z]$/.test(id.name)) | ||
continue; | ||
@@ -102,0 +102,0 @@ |
{ | ||
"name": "@putout/compare", | ||
"version": "1.3.0", | ||
"version": "2.0.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "compare ast-nodes", |
@@ -25,3 +25,3 @@ # putout-compare [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] | ||
compare('const a = {}', 'const __ = {}'); | ||
compare('const hello = {}', 'const _a = {}'); | ||
compare('const hello = {}', 'const __a = {}'); | ||
compare('const a = "hello"', 'const __ = "__"'); | ||
@@ -28,0 +28,0 @@ // returns |
6828