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

Add npm Version Range Checks #3909

Merged
merged 4 commits into from Dec 23, 2021
Merged

Add npm Version Range Checks #3909

merged 4 commits into from Dec 23, 2021

Conversation

jeremylong
Copy link
Owner

Fixes Issue #3893

If multiple versions of a library existed when analyzing the npm audit results - dependency-check did not consider if multiple versions of a library existed in the package-lock.json file. This PR corrects the behavior and does version range checking to ensure the vulnerable version is selected.

Have test cases been added to cover the new functionality?

yes

@boring-cyborg boring-cyborg bot added core changes to core tests test cases labels Dec 21, 2021
@jeremylong jeremylong merged commit c47fceb into main Dec 23, 2021
@jeremylong jeremylong added this to the 6.5.2 milestone Dec 23, 2021
@jeremylong jeremylong deleted the npmVersionRangeBug branch December 23, 2021 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core tests test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant