UNPKG

renovate

Version:

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

6 lines (5 loc) 571 B
import type { PackageDependency } from '../types'; export declare const validMatchFields: readonly ["depName", "packageName", "currentValue", "currentDigest", "datasource", "versioning", "extractVersion", "registryUrl", "depType", "indentation"]; export type ValidMatchFields = (typeof validMatchFields)[number]; export declare function isValidDependency({ depName, currentValue, currentDigest, packageName, datasource, }: PackageDependency): boolean; export declare function checkIsValidDependency(dep: PackageDependency, packageFile: string, manager: string): boolean;