Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Update dependency execa to v7 #885

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
execa 1.0.0 -> 7.1.1 age adoption passing confidence

Release Notes

sindresorhus/execa (execa)

v7.1.1

Compare Source

Features

Bug fixes

v7.1.0

Compare Source

Features

import {$} from 'execa';

const branch = await $`git branch --show-current`;
await $`dep deploy --branch=${branch}`;
// Similar to `echo unicorns > stdout.txt` in Bash
await execa('echo', ['unicorns']).pipeStdout('stdout.txt');

// Similar to `echo unicorns 2> stdout.txt` in Bash
await execa('echo', ['unicorns']).pipeStderr('stderr.txt');

// Similar to `echo unicorns &> stdout.txt` in Bash
await execa('echo', ['unicorns'], {all: true}).pipeAll('all.txt');
// Similar to `cat < stdin.txt` in Bash
const {stdout} = await execa('cat', {inputFile: 'stdin.txt'});
console.log(stdout);
//=> 'unicorns'
  • Add verbose option to print each command on stderr before executing it. This can also be enabled by setting the NODE_DEBUG=execa environment variable in the current process.
> node file.js
unicorns
rainbows

> NODE_DEBUG=execa node file.js
[16:50:03.305] echo unicorns
unicorns
[16:50:03.308] echo rainbows
rainbows

v7.0.0

Compare Source

Breaking
Fixes

v6.1.0

Compare Source

v6.0.0

Compare Source

Breaking
  • Require Node.js 12.20 (#​478) 7707880
  • This package is now pure ESM. Please read this.
  • Moved from a default export to named exports.
    • require('execa')import {execa} from 'execa'
    • require('execa').syncimport {execaSync} from 'execa'
    • require('execa').commandimport {execaCommand} from 'execa'
    • require('execa').commandSyncimport {execaCommandSync} from 'execa'
    • require('execa').nodeimport {execaNode} from 'execa'

v5.1.1

Compare Source

  • Fix error message when user passes a single array argument (#​468) 2b9c0e1

v5.1.0

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

Breaking
  • Remove faulty emulated ENOENT error on Windows (#​447) bdbd975
    This is only a breaking change if you depend on the exact error message.
Improvements

v4.1.0

Compare Source

v4.0.3

Compare Source

  • Fix use of floating number for the timeout and forceKillAfterTimeout options (#​431) 9a157b3

v4.0.2

Compare Source

Bug fixes

  • Fix with third-party promises (like bluebird) not working (#​427)

v4.0.1

Compare Source

Bug fixes

  • Fix checking for Error instances (#​423)

v4.0.0

Compare Source

Breaking changes

Bug fixes

  • Fix childProcess.kill() not working with Electron (#​400)

v3.4.0

Compare Source

Features

v3.3.0

Compare Source

Features

  • Allow setting the windowsHide option (#​388). The option still defaults to true. However previously it could not be set to false.

Documentation

  • Add tip on how to retry Execa on failure (#​386).
  • Improve examples (#​385)

Thanks @​justsml for helping improving the documentation!

v3.2.0

Compare Source

Features

v3.1.0

Compare Source

Features

  • Add execPath option which allows changing the path to the Node.js executable to use in child processes. (#​377)

v3.0.0

Compare Source

Breaking changes

Features

Bug fixes

  • Fix errors being thrown when detached: true or cleanup: false is used (#​360)
  • Make execa compatible with Node.js 13.0.0-pre (#​370)

Dependencies

  • Upgrade npm-run-path from 3.0.0 to 4.0.0 (#​376)
  • Upgrade cross-spawn to 7.0.0 (#​367)

Documentation

  • Document the reasons why the returned promise might fail (#​364)

v2.1.0

Compare Source

Features
Documentation
  • Document the reasons why the returned promise might fail (#​364)
Dependencies
  • Upgrade cross-spawn to 7.0.0 (#​367)

v2.0.5

Compare Source

Bug fixes

v2.0.4

Compare Source

Bug fixes

  • Fix errors being thrown when detached: true or cleanup: false is used (#​360) 211febe

v2.0.3

Compare Source

Bug fixes

  • Add missing TypeScript definition for all (#​345)

Documentation

  • Add tip on how to execute the current package's binary (#​339, #​340)

v2.0.2

Compare Source

Bug fixes

v2.0.1

Compare Source

Bug fixes

  • Correctly set the engines.node field in package.json. Supported Node versions are either ^8.12.0 or >=9.7.0 (#​319, #​323)

Documentation

v2.0.0

Compare Source

Thanks to @​GMartigny, @​BendingBender, @​tomsotte, @​ammarbinfaisal, @​zokker13, @​stroncium, @​satyarohith, @​bradfordlemley, @​coreyfarrell, @​brandon93s, @​dtinth, @​papb for the great features and bug fixes they've contributed!

Please check the Medium article about this release!

Breaking changes

Features

Bug fixes

Documentation

Design

Tests

Maintainers


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 force-pushed the renovate/execa-7.x branch from 5f1d555 to 08de06e Compare February 17, 2023 00:55
@renovate renovate bot force-pushed the renovate/execa-7.x branch 2 times, most recently from ad283f5 to 1d6bbef Compare March 3, 2023 06:33
@renovate renovate bot force-pushed the renovate/execa-7.x branch from 1d6bbef to 583c611 Compare March 12, 2023 01:33
@renovate renovate bot force-pushed the renovate/execa-7.x branch from 583c611 to 889889e Compare March 14, 2023 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants