Releases: raineorshine/npm-check-updates
Releases · raineorshine/npm-check-updates
v2.2.0
- Add --packageFile option to specify alternative package.json
v2.1.0
- Add -o/--optional to check only optionalDependencies
v2.0.0
v2 has a few important differences from v1:
- Newer published versions that satisfy the specified range are not upgraded by default (e.g.
1.0.0
to1.1.0
). This change was made becausenpm update
handles upgrades within the satisfied range just fine, and npm-check-updates is primarily intended to provide functionality not otherwise provided by npm itself. These satisfied dependencies will still be shown when you run npm-check-updates, albeit with a short explanation. For the old behavior, add the -ua/--upgradeAll option. - The command-line argument now specifies a package name filter (e.g.
ncu /^gulp-/
). For the old behavior (specifying an alternative package.json), pipe the package.json through stdin. - Use the easier-to-type
ncu
instead ofnpm-check-updates
.npm-check-updates
is preserved for backwards-compatibility.
Changelog
- Allow packageData to be specified as an option
- Colored table output
- Add -a/--upgradeAll
- Add -e/--error-level option
- Add -j/--json and --jsonFlat flags for json output
- Add -r/--registry option for specifying third-party npm registry
- Add -t/--greatest option to search for the highest versions instead of the default latest stable versions.
- Remove -f/--filter option and move to command-line argument
- Replace < and <= with ^
- Automatically look for the closest descendant package.json if not found in current directory
- Add ncu alias
- Export functionality to allow for programmatic use
- Bug fixes and refactoring
- Full unit test coverage!
v1.5.1
- Fix bug where package names got truncated (grunt-concurrent -> grunt)
1.5.0
- Add prod and dev only options
1.4.0
- Add package filtering option
- Add mocha as npm test script
1.3.0
- Handle private packages and NPM errors
- Added Mocha tests
- Bugfixes
1.2.0
- Print currently installed and latest package version in addition to semantic versions
- Fixed bug where extra whitespace in package.json may prevent automatic upgrade
1.1.0
- Added option to check global packages for updates: -g switch
- Now also checks and upgrades devDependencies in package.json
1.0.0
- Find and upgrade dependencies maintaining existing versioning policy in package.json