isUpgradeable.d.ts
312 Bytes
import { Version, VersionSpec } from '../types';
/**
* Check if a version satisfies the latest, and is not beyond the latest). Ignores `v` prefix.
*
* @param current
* @param latest
* @returns
*/
declare function isUpgradeable(current: VersionSpec, latest: Version): boolean;
export default isUpgradeable;