mirror of
https://github.com/nodejs/node.git
synced 2025-08-19 17:05:43 +02:00
deps: upgrade npm to 9.6.7
PR-URL: https://github.com/nodejs/node/pull/48062 Reviewed-By: Luke Karrys <luke@lukekarrys.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
1918241190
commit
adcbfcec60
103 changed files with 1703 additions and 624 deletions
4
deps/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js
generated
vendored
4
deps/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js
generated
vendored
|
@ -94,7 +94,11 @@ const runScriptPkg = async options => {
|
|||
return p.catch(er => {
|
||||
const { signal } = er
|
||||
if (stdio === 'inherit' && signal) {
|
||||
// by the time we reach here, the child has already exited. we send the
|
||||
// signal back to ourselves again so that npm will exit with the same
|
||||
// status as the child
|
||||
process.kill(process.pid, signal)
|
||||
|
||||
// just in case we don't die, reject after 500ms
|
||||
// this also keeps the node process open long enough to actually
|
||||
// get the signal, rather than terminating gracefully.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue