v1.7.10
·
78 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
FrontendVulnerableDependencyAnalyzernow correctly reports vulnerability titles when running against projects using npm v7+ — npm audit v2 format stores advisory details (title,url,severity,range,cves) inside each vulnerability'sviaarray as objects rather than at the top level; the analyzer was passing the raw vulnerability object tocreateFrontendVulnerabilityIssue()which found notitlekey and fell back to "Known security vulnerability";parseNpmAuditResults()now iteratesviaentries and merges each advisory object with the parent vulnerability before creating the issue, so titles such as "ip-address has XSS in Address6 HTML-emitting methods" are correctly surfaced;viaentries that are strings (transitive dependencies — packages affected only because they depend on a vulnerable package) are no longer reported as separate issues, eliminating the duplicate "Known security vulnerability" entries for packages likeexpress-rate-limitthat carry no direct advisoryReporter::streamResult()now shows the individual issue message for single issues at file-only locations (no line number) — previously, issue messages were only rendered below the location line when multiple issues shared the same location; for lock files such aspackage-lock.jsonandyarn.lockthe location alone ("At package-lock.json") carries no meaningful context, and the message is the only identifier of which package is affected; the condition is nowcount > 1 || location->line === null, so file:line locations (e.g.app/Http/Controllers/Foo.php:42) continue to display without a redundant message indent for single issues, while file-only locations always show the→ messageline