MCPcopy Create free account
hub / github.com/code-pushup/cli / sortSemvers

Function sortSemvers

packages/utils/src/lib/semver.ts:19–21  ·  view source on GitHub ↗
(semverStrings: string[])

Source from the content-addressed store, hash-verified

17}
18
19export function sortSemvers(semverStrings: string[]): string[] {
20 return semverStrings.map(normalizeSemver).filter(isSemver).sort(rcompare);
21}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected