Skip to content

Commit 793bb62

Browse files
committed
fix(deps): add patch for execa@2.1.0 to fix signal-exit v4 compatibility
1 parent af6f826 commit 793bb62

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,8 @@
818818
"patchedDependencies": {
819819
"@npmcli/run-script@10.0.0": "patches/@npmcli__run-script@10.0.0.patch",
820820
"@sigstore/sign@4.1.0": "patches/@sigstore__sign@4.1.0.patch",
821-
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch",
822-
"execa@5.1.1": "patches/execa@5.1.1.patch"
821+
"execa@5.1.1": "patches/execa@5.1.1.patch",
822+
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch"
823823
}
824824
}
825825
}

patches/execa@2.1.0.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/lib/kill.js b/lib/kill.js
2+
index dc1c77c38407a9157cfc847c78deaac17b8898bb..998d34578b1d3a360c2a0c7a2dc0acb6d5c15ea0 100644
3+
--- a/lib/kill.js
4+
+++ b/lib/kill.js
5+
@@ -1,6 +1,6 @@
6+
'use strict';
7+
const os = require('os');
8+
-const onExit = require('signal-exit');
9+
+const { onExit } = require('signal-exit');
10+
const pFinally = require('p-finally');
11+
12+
const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;

0 commit comments

Comments
 (0)