UNPKG

npm-check-updates

Version:

Find newer versions of dependencies than what your package.json allows

11 lines (10 loc) 385 B
import { Index } from '../types/IndexType'; /** * * @param dependencies A dependencies collection * @returns Returns whether the user prefers ^, ~, .*, or .x * (simply counts the greatest number of occurrences) or `null` if * given no dependencies. */ declare function getPreferredWildcard(dependencies: Index<string | null>): string | null; export default getPreferredWildcard;