This module thinly wraps the npm update command with a --filter option in order to update modules matching a string or regex pattern.
npm-update-outdated will update each of your project's node dependencies to the wanted version shown by the
npm outdated command.
npm install -g npm-update-outdated
$ cd /path/to/your/node/project$ npm-update-outdated [options]
$ npm-update-outdated --helpUsage: npm-update-outdated [options]Options:-h, --help output usage information-V, --version output the version number--filter <string|regex> filter packages to be updated by string or regex--missing install missing modules--save pass thru --save option to npm command--save-dev pass thru --save-dev option to npm command--save-optional pass thru --save-optional option to npm command--save-exact pass thru --save-exact option to npm command--check-only output list of outdated top-level modules
Upcoming features include the following:
- Update modules to the "latest" version as specified by
npm outdated; This will include per module confirmation, because going to latest could break an application.
If you're considering making use of
npm-update-outdated but it's missing a feature you might like, drop me a line and I'll see what I can do.
The MIT License
Copyright (c) 2014 Dan Racanelli
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.