@putout/compare
Advanced tools
Comparing version 8.7.0 to 9.0.0
@@ -60,5 +60,3 @@ 'use strict'; | ||
path.find((path) => { | ||
const {key, listKey} = path; | ||
path.find(({key, listKey}) => { | ||
if (isNumber(key)) { | ||
@@ -65,0 +63,0 @@ way.unshift(`${listKey}.${key}`); |
{ | ||
"name": "@putout/compare", | ||
"version": "8.7.0", | ||
"version": "9.0.0", | ||
"type": "commonjs", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"description": "compare ast-nodes", | ||
"description": "compare ast-nodes according to 🦎 PutoutScript", | ||
"homepage": "https://github.com/coderaiser/putout/tree/master/packages/compare#readme", | ||
@@ -29,3 +29,3 @@ "main": "lib/compare.js", | ||
"@babel/types": "^7.12.6", | ||
"@putout/engine-parser": "^4.1.1", | ||
"@putout/engine-parser": "^5.0.0", | ||
"@putout/operate": "^7.0.0", | ||
@@ -46,6 +46,6 @@ "debug": "^4.1.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-putout": "^13.0.0", | ||
"eslint-plugin-putout": "^14.0.0", | ||
"just-camel-case": "^4.0.2", | ||
"lerna": "^4.0.0", | ||
"madrun": "^8.0.1", | ||
"madrun": "^9.0.0", | ||
"mock-require": "^3.0.3", | ||
@@ -55,3 +55,3 @@ "montag": "^1.0.0", | ||
"putout": "*", | ||
"supertape": "^6.0.0", | ||
"supertape": "^7.0.0", | ||
"try-catch": "^3.0.0" | ||
@@ -61,3 +61,3 @@ }, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
}, | ||
@@ -64,0 +64,0 @@ "publishConfig": { |
@@ -6,3 +6,3 @@ # @putout/compare [![NPM version][NPMIMGURL]][NPMURL] | ||
Compare AST-nodes. | ||
Compare AST-nodes according to 🦎[**PutoutScript**](https://github.com/coderaiser/putout/blob/master/docs/putout-script.md#-putoutscript). | ||
@@ -19,4 +19,6 @@ ## Install | ||
Get template values from `node` according to 🦎**PutouScript** `template`. | ||
- `node` - `AST-node` or `code` that will be generated; | ||
- `template` - template string with template variables; | ||
- `template` - 🦎**PutouScript**; | ||
@@ -23,0 +25,0 @@ ```js |
22145
201
538
+ Added@putout/engine-parser@5.6.0(transitive)
+ Addedestree-to-babel@5.2.0(transitive)
+ Addednano-memoize@2.0.0(transitive)
- Removed@putout/engine-parser@4.10.2(transitive)
- Removedestree-to-babel@4.9.0(transitive)
- Removednano-memoize@1.3.1(transitive)
Updated@putout/engine-parser@^5.0.0