Skip to content

Commit

Permalink
docs(README): avoid scroll in TypeScript examples (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken authored Mar 18, 2024
1 parent 1a02877 commit 86cf262
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Strategy extend from the following set of interfaces;
export interface BaseStrategy<T extends Kind> {
/** Name of the strategy **/
strategy: T;
/** Method to hydrate (insert/push) vulnerabilities in the dependencies retrieved by the Scanner **/
/** Method to hydrate dependency vulnerabilities fetched by the Scanner **/
hydratePayloadDependencies: (
dependencies: Dependencies,
options?: HydratePayloadDepsOptions
Expand Down Expand Up @@ -149,7 +149,8 @@ export interface StandardVulnerability {
cves?: string[];
/**
* Common Vulnerability Scoring System (CVSS) provides a way to capture
* the principal characteristics of a vulnerability, and produce a numerical score reflecting its severity,
* the principal characteristics of a vulnerability,
* and produce a numerical score reflecting its severity,
* as well as a textual representation of that score. **/
cvssVector?: string;
/** CVSS Score **/
Expand Down

0 comments on commit 86cf262

Please sign in to comment.