simplehttp2server
simplehttp2server copied to clipboard
Bump execa from 6.0.0 to 7.1.1
Bumps execa from 6.0.0 to 7.1.1.
Release notes
Sourced from execa's releases.
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@aaronccasanovafor 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.txtin Bash await execa('echo', ['unicorns']).pipeStderr('stderr.txt');// Similar to
echo unicorns &> stdout.txtin 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 </tr></table>
... (truncated)
Commits
244aead7.1.107585d0Fix argument concatenation with$(#553)6fe7e51Fix default value ofstdinwith$(#550)881fbadImprove validation of$.syncoptions binding (#551)5fa61d8Simplify tests (#552)950d1e67.1.0b260fa4Fix semicolons and spaces in documentation examples (#547)db2ad9aImprove main method documentation (#545)72443f3Improve examples in types documentation (#546)0726126AddinputFileoption (#542)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)