commander
15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed
Upgrading commander From 6.0.0 to 6.2.1
3 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 9
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.2.0
Release by release
- Fixed
Some tests failed if directory path included a space (1390)
- Fixed
- Breaking
Removed blank line after "Arguments:" in help, to match "Options:" and "Commands:"
- New
Added 'tsx' file extension for stand-alone executable subcommands
- New
Documented second parameter to
.description()to describe command arguments - New
Documentation of special cases with options taking varying numbers of option-arguments
- New
Documentation for terminology
- New
Add missing TypeScript definition for `.addHelpCommand()'
- Breaking
- New
Include URL to relevant section of README for error for potential conflict between Command properties and option values
- New
.combineFlagAndOptionalValue(false)to ease upgrade path from older versions of Commander - New
Allow disabling the built-in help option using
.helpOption(false) - New
Allow just some arguments in
argumentDescriptionto.description() - Fixed
Executable subcommand launching when script path not known
- New
1 other line we could not sort, mostly version bumps
- 6.1.0
Tidy async test and remove lint override
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.