@putout/printer
Advanced tools
Comparing version 6.6.0 to 6.7.0
@@ -24,2 +24,3 @@ 'use strict'; | ||
const isNextObject = (a) => a.getNextSibling().isObjectExpression(); | ||
const isArrayInsideArray = (path) => { | ||
@@ -29,3 +30,3 @@ if (!path.isArrayExpression() || !path.parentPath.isArrayExpression()) | ||
return path === path.parentPath.get('elements').at(-1); | ||
return path.parentPath.node.elements.length <= 3; | ||
}; | ||
@@ -142,1 +143,2 @@ | ||
}; | ||
{ | ||
"name": "@putout/printer", | ||
"version": "6.6.0", | ||
"version": "6.7.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
Sorry, the diff of this file is not supported yet
197069