-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Zack Radisic <[email protected]>
- Loading branch information
1 parent
b005ef4
commit 1a9307d
Showing
8 changed files
with
74 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Use `bun outdated` to display a table of outdated dependencies with their latest versions: | ||
|
||
```sh | ||
$ bun outdated | ||
|
||
|--------------------------------------------------------------------| | ||
| Packages | Current | Update | Latest | | ||
|----------------------------------------|---------|--------|--------| | ||
| @types/bun (dev) | 1.1.6 | 1.1.7 | 1.1.7 | | ||
|----------------------------------------|---------|--------|--------| | ||
| @types/react (dev) | 18.3.3 | 18.3.4 | 18.3.4 | | ||
|----------------------------------------|---------|--------|--------| | ||
| @typescript-eslint/eslint-plugin (dev) | 7.16.1 | 7.18.0 | 8.2.0 | | ||
|----------------------------------------|---------|--------|--------| | ||
| @typescript-eslint/parser (dev) | 7.16.1 | 7.18.0 | 8.2.0 | | ||
|----------------------------------------|---------|--------|--------| | ||
| esbuild (dev) | 0.21.5 | 0.21.5 | 0.23.1 | | ||
|----------------------------------------|---------|--------|--------| | ||
| eslint (dev) | 9.7.0 | 9.9.1 | 9.9.1 | | ||
|----------------------------------------|---------|--------|--------| | ||
| typescript (dev) | 5.5.3 | 5.5.4 | 5.5.4 | | ||
|--------------------------------------------------------------------| | ||
``` | ||
|
||
The `Update` column shows the version that would be installed if you ran `bun update [package]`. This version is the latest version that satisfies the version range specified in your `package.json`. | ||
|
||
The `Latest` column shows the latest version available from the registry. `bun update --latest [package]` will update to this version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,20 +46,11 @@ [email protected]: | |
" | ||
`; | ||
|
||
exports[`outdated NO_COLOR works 1`] = ` | ||
"|--------------------------------------| | ||
| Packages | Current | Update | Latest | | ||
|----------|---------|--------|--------| | ||
| a-dep | 1.0.1 | 1.0.1 | 1.0.10 | | ||
|--------------------------------------| | ||
" | ||
`; | ||
|
||
exports[`outdated normal dep, smaller than column title 1`] = ` | ||
"┌──────────┬─────────┬────────┬────────┐ | ||
│ [1m[34mPackages[0m │ [1m[34mCurrent[0m │ [1m[34mUpdate[0m │ [1m[34mLatest[0m │ | ||
├──────────┼─────────┼────────┼────────┤ | ||
│ no-deps[2m[0m │ 1.0.0 │ [2m1.0.0[0m │ [1m[31m2.0.0[0m │ | ||
│ no-deps[2m[0m │ 1.0.0 │ [2m1.0.0[0m │ [0m[1m[31m2.0.0[0m │ | ||
└──────────┴─────────┴────────┴────────┘ | ||
" | ||
`; | ||
|
@@ -77,7 +68,7 @@ exports[`outdated dev dep, smaller than column title 1`] = ` | |
"┌───────────────┬─────────┬────────┬────────┐ | ||
│ [1m[34mPackages[0m │ [1m[34mCurrent[0m │ [1m[34mUpdate[0m │ [1m[34mLatest[0m │ | ||
├───────────────┼─────────┼────────┼────────┤ | ||
│ no-deps[2m (dev)[0m │ 1.0.0 │ [2m1.0.0[0m │ [1m[31m2.0.0[0m │ | ||
│ no-deps[2m (dev)[0m │ 1.0.0 │ [2m1.0.0[0m │ [0m[1m[31m2.0.0[0m │ | ||
└───────────────┴─────────┴────────┴────────┘ | ||
" | ||
`; | ||
|
@@ -95,7 +86,7 @@ exports[`outdated peer dep, smaller than column title 1`] = ` | |
"┌────────────────┬─────────┬────────┬────────┐ | ||
│ [1m[34mPackages[0m │ [1m[34mCurrent[0m │ [1m[34mUpdate[0m │ [1m[34mLatest[0m │ | ||
├────────────────┼─────────┼────────┼────────┤ | ||
│ no-deps[2m (peer)[0m │ 1.0.0 │ [2m1.0.0[0m │ [1m[31m2.0.0[0m │ | ||
│ no-deps[2m (peer)[0m │ 1.0.0 │ [2m1.0.0[0m │ [0m[1m[31m2.0.0[0m │ | ||
└────────────────┴─────────┴────────┴────────┘ | ||
" | ||
`; | ||
|
@@ -113,7 +104,7 @@ exports[`outdated optional dep, smaller than column title 1`] = ` | |
"┌────────────────────┬─────────┬────────┬────────┐ | ||
│ [1m[34mPackages[0m │ [1m[34mCurrent[0m │ [1m[34mUpdate[0m │ [1m[34mLatest[0m │ | ||
├────────────────────┼─────────┼────────┼────────┤ | ||
│ no-deps[2m (optional)[0m │ 1.0.0 │ [2m1.0.0[0m │ [1m[31m2.0.0[0m │ | ||
│ no-deps[2m (optional)[0m │ 1.0.0 │ [2m1.0.0[0m │ [0m[1m[31m2.0.0[0m │ | ||
└────────────────────┴─────────┴────────┴────────┘ | ||
" | ||
`; | ||
|
@@ -126,3 +117,12 @@ exports[`outdated optional dep, larger than column title 1`] = ` | |
└──────────────────────────┴────────────────┴────────────────┴────────────────┘ | ||
" | ||
`; | ||
|
||
exports[`outdated NO_COLOR works 1`] = ` | ||
"|--------------------------------------| | ||
| Packages | Current | Update | Latest | | ||
|----------|---------|--------|--------| | ||
| a-dep | 1.0.1 | 1.0.1 | 1.0.10 | | ||
|--------------------------------------| | ||
" | ||
`; |