Packages

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

Other targets from 6.0.0Latest15.1.0
  1. 6.0.0yours
  2. 6.1.0
  3. 6.2.0breaking
  4. 6.2.1target
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

  1. 6.2.1

    14 Dec 20201 fix
    • Fixed

      Some tests failed if directory path included a space (1390)

  2. 6.2.0

    Migration needed25 Oct 20205 new
    • 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()'

  3. 6.1.0

    28 Aug 20204 new · 1 fix
    • 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 argumentDescription to .description()

    • Fixed

      Executable subcommand launching when script path not known

1 other line we could not sort, mostly version bumps
  • Tidy async test and remove lint override

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