npm commander 7.1.0
v7.1.0

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
latest releases: 8.3.0, 8.2.0, 8.1.0...
8 months ago