-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: create getVulnerabilities function #33
Conversation
555ab7d
to
271e926
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am aware this is still a WIP but here are my first thoughts about the work already done :) I'll be happy to do another review
271e926
to
46f64a5
Compare
550a96f
to
4f16299
Compare
fcd1632
to
427443d
Compare
Seems globally ok to me, however the update to Defintion break other types. I guess you also need to check api.d.ts and update it like this: declare function setStrategy<T>(name?: Strategy.Kind, options?: Strategy.Options): Promise<Strategy.Definition<T>>;
declare function getStrategy<T>(): Promise<Strategy.Definition<T>>; |
427443d
to
af57361
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
@all-contributors please add @Mathieuka for code |
I've put up a pull request to add @Mathieuka! 🎉 |
Issue: #28
The purpose is to start decoupling the package with
Scanner
For
NPM
strategy we have implemented thegetVulnerabilities
function who return the vulnerabilities fromarborist
package.All others strategies (security-wg, snyk, sonatype) have the function
getVulnerabilities
but not implemented.Add tests.
Add Documentation.