nodejs: mark versions older than 14 as vulnerable

NodeJS 12 will reach EOL on 2022/04/30.
This commit is contained in:
Martin Weinelt 2022-04-04 03:49:28 +02:00
parent 0745f76cbf
commit 18dbdee6e1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -179,7 +179,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/.";
knownVulnerabilities = optional (versionOlder version "14") "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