n8n: 2.45.5 -> 2.47.3
This commit is contained in:
1 parent
6919862acb
commit
04b710cc9b
2 files changed
+16
-6
No files matched your search
+13
-3
@@ -29,8 +29,18 @@
|
||||
# ERR_PNPM_INCONSISTENT_PATCH_HASH. Rewrite the stale references to the
|
||||
# declared hash — exactly what `pnpm install --no-frozen-lockfile` would
|
||||
# converge to. The sed is a no-op once upstream regenerates the lockfile.
|
||||
#
|
||||
# n8n@2.47.3 has the same class of defect again: the override
|
||||
# `undici@7: catalog:undici-v7` was bumped to ^7.30.1 and the package entry
|
||||
# undici@7.29.1 dropped from the lockfile, but the snapshot of
|
||||
# @ai-sdk/provider-utils@5.0.70 (added via minimumReleaseAgeExclude) still
|
||||
# lists `undici: 7.29.1`. pnpm >= 12.9 refuses with
|
||||
# ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY ("no entry for 'undici@7.29.1'").
|
||||
# Point the stale reference at the entry that exists (7.30.1), which is
|
||||
# exactly where the override resolves it anyway. No-op on clean lockfiles.
|
||||
fixUpstreamLockfile = ''
|
||||
sed -i 's/patch_hash=81ead1b07fc8efda87bd2724dbd876ab49f4a0aa03f96c3770060b2ea47d9e0b/patch_hash=0384abb0bf57b0811e09219dbce0b926741d818285ee77526ad4cb75a60b87a1/g' pnpm-lock.yaml
|
||||
sed -i -E 's/^(\s+undici: )7\.29\.1$/\17.30.1/' pnpm-lock.yaml
|
||||
'';
|
||||
|
||||
# After `pnpm prune --prod` (pnpm 12), walk every workspace package and
|
||||
@@ -65,13 +75,13 @@
|
||||
'';
|
||||
in
|
||||
prev.n8n.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
version = "2.45.5";
|
||||
version = "2.47.3";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "n8n-io";
|
||||
repo = "n8n";
|
||||
tag = "n8n@${finalAttrs.version}";
|
||||
hash = "sha256-YPM8Hlgrll1I+yYj4Q2dWP8bF5nnLCF5VIMpl3N5Lzk=";
|
||||
hash = "sha256-lw8B5pRY2O+LXWM6gPVHglKJ8SvowfTRoNMeVD8Kd60=";
|
||||
};
|
||||
|
||||
pnpmDeps = prev.fetchPnpmDeps {
|
||||
@@ -79,7 +89,7 @@ in
|
||||
pnpm = prev.pnpm_12;
|
||||
fetcherVersion = 4;
|
||||
postPatch = relaxPnpmEngine + fixUpstreamLockfile;
|
||||
hash = "sha256-rZ3unYg6d0bAnU05e1ejGokIYKI1m7M97NiS+bqdZOE=";
|
||||
hash = "sha256-np4qMhJJBwpEJA/Zac1WEueUmaufs2wLBaa1BUiBgcM=";
|
||||
};
|
||||
|
||||
postPatch = (previousAttrs.postPatch or "") + relaxPnpmEngine + fixUpstreamLockfile;
|
||||
|
||||
Reference in new issue
Block a user