unjs / fontaine

Automatic font fallback based on font metrics
MIT License
1.54k stars 23 forks source link

chore(deps): update devdependency execa to v7.1.0 #137

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
execa 7.0.0 -> 7.1.0 age adoption passing confidence

Release Notes

sindresorhus/execa ### [`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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Mend Renovate. View repository job log here.

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (4ed056c) 100.00% compared to head (7f8bfc6) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #137 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 2 Lines 177 177 Branches 35 35 ========================================= Hits 177 177 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniel+Roe). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Daniel+Roe)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.