Open source contribution: merged PR #1445 in recast, a widely used JavaScript code pretty-printer. Fixed a reprinting bug: adding an import alias could drop the imported name, and removing one could leave a redundant "as". Reprints the specifier when the alias shape changes, with regression tests across Esprima, Babel and TypeScript parsers. Merged by the maintainer.