UNPKG

snyk-mvn-plugin

Version:
20 lines 789 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildScannedProjects = buildScannedProjects; const dep_graph_1 = require("./dep-graph"); function buildScannedProjects(mavenGraphs, includeTestScope = false, verboseEnabled = false, fingerprintMap = new Map(), includePurl = false, showMavenBuildScope = false) { const context = { includeTestScope, verboseEnabled, fingerprintMap, includePurl, showMavenBuildScope, }; const scannedProjects = []; for (const mavenGraph of mavenGraphs) { const depGraph = (0, dep_graph_1.buildDepGraph)(mavenGraph, context); scannedProjects.push({ depGraph }); } return { scannedProjects }; } //# sourceMappingURL=scanned-project-builder.js.map