import { createDependencyMap , packageDescriptorMapCheckInstall , dependencyMapToPackageDescriptorMap , } from './deps' ; param { { } } packageFile param { string } modulesPath returns export default function vet ( packageFile , modulesPath ) { let dependencyMap = createDependencyMap ( packageFile ) ; let packageDescriptorMap = dependencyMapToPackageDescriptorMap ( dependencyMap ) ; return packageDescriptorMapCheckInstall ( packageDescriptorMap , modulesPath ) ; } ;