@putout/printer
Advanced tools
Comparing version 8.15.0 to 8.16.0
@@ -59,3 +59,3 @@ 'use strict'; | ||
maybe.write(!wasSpecifier, '{'); | ||
maybe.write.breakline(importsCount > maxSpecifiersInOneLine); | ||
maybe.write.breakline(importsCount >= maxSpecifiersInOneLine); | ||
@@ -70,3 +70,3 @@ wasSpecifier = true; | ||
if (importsCount <= maxSpecifiersInOneLine && notLast) { | ||
if (importsCount < maxSpecifiersInOneLine && notLast) { | ||
maybe.write(n, ','); | ||
@@ -76,3 +76,3 @@ maybe.write.space(n); | ||
if (importsCount > maxSpecifiersInOneLine) { | ||
if (importsCount >= maxSpecifiersInOneLine) { | ||
maybe.write(n, ','); | ||
@@ -121,3 +121,3 @@ | ||
if (node.imported.name !== node.local.name) | ||
return 0; | ||
return 1; | ||
} | ||
@@ -124,0 +124,0 @@ |
{ | ||
"name": "@putout/printer", | ||
"version": "8.15.0", | ||
"version": "8.16.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210705