dedupeUtils
Index
Enumerations
Type Aliases
Variables
Functions
Enumerations
Strategy
HIGHEST
Type Aliases
Algorithm
Type declaration
Parameters
project: Project
patterns: string[]
opts: { fetchOptions: FetchOptions; fetcher: Fetcher; resolveOptions: ResolveOptions; resolver: Resolver }
Returns Promise<Promise<PackageUpdate>[]>
DedupeOptions
PackageUpdate
Type declaration
currentPackage: Package
descriptor: Descriptor
resolvedPackage: Package
updatedPackage: Package
Variables
constacceptedStrategies
Functions
dedupe
Parameters
project: Project
__namedParameters: DedupeOptions
Returns Promise<number>
This strategy dedupes a locator to the best candidate already installed in the project.
Because of this, it's guaranteed that: