-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[npm] Consider all installed versions when checking if a dependency is still vulnerable #5801
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3a0f995
Refactor to preserve all added versions of each dependency in the set
bdragon ca1fa7f
Combine all tracked versions from both when combining two sets
bdragon 75cd8f7
Allow all tracked versions of a dependency to be retrieved in inserti…
bdragon f3966d9
Add ability to store arbitrary metadata on a dependency
bdragon 1e85678
npm: Add dependencies_with_all_versions_metadata helper
bdragon e0a0946
npm: Store all tracked versions of a dependency in its metadata
bdragon 69cd1cd
npm: Check versions in its metadata when deciding if dependency is vu…
bdragon 4f8bf2d
Return all versions in insertion order by default
bdragon 150d9d5
Clarify with documentation, method names
bdragon b36eaeb
Remove unused sort option
bdragon 7c6fa02
wip: npm: Special-case #up_to_date? to account for multiple versions
bdragon 5efcefa
Merge branch 'main' into bdragon/2855-vuln-multi-version
mctofu 6d681a0
Move all_versions retrieval to Dependency
mctofu 969dbb8
Job#vulnerable? should consider all versions of the dependency
mctofu e1d3cc4
document that dependency metadata doesn't affect equality
mctofu 2718fda
Hold off on adjusting conflict explanation for a future PR
mctofu 742fe5b
Merge pull request #5837 from dependabot/mctofu/2855-vuln-multi-version
mctofu c978e32
Merge branch 'main' into bdragon/2855-vuln-multi-version
mctofu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.