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: dedupe advisory paths in yarn auditor #243

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

kyletsang
Copy link
Contributor

Fixes #239

Duplicate paths were fixed in the npm auditor but not the yarn one as it runs through different code. I moved the dedupe code into getSummary as this is common to all the implementations.

@quinnturner
Copy link
Member

Good enough for me! It would have been nice to have getSummary not cause mutations, but it's strictly an improvement. Thank you 😄

@quinnturner quinnturner self-requested a review March 25, 2022 18:51
@quinnturner quinnturner merged commit 3650cf3 into IBM:main Mar 25, 2022
@kyletsang kyletsang deleted the yarn-fix-dupe-paths branch March 25, 2022 18:52
@quinnturner
Copy link
Member

Released in v6.1.2, available now!

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.

Long summary output for only one vulnerable advisory
2 participants