@putout/compare
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -40,4 +40,2 @@ 'use strict'; | ||
//if (isTemplateLiteral(node)) | ||
//return node.quasis[0].value.raw; | ||
if (isTemplateElement(node)) | ||
@@ -101,3 +99,3 @@ return node.value.raw; | ||
result[name] = result[name] || jessy(way, node) || node; | ||
result[name] = result[name] || jessy(way, node); | ||
} | ||
@@ -104,0 +102,0 @@ } |
{ | ||
"name": "@putout/compare", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "compare ast-nodes", |
@@ -28,2 +28,3 @@ # putout-compare [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] | ||
const node = template.ast('const [] = a'); | ||
getTemplateValues(node, 'const __array = array'); | ||
@@ -30,0 +31,0 @@ // returns |
170
19885
483