UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

7 lines (6 loc) 461 B
import { Lazy } from '../../../../util/lazy'; import type { PackageJsonSchema } from '../schema'; export declare function lazyLoadPackageJson(lockFileDir: string): Lazy<Promise<PackageJsonSchema>>; export type LazyPackageJson = ReturnType<typeof lazyLoadPackageJson>; export declare function loadPackageJson(lockFileDir: string): Promise<PackageJsonSchema>; export declare function getPackageManagerVersion(name: string, pkg: PackageJsonSchema): string | null;