Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.6 KiB

  1. npm-outdated(1) -- Check for outdated packages
  2. ==============================================
  3. ## SYNOPSIS
  4. npm outdated [[<@scope>/]<pkg> ...]
  5. ## DESCRIPTION
  6. This command will check the registry to see if any (or, specific) installed
  7. packages are currently outdated.
  8. In the output:
  9. * `wanted` is the maximum version of the package that satisfies the semver
  10. range specified in `package.json`. If there's no available semver range (i.e.
  11. you're running `npm outdated --global`, or the package isn't included in
  12. `package.json`), then `wanted` shows the currently-installed version.
  13. * `latest` is the version of the package tagged as latest in the registry.
  14. Running `npm publish` with no special configuration will publish the package
  15. with a dist-tag of `latest`. This may or may not be the maximum version of
  16. the package, or the most-recently published version of the package, depending
  17. on how the package's developer manages the latest dist-tag(1).
  18. * `location` is where in the dependency tree the package is located. Note that
  19. `npm outdated` defaults to a depth of 0, so unless you override that, you'll
  20. always be seeing only top-level dependencies that are outdated.
  21. * `package type` (when using `--long` / `-l`) tells you whether this package is
  22. a `dependency` or a `devDependency`. Packages not included in `package.json`
  23. are always marked `dependencies`.
  24. * Red means there's a newer version matching your semver requirements, so you should update now.
  25. * Yellow indicates that there's a newer version above your semver requirements (usually new major, or new 0.x minor) so proceed with caution.
  26. ### An example
  27. ```
  28. $ npm outdated
  29. Package Current Wanted Latest Location
  30. glob 5.0.15 5.0.15 6.0.1 test-outdated-output
  31. nothingness 0.0.3 git git test-outdated-output
  32. npm 3.5.1 3.5.2 3.5.1 test-outdated-output
  33. local-dev 0.0.3 linked linked test-outdated-output
  34. once 1.3.2 1.3.3 1.3.3 test-outdated-output
  35. ```
  36. With these `dependencies`:
  37. ```json
  38. {
  39. "glob": "^5.0.15",
  40. "nothingness": "github:othiym23/nothingness#master",
  41. "npm": "^3.5.1",
  42. "once": "^1.3.1"
  43. }
  44. ```
  45. A few things to note:
  46. * `glob` requires `^5`, which prevents npm from installing `glob@6`, which is
  47. outside the semver range.
  48. * Git dependencies will always be reinstalled, because of how they're specified.
  49. The installed committish might satisfy the dependency specifier (if it's
  50. something immutable, like a commit SHA), or it might not, so `npm outdated` and
  51. `npm update` have to fetch Git repos to check. This is why currently doing a
  52. reinstall of a Git dependency always forces a new clone and install.
  53. * `npm@3.5.2` is marked as "wanted", but "latest" is `npm@3.5.1` because npm
  54. uses dist-tags to manage its `latest` and `next` release channels. `npm update`
  55. will install the _newest_ version, but `npm install npm` (with no semver range)
  56. will install whatever's tagged as `latest`.
  57. * `once` is just plain out of date. Reinstalling `node_modules` from scratch or
  58. running `npm update` will bring it up to spec.
  59. ## CONFIGURATION
  60. ### json
  61. * Default: false
  62. * Type: Boolean
  63. Show information in JSON format.
  64. ### long
  65. * Default: false
  66. * Type: Boolean
  67. Show extended information.
  68. ### parseable
  69. * Default: false
  70. * Type: Boolean
  71. Show parseable output instead of tree view.
  72. ### global
  73. * Default: false
  74. * Type: Boolean
  75. Check packages in the global install prefix instead of in the current
  76. project.
  77. ### depth
  78. * Default: 0
  79. * Type: Int
  80. Max depth for checking dependency tree.
  81. ## SEE ALSO
  82. * npm-update(1)
  83. * npm-dist-tag(1)
  84. * npm-registry(7)
  85. * npm-folders(5)