commander
15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed
Upgrading commander From 7.0.0 to 7.2.0
2 releases in betweenevery note read
Release by release
- New
TypeScript typing for
parentproperty onCommand - New
TypeScript typing for
.attributeName()onOption - New
Support information in package
- New
- New
Support for named imports from ECMAScript modules
- New
Add
.cjsto list of expected script file extensions - New
Allow using option choices and variadic together
- Fixed
Replace use of deprecated
process.mainModule - Fixed
Regression for legacy
command('*')and call when command line includes options - Fixed
Regression for
on('command:*', ...)and call when command line includes unknown options - Fixed
Display best error for combination of unknown command and unknown option (i.e. unknown command)
- New
3 other lines we could not sort, mostly version bumps
- 7.2.0
Improvements to error messages, README, and tests
- 7.1.0
Make TypeScript typings tests stricter
- 7.1.0
Improvements to README and tests
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.