rename column headers to 'old' and 'new'
This commit is contained in:
parent
5e17d83554
commit
4bcf21ad15
@ -14,7 +14,7 @@ $ yarn global add updates
|
||||
## Example:
|
||||
```sh
|
||||
$ updates
|
||||
NAME RANGE NEWRANGE
|
||||
NAME OLD NEW
|
||||
got ^8.0.1 ^8.0.1
|
||||
semver ^5.4.1 ^5.4.1
|
||||
eslint ^4.12.1 ^4.12.1
|
||||
|
@ -79,8 +79,8 @@ function formatResults(results) {
|
||||
if (output.newRange !== output.range) {
|
||||
return {
|
||||
name: output.name,
|
||||
range: chalk.red(output.newRange),
|
||||
newRange: chalk.green(output.newRange),
|
||||
old: chalk.red(output.newRange),
|
||||
"new": chalk.green(output.newRange),
|
||||
};
|
||||
}
|
||||
}).filter(result => Boolean(result)), {
|
||||
|
Loading…
Reference in New Issue
Block a user