yarn outdated

yarn outdated

Checks for outdated package dependencies.

yarn outdated

Lists version information for all package dependencies. This information includes the currently installed version, the desired version based on semver, and the latest available version.

For example, say your package.json has the following dependencies listed:

"dependencies": {
  "lodash": "4.15.0",
  "underscore": "~1.6.0"
}

The command run should look something like this:

yarn outdated
Package    Current Wanted Latest
lodash     4.15.0  4.15.0 4.16.4
underscore 1.6.0   1.6.0  1.8.3 
✨  Done in 0.72s.

yarn outdated [package...]

Lists version information for one or more package dependencies.

For the example package.json shown previously, you should see the following output when checking one of the dependencies:

yarn outdated lodash
Package Current Wanted Latest
lodash  4.15.0  4.15.0 4.16.4
✨  Done in 1.04s.

© 2016–2017 Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/en/docs/cli/outdated

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部