MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / KnownSeveritySection

Function KnownSeveritySection

apps/site/components/EOL/KnownSeveritySection.tsx:10–22  ·  view source on GitHub ↗
({
  vulnerabilities,
})

Source from the content-addressed store, hash-verified

8};
9
10const KnownSeveritySection: FC<KnownSeveritySectionProps> = ({
11 vulnerabilities,
12}) => {
13 const knownVulnerabilities = vulnerabilities.filter(
14 v => v.severity !== 'unknown'
15 );
16
17 if (!knownVulnerabilities.length) {
18 return null;
19 }
20
21 return <VulnerabilitiesTable vulnerabilities={knownVulnerabilities} />;
22};
23
24export default KnownSeveritySection;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected