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

Remove version normalization #60

Merged
merged 2 commits into from
Sep 6, 2021

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Sep 6, 2021

Both the v prefix as well as the +incompatible suffix are parts of the actual version.

Removing them as part of "version normalization" was done to ensure compatibility with vulnerability scanners like OSS Index, which can't deal with the v prefix (OSSIndex/vulns#129 (comment)).

I have been reflecting on this, and I don't believe this implementation should be concerned with shortcomings of some scanner. If anything, ensuring correct version formatting should be a concern of OSS Index users (or clients, like OWASP Dependency-Track).

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.

1 participant