Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm audit does not respect istty #31540

Closed
mcandre opened this issue Jan 27, 2020 · 1 comment
Closed

npm audit does not respect istty #31540

mcandre opened this issue Jan 27, 2020 · 1 comment

Comments

@mcandre
Copy link

mcandre commented Jan 27, 2020

Node.js has a bad history of emitting console control characters in non-interactive terminal contexts. This includes npm audit, which does not redirect or pipe correctly. Try npm audit | less for example.

@jasnell
Copy link
Member

jasnell commented Jan 27, 2020

For npm audit, there's really nothing we can do here as that project is not a part of Node.js core. I believe there are options for npm for disabling styled output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants