@putout/compare
Advanced tools
Comparing version 9.13.0 to 9.14.0
@@ -28,3 +28,3 @@ 'use strict'; | ||
const isString = (a) => typeof a === 'string'; | ||
const parseExpression = (a) => a.expression || a; | ||
const parseExpression = (a) => a?.expression || a; | ||
@@ -104,3 +104,3 @@ const parseNode = (a) => a.node || a; | ||
result[name] = result[name] || jessy(way, node); | ||
result[name] = result[name] || parseExpression(jessy(way, node)); | ||
} | ||
@@ -107,0 +107,0 @@ } |
{ | ||
"name": "@putout/compare", | ||
"version": "9.13.0", | ||
"version": "9.14.0", | ||
"type": "commonjs", | ||
@@ -9,3 +9,2 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"main": "lib/compare.js", | ||
"commitType": "colon", | ||
"release": false, | ||
@@ -46,3 +45,3 @@ "tag": false, | ||
"eslint-plugin-n": "^15.2.4", | ||
"eslint-plugin-putout": "^16.0.0", | ||
"eslint-plugin-putout": "^17.0.0", | ||
"just-camel-case": "^4.0.2", | ||
@@ -49,0 +48,0 @@ "lerna": "^6.0.1", |
25470