fix-package-lock
fix-package-lock copied to clipboard
Bump semver and execa
Removes semver. It's no longer used after updating ancestor dependency execa. These dependencies need to be updated together.
Removes semver
Updates execa
from 0.10.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
stdin
option 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
/stderr
to 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
inputFile
option 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
verbose
option to print each command onstderr
before executing it. This can also be enabled by setting theNODE_DEBUG=execa
environment variable in the current process.> node file.js unicorns rainbows </tr></table>
... (truncated)
Commits
244aead
7.1.107585d0
Fix argument concatenation with$
(#553)6fe7e51
Fix default value ofstdin
with$
(#550)881fbad
Improve validation of$.sync
options binding (#551)5fa61d8
Simplify tests (#552)950d1e6
7.1.0b260fa4
Fix semicolons and spaces in documentation examples (#547)db2ad9a
Improve main method documentation (#545)72443f3
Improve examples in types documentation (#546)0726126
AddinputFile
option (#542)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by ehmicky, a new releaser for execa since your current version.
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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.