Skip to content

Commit ce9483a

Browse files
deps: bump execa from 8.0.1 to 9.5.3 (#1798)
Bumps [execa](https://github.com/sindresorhus/execa) from 8.0.1 to 9.5.3. - [Release notes](https://github.com/sindresorhus/execa/releases) - [Commits](sindresorhus/execa@v8.0.1...v9.5.3) --- updated-dependencies: - dependency-name: execa dependency-version: 9.5.3 dependency-type: direct:production update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <[email protected]>
1 parent 1a188ea commit ce9483a

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
"eslint-plugin-import": "^2.31.0",
259259
"eslint-plugin-jsdoc": "^50.6.17",
260260
"eslint-plugin-no-only-tests": "^3.3.0",
261-
"execa": "^8.0.1",
261+
"execa": "^9.5.3",
262262
"extract-zip": "^2.0.1",
263263
"fast-glob": "^3.3.2",
264264
"fs-extra": "^11.1.0",

src/test/node.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ export default async function testNode (argv, execaOptions) {
8484
},
8585
preferLocal: true,
8686
localDir: path.join(__dirname, '../..'),
87-
stdio: argv.cov ? 'pipe' : 'inherit'
87+
stdio: argv.cov ? 'pipe' : 'inherit',
88+
forceKillAfterDelay: 1_000
8889
},
8990
execaOptions
9091
)
@@ -121,9 +122,7 @@ export default async function testNode (argv, execaOptions) {
121122
console.warn(kleur.red('!!! See https://github.com/ipfs/aegir/issues/1206 for more information')) // eslint-disable-line no-console
122123
killedWhileCollectingCoverage = true
123124

124-
proc.kill('SIGTERM', {
125-
forceKillAfterTimeout: 1000
126-
})
125+
proc.kill('SIGTERM')
127126
}, argv.covTimeout).unref()
128127
}
129128
})

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export const formatCode = (code, errorLines) => {
561561
/**
562562
* Pipe subprocess output to stdio
563563
*
564-
* @param {import('execa').ExecaChildProcess} subprocess
564+
* @param {import('execa').Subprocess} subprocess
565565
* @param {string} prefix
566566
* @param {boolean} [shouldPrefix]
567567
*/

0 commit comments

Comments
 (0)