renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
12 lines (11 loc) • 525 B
TypeScript
import type { ParsedRegistryUrl } from './types';
export declare function removeBuildMeta(version: string): string;
export declare function massageUrl(url: string | null | undefined): string | null;
export declare function parseRegistryUrl(registryUrl: string): ParsedRegistryUrl;
/**
* Compare two versions. Return:
* - `1` if `a > b` or `b` is invalid
* - `-1` if `a < b` or `a` is invalid
* - `0` if `a == b` or both `a` and `b` are invalid
*/
export declare function sortNugetVersions(a: string, b: string): number;