diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-12-06 13:27:17 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-12-06 13:39:36 +0100 |
commit | f0b48706406b789a85f021c6860a7fea61b9ac34 (patch) | |
tree | c5cdaabdbdc028e5676b6ad324944fcf650be857 /pkgs/development/web/nodejs/nodejs.nix | |
parent | 9de584006943aff0fc4e1a6479946ccffdd5c445 (diff) |
nodejs: mark versions older than 12 as vulnerable
NodeJS 10 has reached EOL since 2021/04.
Diffstat (limited to 'pkgs/development/web/nodejs/nodejs.nix')
-rw-r--r-- | pkgs/development/web/nodejs/nodejs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 3f0f0e78e07a1..b87fb842c572d 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -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 |