UNPKG

npm-check-updates

Version:

Find newer versions of dependencies than what your package.json allows

10 lines (9 loc) 705 B
import { TargetFunction } from './TargetFunction'; /** Valid strings for the --target option. Indicates the desired version to upgrade to. */ export declare const supportedVersionTargets: readonly ["latest", "newest", "greatest", "minor", "patch", "semver"]; /** A union of supported version target strings. */ export type TargetString = (typeof supportedVersionTargets)[number]; /** Upgrading to specific distribution tags can be done by passing @-starting value to --target option. */ export type TargetDistTag = `@${string}`; /** The type of the --target option. Specifies the range from which to select the version to upgrade to. */ export type Target = TargetString | TargetDistTag | TargetFunction;