commander
15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed
Upgrading commander From 13.1.0 to 14.0.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking14.0.0
- Breaking14.0.0
Release by release
- Breaking
Remove bogus leading space in help when option has default value but not a description
- Breaking
Commander 14 requires Node.js v20 or higher
- New
Support for groups of options and commands in the help using low-level
.helpGroup()onOptionandCommand, and higher -level.optionsGroup()and.commandsGroup()which can be used in chaining way to specify group title for following option s/commands - New
Support for unescaped negative numbers as option-arguments and command-arguments
- New
TypeScript: Add
parseArgproperty toArgumentclass - Fixed
.configureOutput()now makes copy of settings instead of modifying in-place, fixing side-effects
- Breaking
1 other line we could not sort, mostly version bumps
- 14.0.0
Internal refactor of
Helpclass adding.formatItemList()and.groupItems()methods
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.