@putout/printer
Advanced tools
Comparing version 1.70.4 to 1.71.0
@@ -26,2 +26,3 @@ 'use strict'; | ||
if (spec.isImportSpecifier()) { | ||
const {imported, local} = spec.node; | ||
maybe.print(index, ', '); | ||
@@ -31,4 +32,9 @@ maybe.print(!wasSpecifier, '{'); | ||
wasSpecifier = true; | ||
print(imported.name); | ||
print(spec.get('imported')); | ||
if (imported.name !== local.name) { | ||
print(' as '); | ||
print(spec.node.local.name); | ||
} | ||
maybe.print(index === n, '}'); | ||
@@ -35,0 +41,0 @@ |
{ | ||
"name": "@putout/printer", | ||
"version": "1.70.4", | ||
"version": "1.71.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
101800
2674