docs(severity): 8.4 — @deprecated annotation on riskScoreV1
This commit is contained in:
parent
001df2ebe8
commit
2b7329151c
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ export function riskScore(counts) {
|
|||
* Legacy v1 risk score formula — kept for diff/comparison only.
|
||||
* Not exported in production paths; reference for CI re-calibration.
|
||||
*
|
||||
* @deprecated Since v7.0.0. Use riskScore() instead. Kept for diff/comparison only — not used in production paths.
|
||||
* @param {{ critical: number, high: number, medium: number, low: number, info: number }} counts
|
||||
* @returns {number} 0-100 capped score (sum-and-cap model)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue