pastoralist
Version:
A tool to watch over node module resolutions and overrides
6 lines (5 loc) • 430 B
TypeScript
import type { NpmPackageRequest } from "./types";
export declare const clearRegistryCache: () => void;
export declare const fetchLatestVersion: (packageName: string) => Promise<string | null>;
export declare const fetchLatestCompatibleVersion: (packageName: string, minVersion: string) => Promise<string | null>;
export declare const fetchLatestCompatibleVersions: (packages: NpmPackageRequest[]) => Promise<Map<string, string>>;