UNPKG

renovate

Version:

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

9 lines (8 loc) 691 B
import type { UpdateArtifactsResult } from '../../types'; import type { ProviderLock, ProviderLockUpdate } from './types'; export declare function findLockFile(packageFilePath: string): Promise<string | null>; export declare function readLockFile(lockFilePath: string): Promise<string | null>; export declare function extractLocks(lockFileContent: string): ProviderLock[] | null; export declare function isPinnedVersion(value: string | undefined): boolean; export declare function writeLockUpdates(updates: ProviderLockUpdate[], lockFilePath: string, oldLockFileContent: string): UpdateArtifactsResult; export declare function massageNewValue(value: string | undefined): string | undefined;