Closed zhixiaoqiang closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
sfc-playground-vant | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 21, 2023 at 3:22AM (UTC) |
Latest commit: 3f0e03d485ae3de0d3764efb110d204bf1060ccd
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor
and patch
updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
6.1.0
->7.1.1
Release Notes
sindresorhus/execa
### [`v7.1.1`](https://togithub.com/sindresorhus/execa/releases/tag/v7.1.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.1.0...v7.1.1) #### Features - Improve error message when `` $.sync(options)`command` `` is used instead of [`` $(options).sync`command` ``](https://togithub.com/sindresorhus/execa#synccommand) ([#551](https://togithub.com/sindresorhus/execa/issues/551)) #### Bug fixes - Fix argument concatenation when using [`` $`command argument${value}` ``](https://togithub.com/sindresorhus/execa#command) ([#553](https://togithub.com/sindresorhus/execa/issues/553)) - Fix default value of the [`stdin` option](https://togithub.com/sindresorhus/execa#stdin) when using [`` $`command` ``](https://togithub.com/sindresorhus/execa#command): it should be `inherit` ([#550](https://togithub.com/sindresorhus/execa/issues/550)) ### [`v7.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v7.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.0.0...v7.1.0) #### Features - Add [`$` method](https://togithub.com/sindresorhus/execa#command) to write Node.js scripts like zx. For more information, please see [this blog post](https://medium.com/@ehmicky/shell-free-scripts-with-execa-7-885fb3b42f83), [this section](https://togithub.com/sindresorhus/execa#scripts-interface) and [this page](https://togithub.com/sindresorhus/execa/blob/main/docs/scripts.md). Thanks [@aaronccasanova](https://togithub.com/aaronccasanova) for this great feature! ```js import {$} from 'execa'; const branch = await $`git branch --show-current`; await $`dep deploy --branch=${branch}`; ``` - Add [`.pipeStdout()`](https://togithub.com/sindresorhus/execa#pipestdouttarget), [`.pipeStderr()`](https://togithub.com/sindresorhus/execa#pipestderrtarget) and [`.pipeAll()`](https://togithub.com/sindresorhus/execa#pipealltarget) methods to redirect `stdout`/`stderr` to a file, a stream or another process. ```js // 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](https://togithub.com/sindresorhus/execa#inputfile) to use a file as `stdin`. ```js // Similar to `cat < stdin.txt` in Bash const {stdout} = await execa('cat', {inputFile: 'stdin.txt'}); console.log(stdout); //=> 'unicorns' ``` - Add [`verbose` option](https://togithub.com/sindresorhus/execa#verbose) 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`](https://togithub.com/sindresorhus/execa/releases/tag/v7.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v6.1.0...v7.0.0) ##### Breaking - Require Node.js 14 and later ([#497](https://togithub.com/sindresorhus/execa/issues/497)) [`a09cbc0`](https://togithub.com/sindresorhus/execa/commit/a09cbc0) ##### Fixes - Emit `end` event on streams when process fails ([#518](https://togithub.com/sindresorhus/execa/issues/518)) [`30c7a7a`](https://togithub.com/sindresorhus/execa/commit/30c7a7a) - Fix incorrect `execaNode` signature in `index.d.ts` ([#506](https://togithub.com/sindresorhus/execa/issues/506)) [`1f7677c`](https://togithub.com/sindresorhus/execa/commit/1f7677c)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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.