Packages

commander

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

Upgrading commander From 6.2.1 to 7.0.0

1 release in betweenevery note read

Other targets from 6.2.1Latest15.1.0
  1. 6.2.1yours
  2. 7.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Deprecated7.0.0

Release by release

  1. 7.0.0

    Migration needed15 Jan 202110 new · 2 fixes
    • Breaking
      • options are stored safely by default, not as properties on the command

    • Breaking
      • action handlers are passed options and command separately

    • Breaking
      • errors now displayed using process.stderr.write() instead of console.error()

    • Breaking

      No longer needed as action handler is passed options and command

3 other lines we could not sort, mostly version bumps
  • Deprecated callback parameter to .help() and .outputHelp() (removed from README)

    7.0.0
  • Initialise the command description to empty string (previously undefined)

    7.0.0
  • Document and annotate deprecated routines

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