Skip to content

Commit 70f4abd

Browse files
Merge pull request #1416 from guardian/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.22.0
2 parents b780645 + 55bba77 commit 70f4abd

File tree

3 files changed

+121
-66
lines changed

3 files changed

+121
-66
lines changed

package-lock.json

+119-64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@swc/core": "1.7.26",
2525
"@types/jest": "^29.5.14",
2626
"@types/node": "^22.13.0",
27-
"@typescript-eslint/eslint-plugin": "^8.18.1",
27+
"@typescript-eslint/eslint-plugin": "^8.22.0",
2828
"dotenv": "^16.4.7",
2929
"esbuild": "^0.24.2",
3030
"eslint": "^8.57.0",

packages/repocop/src/remediation/vuln-digest/vuln-digest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function createHumanReadableVulnMessage(vuln: RepocopVulnerability): string {
3535
? `[${vuln.package}](${vuln.urls[0]})`
3636
: vuln.package;
3737

38-
const cveHyperlink = vuln.cves[0] ? vuln.cves[0] : 'no CVE provided';
38+
const cveHyperlink = vuln.cves[0] ?? 'no CVE provided';
3939

4040
return String.raw`[${removeRepoOwner(vuln.full_name)}](https://github.com/${vuln.full_name}) contains a high severity vulnerability, ${cveHyperlink}, from ${vulnHyperlink}, introduced via ${ecosystem}.
4141
There are ${daysToFix} days left to fix this vulnerability. It ${vuln.is_patchable ? 'is ' : 'might not be '}patchable.`;

0 commit comments

Comments
 (0)