Open source contribution: merged PR by RISHI SAHOOOpen source contribution: merged PR by RISHI SAHOO

Open source contribution: merged PR

RISHI SAHOO

RISHI SAHOO

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.
Like this project

Posted Oct 19, 2026

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 ...