Skip to content

chore(deps): update dependency execa to v9.2.0#16372

Merged
fisker merged 1 commit intomainfrom
renovate/tools/execa-9.x
Jun 11, 2024
Merged

chore(deps): update dependency execa to v9.2.0#16372
fisker merged 1 commit intomainfrom
renovate/tools/execa-9.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 11, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
execa 9.1.0 -> 9.2.0 age adoption passing confidence

Release Notes

sindresorhus/execa (execa)

v9.2.0

Compare Source

This release includes a new set of methods to exchange messages between the current process and a Node.js subprocess, also known as "IPC". This allows passing and returning almost any message type to/from a Node.js subprocess. Also, debugging IPC is now much easier.

Moreover, a new gracefulCancel option has also been added to terminate a subprocess gracefully.

For a deeper dive-in, please check and share the release post!

Thanks @​iiroj for your contribution, @​SimonSiefke and @​adymorz for reporting the bugs fixed in this release, and @​karlhorky for improving the documentation!

Deprecations

  • Passing 'ipc' to the stdio option has been deprecated. It will be removed in the next major release. Instead, the ipc: true option should be used. (#​1056)
- await execa('npm', ['run', 'build'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']});
+ await execa('npm', ['run', 'build'], {ipc: true});
- import {execaCommand} from 'execa';
+ import {execa} from 'execa';

- await execaCommand('npm run build');
+ await execa`npm run build`;

const taskName = 'build';
- await execaCommand(`npm run ${taskName}`);
+ await execa`npm run ${taskName}`;

const commandArguments = ['run', 'task with space'];
await execa`npm ${commandArguments}`;

If the file and/or multiple arguments are supplied as a single string, parseCommandString(command) can split that string into an array. More info. (#​1054)

- import {execaCommand} from 'execa';
+ import {execa, parseCommandString} from 'execa';

const commandString = 'npm run task';
- await execaCommand(commandString);
+ const commandArray = parseCommandString(commandString); // ['npm', 'run', 'task']
+ await execa`${commandArray}`;

// Or alternatively:
const [file, ...commandArguments] = commandArray;
await execa(file, commandArguments);

Features

Types

Bug fixes


Configuration

📅 Schedule: Branch creation - "after 01:00 on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot added the dependency:tools Internal Tools Dependency Upgrade label Jun 11, 2024
@github-actions
Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 8.26 MB

ℹ️ View Unchanged
Filename Size
./dist/bin 4.1 kB
./dist/bin/prettier.cjs 2.1 kB
./dist/doc.d.ts 6.91 kB
./dist/doc.js 53 kB
./dist/doc.mjs 49.3 kB
./dist/index.cjs 35.8 kB
./dist/index.d.ts 26.7 kB
./dist/index.mjs 770 kB
./dist/internal 4.1 kB
./dist/internal/cli.mjs 125 kB
./dist/LICENSE 206 kB
./dist/package.json 6.28 kB
./dist/plugins 4.1 kB
./dist/plugins/acorn.d.ts 109 B
./dist/plugins/acorn.js 150 kB
./dist/plugins/acorn.mjs 149 kB
./dist/plugins/angular.d.ts 177 B
./dist/plugins/angular.js 44.3 kB
./dist/plugins/angular.mjs 43.7 kB
./dist/plugins/babel.d.ts 419 B
./dist/plugins/babel.js 314 kB
./dist/plugins/babel.mjs 314 kB
./dist/plugins/estree.d.ts 11 B
./dist/plugins/estree.js 199 kB
./dist/plugins/estree.mjs 199 kB
./dist/plugins/flow.d.ts 90 B
./dist/plugins/flow.js 663 kB
./dist/plugins/flow.mjs 662 kB
./dist/plugins/glimmer.d.ts 93 B
./dist/plugins/glimmer.js 143 kB
./dist/plugins/glimmer.mjs 142 kB
./dist/plugins/graphql.d.ts 93 B
./dist/plugins/graphql.js 43.7 kB
./dist/plugins/graphql.mjs 43 kB
./dist/plugins/html.d.ts 139 B
./dist/plugins/html.js 146 kB
./dist/plugins/html.mjs 146 kB
./dist/plugins/markdown.d.ts 127 B
./dist/plugins/markdown.js 150 kB
./dist/plugins/markdown.mjs 150 kB
./dist/plugins/meriyah.d.ts 93 B
./dist/plugins/meriyah.js 121 kB
./dist/plugins/meriyah.mjs 121 kB
./dist/plugins/postcss.d.ts 121 B
./dist/plugins/postcss.js 152 kB
./dist/plugins/postcss.mjs 151 kB
./dist/plugins/typescript.d.ts 96 B
./dist/plugins/typescript.js 1.16 MB
./dist/plugins/typescript.mjs 1.16 MB
./dist/plugins/yaml.d.ts 90 B
./dist/plugins/yaml.js 122 kB
./dist/plugins/yaml.mjs 122 kB
./dist/README.md 4.03 kB
./dist/standalone.d.ts 1.37 kB
./dist/standalone.js 77.4 kB
./dist/standalone.mjs 77.2 kB

compressed-size-action

@fisker fisker merged commit 5055b7d into main Jun 11, 2024
@fisker fisker deleted the renovate/tools/execa-9.x branch June 11, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency:tools Internal Tools Dependency Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant