nodejs: mark versions older than 12 as vulnerable

NodeJS 10 has reached EOL since 2021/04.

(cherry picked from commit f0b4870640)
This commit is contained in:
Martin Weinelt
2021-12-06 13:27:17 +01:00
committed by tomberek
parent 698a544828
commit 2ca20fd653

View File

@@ -181,6 +181,7 @@ let
maintainers = with maintainers; [ goibhniu gilligan cko marsam ];
platforms = platforms.linux ++ platforms.darwin;
mainProgram = "node";
knownVulnerabilities = optional (versionOlder version "12") "This NodeJS release has reached its end of life. See https://nodejs.org/en/about/releases/.";
};
passthru.python = python; # to ensure nodeEnv uses the same version