mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-25 06:30:17 +02:00
nodejs: mark versions older than 12 as vulnerable
NodeJS 10 has reached EOL since 2021/04.
This commit is contained in:
parent
9de5840069
commit
f0b4870640
|
@ -148,6 +148,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
|
||||
|
|
Loading…
Reference in a new issue