Search in sources :

Example 1 with PnpmLockDetectable

use of com.synopsys.integration.detectable.detectables.pnpm.lockfile.PnpmLockDetectable in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createPnpmLockDetectable.

public PnpmLockDetectable createPnpmLockDetectable(DetectableEnvironment environment, PnpmLockOptions pnpmLockOptions) {
    PnpmYamlTransformer pnpmYamlTransformer = new PnpmYamlTransformer(pnpmLockOptions.getDependencyTypeFilter());
    PnpmLockYamlParser pnpmLockYamlParser = new PnpmLockYamlParser(pnpmYamlTransformer);
    PnpmLockExtractor pnpmLockExtractor = new PnpmLockExtractor(pnpmLockYamlParser, packageJsonFiles());
    return new PnpmLockDetectable(environment, fileFinder, pnpmLockExtractor, packageJsonFiles());
}
Also used : PnpmLockDetectable(com.synopsys.integration.detectable.detectables.pnpm.lockfile.PnpmLockDetectable) PnpmYamlTransformer(com.synopsys.integration.detectable.detectables.pnpm.lockfile.process.PnpmYamlTransformer) PnpmLockYamlParser(com.synopsys.integration.detectable.detectables.pnpm.lockfile.process.PnpmLockYamlParser) PnpmLockExtractor(com.synopsys.integration.detectable.detectables.pnpm.lockfile.PnpmLockExtractor)

Aggregations

PnpmLockDetectable (com.synopsys.integration.detectable.detectables.pnpm.lockfile.PnpmLockDetectable)1 PnpmLockExtractor (com.synopsys.integration.detectable.detectables.pnpm.lockfile.PnpmLockExtractor)1 PnpmLockYamlParser (com.synopsys.integration.detectable.detectables.pnpm.lockfile.process.PnpmLockYamlParser)1 PnpmYamlTransformer (com.synopsys.integration.detectable.detectables.pnpm.lockfile.process.PnpmYamlTransformer)1