UNPKG

patch-pulse

Version:

Check for outdated npm dependencies

18 lines 519 B
import { UpdateType } from '../types'; interface GetUpdateTypeArgs { /** * The current version string */ current: string; /** * The latest version string */ latest: string; } /** * Determines the type of update required based on the current and latest versions * @returns The type of update required ('patch', 'minor', or 'major') */ export declare function getUpdateType({ current, latest, }: GetUpdateTypeArgs): UpdateType; export {}; //# sourceMappingURL=getUpdateType.d.ts.map