Packages

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

Other targets from 13.1.0Latest15.1.0
  1. 13.1.0yours
  2. 14.0.0target
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

  1. 14.0.0

    Migration needed18 May 20253 new · 1 fix
    • 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() on Option and Command, 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 parseArg property to Argument class

    • Fixed

      .configureOutput() now makes copy of settings instead of modifying in-place, fixing side-effects

1 other line we could not sort, mostly version bumps
  • Internal refactor of Help class adding .formatItemList() and .groupItems() methods

    14.0.0

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.