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

Move version dependent functions to a separate file #43

Closed
Fubinator opened this issue Oct 9, 2020 · 2 comments · Fixed by #61 or pranshumaheshwari/cvss.js#2
Closed

Move version dependent functions to a separate file #43

Fubinator opened this issue Oct 9, 2020 · 2 comments · Fixed by #61 or pranshumaheshwari/cvss.js#2
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@Fubinator
Copy link
Member

Fubinator commented Oct 9, 2020

The cvss.js file is getting quite big. To implement #26 we should make sure we won't run into problems with different versions.

Since CVSS version 3.0 and 3.1 are very similar in terms of metrics and differ for the most part only in the calculations, all functions for calculating the scores should be in a separate file.

This should increase our ability to run tests more specifically by a lot as well.

@pranshumaheshwari
Copy link
Contributor

I can work on this

@Fubinator
Copy link
Member Author

Yes, go 4 it @pranshumaheshwari if you have any questions feel free to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
2 participants