From 032519c89f77ba78482ccd18dd4663cf4d57a398 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:21:59 +0800 Subject: [PATCH] fix(deps): update dependency execa to v8 (#24) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy --- package.json | 2 +- pnpm-lock.yaml | 33 +++++++++++++++++---------------- src/utils.ts | 4 ++-- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 4baa382..328a186 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "release": "tnode scripts/release.ts" }, "dependencies": { - "execa": "^7.2.0", + "execa": "^8.0.1", "mri": "^1.2.0", "picocolors": "^1.0.0", "prompts": "^2.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b40bfb2..3606a23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: dependencies: execa: - specifier: ^7.2.0 - version: 7.2.0 + specifier: ^8.0.1 + version: 8.0.1 mri: specifier: ^1.2.0 version: 1.2.0 @@ -318,18 +318,18 @@ packages: '@esbuild/win32-x64': 0.19.2 dev: true - /execa@7.2.0: - resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} - engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + /execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} dependencies: cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 4.3.0 + get-stream: 8.0.1 + human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 npm-run-path: 5.1.0 onetime: 6.0.0 - signal-exit: 3.0.7 + signal-exit: 4.1.0 strip-final-newline: 3.0.0 dev: false @@ -337,9 +337,9 @@ packages: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: false - /get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} + /get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} dev: false /glob@8.1.0: @@ -353,9 +353,9 @@ packages: once: 1.4.0 dev: false - /human-signals@4.3.0: - resolution: {integrity: sha512-zyzVyMjpGBX2+6cDVZeFPCdtOtdsxOeseRhB9tkQ6xXmGUNrcnBzdEKPy3VPNYz+4gy1oukVOXcrJCunSyc6QQ==} - engines: {node: '>=14.18.0'} + /human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} dev: false /ignore-walk@5.0.1: @@ -525,8 +525,9 @@ packages: engines: {node: '>=8'} dev: false - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + /signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} dev: false /sisteransi@1.0.5: diff --git a/src/utils.ts b/src/utils.ts index c085736..ce6242a 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -38,7 +38,7 @@ export function getPackageInfo( export async function run( bin: string, args: string[], - opts: ExecaOptions = {}, + opts: ExecaOptions = {}, ): Promise { return execa(bin, args, { stdio: "inherit", ...opts }); } @@ -46,7 +46,7 @@ export async function run( export async function dryRun( bin: string, args: string[], - opts?: ExecaOptions, + opts?: ExecaOptions, ): Promise { return console.log( colors.blue(`[dryrun] ${bin} ${args.join(" ")}`),