vue-i18n
vue-i18n copied to clipboard
chore(deps): update dependency execa to v8
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| execa | ^5.0.0 -> ^8.0.0 |
Release Notes
sindresorhus/execa (execa)
v8.0.1
Fixes
- Fix and document support for the
{encoding: 'buffer'}option. It is the same as{encoding: null}, but preferred over it. (#572)
v8.0.0
Breaking
- Require Node.js 16.17.0 and later (#569)
v7.2.0
v7.1.1
Features
- Improve error message when
$.sync(options)`command`is used instead of$(options).sync`command`(#551)
Bug fixes
- Fix argument concatenation when using
$`command argument${value}`(#553) - Fix default value of the
stdinoption when using$`command`: it should beinherit(#550)
v7.1.0
Features
- Add
$method to write Node.js scripts like zx. For more information, please see this blog post, this section and this page. Thanks @aaronccasanova for this great feature!
import {$} from 'execa';
const branch = await $`git branch --show-current`;
await $`dep deploy --branch=${branch}`;
- Add
.pipeStdout(),.pipeStderr()and.pipeAll()methods to redirectstdout/stderrto a file, a stream or another process.
// 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');
- Add
inputFileoption to use a file asstdin.
// Similar to `cat < stdin.txt` in Bash
const {stdout} = await execa('cat', {inputFile: 'stdin.txt'});
console.log(stdout);
//=> 'unicorns'
- Add
verboseoption to print each command onstderrbefore executing it. This can also be enabled by setting theNODE_DEBUG=execaenvironment 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
Breaking
Fixes
- Emit
endevent on streams when process fails (#518)30c7a7a - Fix incorrect
execaNodesignature inindex.d.ts(#506)1f7677c
v6.1.0
- Support
AbortController(#490)c6e791a - Allow
cwdandlocalDiroptions to be URLs (#492)93ab929
v6.0.0
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').sync→import {execaSync} from 'execa'require('execa').command→import {execaCommand} from 'execa'require('execa').commandSync→import {execaCommandSync} from 'execa'require('execa').node→import {execaNode} from 'execa'
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.