n8n: 2.10.4 -> 2.13.3, fix 6 CVEs (#503681)

This commit is contained in:
Thomas Gerbet
2026-03-28 17:32:28 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -25,20 +25,20 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "n8n";
version = "2.10.4";
version = "2.13.3";
src = fetchFromGitHub {
owner = "n8n-io";
repo = "n8n";
tag = "n8n@${finalAttrs.version}";
hash = "sha256-/UJ6+EpNh+jr8digBFKltxahebAeJKGwj3rbkXO0vm8=";
hash = "sha256-ErChLX9bzOABz1hM4YuB2horhTWR4tskItx5rE0zR8g=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = pnpm_10;
fetcherVersion = 3;
hash = "sha256-2m5ftzOKzXpRDdeUDfoWkpYY982cyqHB7uTZ3/3dhsk=";
hash = "sha256-SyGVhJ1kKH209TQken89RnBpZ7K3agHPN0jSmoFtX6c=";
};
nativeBuildInputs = [
+1 -1
View File
@@ -4,7 +4,7 @@ set -euo pipefail
new_version="$(curl -s 'https://api.github.com/repos/n8n-io/n8n/releases?per_page=30' | \
jq -r '
map(select(.prerelease | not) | .tag_name | sub("^n8n@"; ""))
map(select(.prerelease | not) | .tag_name | select(startswith("n8n@")) | sub("^n8n@"; ""))
| sort_by(split(".") | map(tonumber)) | last
')"
nix-update n8n --version "$new_version"