patternlab-node
patternlab-node copied to clipboard
refactor: updated dependency commander
Summary of changes:
We're updating the dependency commander with this pull request.
Analysis for necessary changes is ongoing.
Changes to the package
List of all breaking changes according to the commanderpackage changelog:
8.0.0 (2021-06-25)
Changed
-
Breaking:
Helpmethod.visibleArguments()returns array ofArgument(#1490) - Breaking: Commander 8 requires Node.js 12 or higher (#1500)
-
Breaking:
CommanderErrorcodecommander.invalidOptionArgumentrenamedcommander.invalidArgument(#1508) -
Breaking: TypeScript declaration for
.addTextHelp()callback no longer allows result ofundefined, now juststring(#1516)
Removed
-
Breaking: TypeScript declaration for default export of global
Commandobject (#1520)- (still available as named
programexport)
- (still available as named
7.0.0 (2021-01-15)
Changed
-
Breaking: options are stored safely by default, not as properties on the command (#1409)
- this especially affects accessing options on program, use
program.opts() - revert behaviour with
.storeOptionsAsProperties()
- this especially affects accessing options on program, use
- Breaking: action handlers are passed options and command separately (#1409)
-
Breaking: errors now displayed using
process.stderr.write()instead ofconsole.error()