Packages

commander

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

Upgrading commander From 3.0.2 to 4.0.0

1 release in betweenevery note read

Other targets from 3.0.2Latest15.1.0
  1. 3.0.2yours
  2. 4.0.0target

Before you upgrade

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

Release by release

  1. 4.0.0

    Migration needed1 Nov 20195 new · 2 fixes
    • Breaking

      Breaking Commander is only officially supported on Node 8 and above, and requires Node 6

    • Breaking

      Breaking keep command object out of program.args when action handler called

    • Breaking

      Removed deprecated customFds option from call to child_process.spawn

    • New

      Automatically wrap and indent help descriptions for options and commands

1 other line we could not sort, mostly version bumps
  • Call default subcommand even when there are unknown options

    4.0.0

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.