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

[fix] safe-npm spinner issue #178

Merged
merged 1 commit into from
Aug 22, 2024
Merged

[fix] safe-npm spinner issue #178

merged 1 commit into from
Aug 22, 2024

Conversation

charliegerard
Copy link
Contributor

@charliegerard charliegerard commented Aug 21, 2024

When using recent versions of node & npm, the npmlog module is replaced with proc-log. This introduced a UX bug where the safe npm command output was getting swallowed by the default npm install spinner, so when the user is prompted to accept or reject potentially malicious packages, the input disappears.

This PR implements a fix. Demo

@charliegerard charliegerard marked this pull request as ready for review August 21, 2024 21:04
@charliegerard charliegerard requested a review from bmeck August 21, 2024 21:04
@charliegerard charliegerard merged commit 13aac33 into master Aug 22, 2024
11 checks passed
@charliegerard charliegerard deleted the cg/fixIssueSpinner branch August 22, 2024 21:41
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

Successfully merging this pull request may close these issues.

2 participants