Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions compares two version strings. Returns -1 if a < b, 0 if a == b, 1 if a > b. Handles semver (1.2.3), calver (2024.01.15), and numeric versions.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher matches project dependencies against CVE databases.
func NewOffline ¶
NewOffline creates a Matcher backed by the offline OSV database.
Click to show internal directories.
Click to hide internal directories.