nodejs: mark versions older than 12 as vulnerable

NodeJS 10 has reached EOL since 2021/04.
main
Martin Weinelt 3 years ago
parent 9de5840069
commit f0b4870640
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 1
      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

Loading…
Cancel
Save