Skip to content

Commit 911c229

Browse files
committed
fix(deps): patch execa to use signal-exit 4.1.0 API
- Created patch for execa@5.1.1 to use signal-exit v4 named exports - Restored signal-exit 4.1.0 override in pnpm overrides - Fixes dotenvx compatibility with pre-commit hooks
1 parent 136c9e2 commit 911c229

3 files changed

Lines changed: 23 additions & 103 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@
795795
"@sigstore/sign": "4.1.0",
796796
"ansi-regex": "6.2.2",
797797
"debug": "4.4.3",
798+
"execa": "5.1.1",
798799
"has-flag": "5.0.1",
799800
"isexe": "3.1.1",
800801
"lru-cache": "11.2.2",
@@ -812,7 +813,8 @@
812813
"patchedDependencies": {
813814
"@npmcli/run-script@10.0.0": "patches/@npmcli__run-script@10.0.0.patch",
814815
"@sigstore/sign@4.1.0": "patches/@sigstore__sign@4.1.0.patch",
815-
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch"
816+
"node-gyp@11.5.0": "patches/node-gyp@11.5.0.patch",
817+
"execa@5.1.1": "patches/execa@5.1.1.patch"
816818
}
817819
}
818820
}

patches/execa@5.1.1.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 287a14238ea9fa99b3a9c0bdaabd13df72230d78..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+
11+
const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;
12+

pnpm-lock.yaml

Lines changed: 8 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)