summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-12-06 13:27:17 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-12-29 14:01:30 +0000
commita16bef3139aece1f667697ea2f1cdb0a0e05ed96 (patch)
tree0a121d06f8cd0797b8a38b97869e7f628590bd98
parentyoda: 1.9.3 -> 1.9.4 (diff)
downloadnixpkgs-origin/backport-148992-to-release-21.11.tar.gz
nodejs: mark versions older than 12 as vulnerableorigin/backport-148992-to-release-21.11
NodeJS 10 has reached EOL since 2021/04. (cherry picked from commit f0b48706406b789a85f021c6860a7fea61b9ac34)
-rw-r--r--pkgs/development/web/nodejs/nodejs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix
index 56c83e38c4ff..72615b356222 100644
--- a/pkgs/development/web/nodejs/nodejs.nix
+++ b/pkgs/development/web/nodejs/nodejs.nix
@@ -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