UNPKG

renovate

Version:

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

10 lines (9 loc) 678 B
export type StringMatchPredicate = (s: string) => boolean; export declare function isDockerDigest(input: string): boolean; export declare function getRegexOrGlobPredicate(pattern: string): StringMatchPredicate; export declare function matchRegexOrGlob(input: string, pattern: string): boolean; export declare function matchRegexOrGlobList(input: string, patterns: string[]): boolean; export declare function anyMatchRegexOrGlobList(inputs: string[], patterns: string[]): boolean; export declare const UUIDRegex: RegExp; export declare function isRegexMatch(input: unknown): input is string; export declare function getRegexPredicate(input: string): StringMatchPredicate | null;