Packages

commander

15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed

Upgrading commander From 12.1.0 to 13.0.0

1 release in betweenevery note read

Other targets from 12.1.0Latest15.1.0
  1. 12.1.0yours
  2. 13.0.0target
4
changes to make
0
advisories fixed
6
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking13.0.0
  • Breaking13.0.0
  • Breaking13.0.0
  • Breaking13.0.0

Release by release

  1. 13.0.0

    Migration needed30 Dec 20246 new
    • Breaking

      Excess command-arguments cause an error by default, see migration tips

    • Breaking

      Throw during Option construction for unsupported option flags, like multiple characters after single -

    • Breaking

      Throw on multiple calls to .parse() if storeOptionsAsProperties: true

    • Breaking

      Help.wrap() refactored into formatItem() and boxWrap()

1 other line we could not sort, mostly version bumps
  • TypeScript: Include implicit this in parameters for action handler callback

    13.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.