Update dist folder

This commit is contained in:
cnagadya
2022-10-27 15:22:00 +00:00
parent 562a2f3c0a
commit 72273c9a36
2 changed files with 5 additions and 5 deletions

8
dist/index.js generated vendored
View File

@@ -601,9 +601,9 @@ const core = __importStar(__nccwpck_require__(2186));
const utils_1 = __nccwpck_require__(918);
function addSummaryToSummary(addedPackages, invalidLicenseChanges) {
core.summary.addHeading('Dependency Review').addRaw(`We found:
- ${addedPackages.length} vulnerable package(s),
- ${invalidLicenseChanges.unresolved.length} package(s) with unprocessable licenses,
- ${invalidLicenseChanges.forbidden.length} package(s) with incompatible licenses, and
- ${addedPackages.length} vulnerable package(s),\n
- ${invalidLicenseChanges.unresolved.length} package(s) with unprocessable licenses,\n
- ${invalidLicenseChanges.forbidden.length} package(s) with incompatible licenses, and\n
- ${invalidLicenseChanges.unlicensed.length} package(s) with unknown licenses.`);
}
exports.addSummaryToSummary = addSummaryToSummary;
@@ -716,7 +716,7 @@ function addScannedDependencies(changes) {
const deps = dependencies.get(manifest);
if (deps) {
const dependencyNames = deps.map(dependency => `<li>${dependency.name}@${dependency.version}</li>`);
summary.addRaw(`<h3>${manifest}</h3><ul>${dependencyNames.join('')}</ul>`);
summary.addDetails(manifest, `<ul>${dependencyNames.join('')}</ul>`);
}
}
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long