This repository was archived by the owner on Aug 26, 2024. It is now read-only.
[Snyk] Upgrade execa from 5.1.1 to 8.0.1 #147
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade execa from 5.1.1 to 8.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: execa
-
8.0.1 - 2023-08-19
- Fix and document support for the
-
8.0.0 - 2023-08-19
- Require Node.js 16.17.0 and later (#569)
-
7.2.0 - 2023-07-27
- Add
-
7.1.1 - 2023-03-14
- Improve error message when
- Fix argument concatenation when using
- Fix default value of the
-
7.1.0 - 2023-03-11
- Add
import {$} from 'execa';
- Add
// Similar to
- Add
- Add
- Require Node.js 14 and later (#497) a09cbc0
- Emit
- Fix incorrect
-
6.1.0 - 2022-02-13
- Support
- Allow
-
6.0.0 - 2021-11-17
- Require Node.js 12.20 (#478) 7707880
- This package is now pure ESM. Please read this.
- Moved from a default export to named exports.
-
5.1.1 - 2021-06-04
- Fix error message when user passes a single array argument (#468) 2b9c0e1
from execa GitHub release notesFixes
{encoding: 'buffer'}option. It is the same as{encoding: null}, but preferred over it. (#572)v8.0.0...v8.0.1
Breaking
v7.2.0...v8.0.0
cwderror property (#565) f57fdecv7.1.1...v7.2.0
Features
$.sync(options)`command`is used instead of$(options).sync`command`(#551)Bug fixes
$`command argument${value}`(#553)stdinoption when using$`command`: it should beinherit(#550)Features
$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!const branch = await $
git branch --show-current;await $
dep deploy --branch=<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">branch</span><span class="pl-kos">}</span></span>;.pipeStdout(),.pipeStderr()and.pipeAll()methods to redirectstdout/stderrto a file, a stream or another process.echo unicorns > stdout.txtin Bashawait execa('echo', ['unicorns']).pipeStdout('stdout.txt');
// Similar to
echo unicorns 2> stdout.txtin Bashawait execa('echo', ['unicorns']).pipeStderr('stderr.txt');
// Similar to
echo unicorns &> stdout.txtin Bashawait execa('echo', ['unicorns'], {all: true}).pipeAll('all.txt');
inputFileoption to use a file asstdin.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.jsunicorns
rainbows
> NODE_DEBUG=execa node file.js
[16:50:03.305] echo unicorns
unicorns
[16:50:03.308] echo rainbows
rainbows
7.0.0 - 2023-02-11
Breaking
Fixes
endevent on streams when process fails (#518) 30c7a7aexecaNodesignature inindex.d.ts(#506) 1f7677cv6.1.0...v7.0.0
AbortController(#490) c6e791acwdandlocalDiroptions to be URLs (#492) 93ab929v6.0.0...v6.1.0
Breaking
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'v5.1.1...v6.0.0
v5.1.0...v5.1.1
Commit messages
Package name: execa
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs