UNPKG

ls-engines

Version:

Determine if your dependency graph's stated "engines" criteria is met.

16 lines (12 loc) 424 B
import type getAllVersions from './getAllVersions'; declare namespace validVersionsForEngines { export type EnginesRecord = { node?: string | null; [engine: string]: string | null | undefined; }; } declare function validVersionsForEngines( engines: validVersionsForEngines.EnginesRecord, allVersions: getAllVersions.VersionsByEngine, ): Promise<getAllVersions.VersionsByEngine>; export = validVersionsForEngines;