Commander.js v7.1.0 Release Notes

Release Date: 2021-02-15 // about 3 years ago
  • โž• Added

    • ๐Ÿ‘Œ support for named imports from ECMAScript modules ([#1440])
    • โž• add .cjs to list of expected script file extensions ([#1449])
    • ๐Ÿ‘ allow using option choices and variadic together ([#1454])

    ๐Ÿ›  Fixed

    • ๐Ÿ—„ replace use of deprecated process.mainModule ([#1448])
    • ๐Ÿ’ป regression for legacy command('*') and call when command line includes options ([#1464])
    • ๐Ÿ’ป regression for on('command:*', ...) and call when command line includes unknown options ([#1464])
    • display best error for combination of unknown command and unknown option (i.e. unknown command) ([#1464])

    ๐Ÿ”„ Changed

    • โœ… make TypeScript typings tests stricter ([#1453])
    • ๐Ÿ‘Œ improvements to README and tests