@putout/compare
Advanced tools
Comparing version 9.6.2 to 9.7.0
@@ -11,2 +11,3 @@ 'use strict'; | ||
isStatement, | ||
isJSXElement, | ||
} = require('@babel/types'); | ||
@@ -94,3 +95,5 @@ | ||
way = way.replace(/\.expression$/, ''); | ||
if (!isJSXElement(node)) { | ||
way = way.replace(/\.expression$/, ''); | ||
} | ||
@@ -97,0 +100,0 @@ result[name] = result[name] || jessy(way, node); |
{ | ||
"name": "@putout/compare", | ||
"version": "9.6.2", | ||
"version": "9.7.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
23446
564