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