@putout/printer
Advanced tools
Comparing version 1.15.2 to 1.15.3
@@ -118,6 +118,9 @@ 'use strict'; | ||
function isNewlineBetweenElements(path, {elements}) { | ||
if (isIncreaseIndent(path)) | ||
return false; | ||
if (isInsideCallLoop(path)) | ||
return false; | ||
if (isIncreaseIndent(path)) | ||
if (isInsideLoop(path)) | ||
return false; | ||
@@ -156,1 +159,9 @@ | ||
} | ||
function isInsideLoop(path) { | ||
if (!path.parentPath.isForOfStatement()) | ||
return false; | ||
return true; | ||
} | ||
@@ -25,5 +25,8 @@ 'use strict'; | ||
print(' '); | ||
print('from'); | ||
print(' '); | ||
if (specifiers.length) { | ||
print.space(); | ||
print('from'); | ||
print.space(); | ||
} | ||
print('__source'); | ||
@@ -30,0 +33,0 @@ print(';'); |
{ | ||
"name": "@putout/printer", | ||
"version": "1.15.2", | ||
"version": "1.15.3", | ||
"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
59808
1700