just-wait icon indicating copy to clipboard operation
just-wait copied to clipboard

Update commander to the latest version 🚀

Open greenkeeper[bot] opened this issue 8 years ago • 23 comments

Version 2.10.0 of commander just got published.

Dependency commander
Current Version 2.9.0
Type dependency

The version 2.10.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of commander. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes Release V2.10.0
  • Update .travis.yml. drop support for older node.js versions.
  • Fix require arguments in README.md
  • On SemVer you do not start from 0.0.1
  • Add missing semi colon in readme
  • Add save param to npm install
  • node v6 travis test
  • Update Readme_zh-CN.md
  • Allow literal '--' to be passed-through as an argument
  • Test subcommand alias help
  • link build badge to master branch
  • Support the alias of Git style sub-command
  • added keyword commander for better search result on npm
  • Fix Sub-Subcommands
  • test node.js stable
  • Fixes TypeError when a command has an option called --description
  • Update README.md to make it beginner friendly and elaborate on the difference between angled and square brackets.
  • Add chinese Readme file
Commits

The new version differs by 50 commits.

  • 8870675 version bump 2.10.0
  • 98e66bc #330 make .option defaultValue and fn and .version flag optional
  • d674384 Merge pull request #639 from abetomo/update_version_to_be_tested
  • 45ce032 Remove io.js
  • b888282 Add version 5
  • 5ac0439 Do not test older versions
  • 579f670 Do not test older versions
  • 4c7c1cf Add new version
  • 8049258 Do not test older versions
  • 9bfc4eb Merge pull request #610 from xcatliu/patch-1
  • 648629f Merge pull request #619 from Nepomuceno/patch-1
  • 20493bb On SemVer you do not start from 0.0.1
  • 8a4f1ad Fix require arguments in README.md
  • 3367806 Merge pull request #585 from simeg/simeg-patch-1
  • ff501a1 Merge pull request #593 from junajan/patch-1

There are 50 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] avatar Jun 23 '17 09:06 greenkeeper[bot]

Version 2.11.0 just got published.

Update to this version instead 🚀

Release Notes Release V2.11.0
  • Fix help section order and padding (#652)
  • feature: support for signals to subcommands (#632)
  • Fixed #37, --help should not display first (#447)
  • Fix translation errors. (#570)
  • Add package-lock.json
  • Remove engines
  • Upgrade package version
  • Prefix events to prevent conflicts between commands and options (#494)
  • Removing dependency on graceful-readlink
  • Support setting name in #name function and make it chainable
  • Add .vscode directory to .gitignore (Visual Studio Code metadata)
  • Updated link to ruby commander in readme files
Commits

The new version differs by 13 commits.

  • 30535a6 Version bump 2.11.0 (#657)
  • 14e5738 Fix help section order and padding (#652)
  • 1e4c689 feature: support for signals to subcommands (#632)
  • 3c2fd5c Fixed #37, --help should not display first (#447)
  • f2eb7e3 Fix translation errors. (#570)
  • 6106f10 Add package-lock.json
  • 14c2c81 Remove engines
  • b00b6aa Upgrade package version
  • 78c563d Prefix events to prevent conflicts between commands and options (#494)
  • 85450a0 Removing dependency on graceful-readlink
  • 57bc3ba Support setting name in #name function and make it chainable
  • add00ad Add .vscode directory to .gitignore (Visual Studio Code metadata)
  • 5c97707 Updated link to ruby commander in readme files

See the full diff

greenkeeper[bot] avatar Jul 03 '17 10:07 greenkeeper[bot]

Version 2.12.0 just got published.

Update to this version instead 🚀

Release Notes v2.12.0
  • add attributeName() method to Option objects
  • Documentation updated for options with --no prefix
  • typings: outputHelp takes a string as the first parameter
  • typings: use overloads
  • feat(typings): update to match js api
  • Print default value in option help
  • Fix translation error
  • Fail when using same command and alias (#491)
  • feat(typings): add help callback
  • fix bug when description is add after command with options (#662)
  • Format js code
  • Rename History.md to CHANGELOG.md (#668)
  • feat(typings): add typings to support TypeScript (#646)
  • use current node
Commits

The new version differs by 15 commits.

  • 7e22f38 version bump 2.12.0
  • 0060dde add attributeName() method to Option objects
  • d359b75 Documentation updated for options with --no prefix
  • 0ae8353 typings: outputHelp takes a string as the first parameter
  • c5511a2 typings: use overloads
  • 7a122e7 feat(typings): update to match js api
  • d9abf56 Print default value in option help
  • b92a7c6 Fix translation error
  • 2f07e29 Fail when using same command and alias (#491)
  • df86179 feat(typings): add help callback
  • 5c74431 fix bug when description is add after command with options (#662)
  • df3b529 Format js code
  • f249c85 Rename History.md to CHANGELOG.md (#668)
  • 66dfb8c feat(typings): add typings to support TypeScript (#646)
  • 90b7fef use current node

See the full diff

greenkeeper[bot] avatar Nov 22 '17 23:11 greenkeeper[bot]

Version 2.12.1 just got published.

Update to this version instead 🚀

Release Notes v2.12.1
  • Move @types/node to dev dependency
Commits

The new version differs by 4 commits.

  • 91c2514 Merge pull request #721 from abetomo/version_bump_2.12.1
  • 0a91554 version bump 2.12.1
  • a7124fc Merge pull request #718 from chengkungui/patch-1
  • 245584e Move @types/node to dev dependency

See the full diff

greenkeeper[bot] avatar Nov 23 '17 10:11 greenkeeper[bot]

Version 2.12.2 just got published.

Update to this version instead 🚀

Release Notes v2.12.2
  • fix: typings are not shipped
Commits

The new version differs by 4 commits.

  • 6864c95 Merge pull request #726 from abetomo/version_bump_2.12.2
  • 451edf9 version bump 2.12.2
  • a670f93 Merge pull request #725 from alan-agius4/patch-2
  • 4fe6578 fix: typings are not shipped

See the full diff

greenkeeper[bot] avatar Nov 28 '17 07:11 greenkeeper[bot]

Version 2.13.0 just got published.

Update to this version instead 🚀

Release Notes v2.13.0
  • Do not print default for --no-
  • remove trailing spaces in command help
  • Update CI's Node.js to LTS and latest version
  • typedefs: Command and Option types added to commander namespace
Commits

The new version differs by 8 commits.

  • 291fbaa Merge pull request #748 from abetomo/version_bump_2.13.0
  • 63f1ee9 version bump 2.13.0
  • f13ee18 Do not print default for --no-
  • ff712f1 remove trailing spaces in command help
  • fefda77 Merge pull request #713 from sveinburne/feature/enhanced-typedefs
  • d812171 Merge pull request #723 from abetomo/add_nodejs_version_to_ci_yml
  • 498ce71 Update CI's Node.js to LTS and latest version
  • 965188f typedefs: Command and Option types added to commander namespace

See the full diff

greenkeeper[bot] avatar Jan 11 '18 15:01 greenkeeper[bot]

Version 2.14.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 16 commits.

  • de4af3a version bump 2.14.0
  • 445e80e Merge pull request #761 from mojavelinux/register-on-version-once
  • ba6592f only register the option:version event once
  • f5abcdb Merge pull request #728 from sorohan/master
  • 06451e3 Add missing semi-colons for linting.
  • 92d6e49 Check if argv is set in array, instead of checking falsey
  • f44fa3b Add test for empty option on command
  • d5ac793 Merge pull request #753 from mojavelinux/issue-560-version-option
  • 38f41bf Merge pull request #760 from mojavelinux/enable-eqeqeq-rule
  • cdb7a95 enable eqeqeq rule
  • 4c9b4b8 resolves #754 add linter configuration to project
  • 37359ee resolves #560 respect custom name for version option
  • e5d8f04 Merge pull request #752 from mojavelinux/document-version-flag
  • 9cee324 document how to override the version flag
  • 447ce8f Merge pull request #751 from mojavelinux/options-for-command

There are 16 commits in total.

See the full diff

greenkeeper[bot] avatar Feb 06 '18 01:02 greenkeeper[bot]

Version 2.14.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] avatar Feb 07 '18 07:02 greenkeeper[bot]

Version 2.15.0 just got published.

Update to this version instead 🚀

Release Notes v2.15.0
  • Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
  • Arguments description
Commits

The new version differs by 7 commits.

  • d8404f8 Merge pull request #775 from abetomo/version_bump_2.15.0
  • cb6f680 version bump 2.15.0
  • 5c880fc Merge pull request #772 from cheapsteak/patch-2
  • 956b9e5 Update downloads badge to point to graph of downloads
  • c92ca1d Merge pull request #711 from cravler/args_description
  • 1d52048 Merge branch 'master' into args_description
  • f226259 Arguments description

See the full diff

greenkeeper[bot] avatar Mar 08 '18 08:03 greenkeeper[bot]

Version 2.15.1 just got published.

Update to this version instead 🚀

Release Notes v2.15.1

fix #777
Released with [email protected]

Commits

The new version differs by 1 commits.

See the full diff

greenkeeper[bot] avatar Mar 20 '18 01:03 greenkeeper[bot]

Version 2.16.0 just got published.

Update to this version instead 🚀

Release Notes v2.16.0
  • Remove Makefile and test/run (#821)
  • Make 'npm test' run on Windows (#820)
  • Add badge to display install size (#807)
  • chore: cache node_modules (#814)
  • chore: remove Node.js 4 (EOL), add Node.js 10 (#813)
  • fixed typo in readme (#812)
  • Fix types (#804)
  • Update eslint to resolve vulnerabilities in lodash (#799)
  • updated readme with custom event listeners. (#791)
  • fix tests (#794)
Commits

The new version differs by 17 commits.

  • 4cc348b Merge pull request #822 from abetomo/version_bump_2.16.0
  • 8db14db version bump 2.16.0
  • 1f9354f Remove Makefile and test/run (#821)
  • 3f4f5ca Make 'npm test' run on Windows (#820)
  • 3b8e519 Merge pull request #807 from styfle/patch-1
  • 77ffd4f Merge pull request #814 from DanielRuf/chore/cache-node-modules
  • 6889693 chore: cache node_modules
  • ff2f618 Merge pull request #813 from DanielRuf/chore/remove-nodejs-4-add-nodejs-10
  • d5c1d7d chore: remove Node.js 4 (EOL), add Node.js 10
  • c05ed98 Merge pull request #812 from yausername/fixReadme
  • 55ff22f fixed typo in readme
  • 2415089 Add badge to display install size
  • 89edef0 Fix types (#804)
  • 001d560 Update eslint to resolve vulnerabilities in lodash
  • 988d09b Merge pull request #791 from yausername/master

There are 17 commits in total.

See the full diff

greenkeeper[bot] avatar Jun 29 '18 09:06 greenkeeper[bot]

Version 2.17.0 just got published.

Update to this version instead 🚀

Release Notes v2.17.0
  • fixed newline output after help information (#833)
  • Fix to emit the action even without command (#778)
  • npm update (#823)
Commits

The new version differs by 5 commits.

  • 25b06ee version bump 2.17.0
  • 6ddb8eb fixed newline output after help information (#833)
  • 28ff02a Fix to emit the action even without command (#778)
  • 2d49ddf Fix the path of tsc command (#824)
  • aaa447a npm update (#823)

See the full diff

greenkeeper[bot] avatar Aug 04 '18 00:08 greenkeeper[bot]

Version 2.17.1 just got published.

Update to this version instead 🚀

Release Notes v2.17.1
  • Fix bug in command emit (#844)
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper[bot] avatar Aug 07 '18 11:08 greenkeeper[bot]

Version 2.18.0 just got published.

Update to this version instead 🚀

Release Notes v2.18.0
  • Standardize help output (#853)
  • chmod 644 travis.yml (#851)
  • add support for execute typescript subcommand via ts-node (#849)
Commits

The new version differs by 5 commits.

  • 54b7f14 version bump 2.18.0
  • 713db77 Standardize help output (#853)
  • af17996 chmod 644 travis.yml
  • 8bcc493 Merge pull request #849 from KillWolfVlad/feature/executeSubCommand-tsnode
  • bf47dcc add support for execute typescript subcommand via ts-node

See the full diff

greenkeeper[bot] avatar Sep 07 '18 10:09 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 2.19.0.

Update to this version instead 🚀

Release Notes for v2.19.0
  • Removed newline after Options and Commands headers (#864)
  • Bugfix - Error output (#862)
  • Fix to change default value to string (#856)
Commits

The new version differs by 6 commits.

  • 78b7dbd version bump 2.19.0
  • 6aafa20 prefixed error messages with "error:"
  • 6c0c1f6 removed newline above and below errors
  • b6549f2 removed indentation from errors
  • 2c20e91 removed newline after options and commands headers
  • 4c294c1 Fix to change default value to string

See the full diff

greenkeeper[bot] avatar Oct 08 '18 21:10 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 2.20.0.

Update to this version instead 🚀

Release Notes for v2.20.0
  • fix: resolve symbolic links completely when hunting for subcommands (#935)
  • Update index.d.ts (#930)
  • Update Readme.md (#924)
  • Remove --save option as it isn't required anymore (#918)
  • Add link to the license file (#900)
  • Added example of receiving args from options (#858)
  • Added missing semicolon (#882)
  • Add extension to .eslintrc (#876)
Commits

The new version differs by 18 commits.

  • 3e8bf54 Merge pull request #946 from abetomo/version_bump_2.20.0
  • 1ffcbef version bump 2.20.0
  • 50922d8 Merge pull request #935 from MarshallOfSound/fix-deep-sym-link-resolution
  • 994d24d fix: resolve symbol links until their are no more symbolic links
  • 291fc04 Merge pull request #930 from kira1928/update-index.d.ts
  • a469137 some more fix.
  • a679949 Refine variable name. Use strict type definition instead of
  • e31bb8a Update index.d.ts
  • 4542306 Merge pull request #924 from ForJing/patch-1
  • 77bb580 Update Readme.md
  • 68545af Remove --save option as it isn't required anymore
  • 82d0d0a fix url :construction:
  • cec57f5 Add link to the license file :+1:
  • d240081 Update Readme.md
  • 03f7d38 Added example of receiving args from options

There are 18 commits in total.

See the full diff

greenkeeper[bot] avatar Apr 03 '19 00:04 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 3.0.0.

Update to this version instead 🚀

Release Notes for v3.0.0
  • Add option to specify executable file name (#999)
    • e.g. .command('clone', 'clone description', { executableFile: 'myClone' })
  • Change docs for .command to contrast action handler vs git-style executable. (#938 #990)
  • Breaking Change TypeScript to use overloaded function for .command. (#938 #990)
  • Change to use straight quotes around strings in error messages (like 'this' instead of `this') (#915)
  • Add TypeScript "reference types" for node (#974)
  • Add support for hyphen as an option argument in subcommands (#697)
  • Add support for a short option flag and its value to be concatenated for action handler subcommands (#599)
    • e.g. -p 80 can also be supplied as -p80
  • Add executable arguments to spawn in win32, for git-style executables (#611)
    • e.g. node --harmony myCommand.js clone
  • Add parent command as prefix of subcommand in help (#980)
  • Add optional custom description to .version (#963)
    • e.g. program.version('0.0.1', '-v, --vers', 'output the current version')
  • Add .helpOption(flags, description) routine to customise help flags and description (#963)
    • e.g. .helpOption('-e, --HELP', 'read more information')
  • Fix behavior of --no-* options (#795)
    • can now define both --foo and --no-foo
    • Breaking custom event listeners: --no-foo on cli now emits option:no-foo (previously option:foo)
    • Breaking default value: defining --no-foo after defining --foo leaves the default value unchanged (previously set it to false)
    • allow boolean default value, such as from environment (#987)
  • Increment inspector port for spawned subcommands (#991)
    • e.g. node --inspect myCommand.js clone

Example Breaking Changes

The custom event for a negated option like --no-foo is option:no-foo (previously option:foo).

program
  .option('--no-foo')
  .on('option:no-foo', () => {
    console.log('removing foo');
  });

When using TypeScript, adding a command does not allow an explicit undefined for an unwanted executable description (e.g. for a command with an action handler).

program
  .command('action1', undefined, { noHelp: true }) // No longer valid
  .command('action2', { noHelp: true }) // Correct
Commits

The new version differs by 104 commits.

  • 3b0127b update Readme_zh-CN to v3.0.0 and modify some old translation problems
  • bfcd39a Set release date for 3.0.0
  • d1469c0 Bump version for release
  • 41d0bdb Add explicit breaking notes (#1006)
  • 5b1b2fe Add links for issues (so work for direct viewing of CHANGELOG)
  • fb56370 Add Tidelift links (#1004)
  • f743bf4 Expand changelog for prerelease
  • e5bce2f Add #987 to CHANGELOG
  • a9503bb Allow boolean default for flag option (#987)
  • 55e88dc Add missing changes to v3.0.0 changelog
  • fb00b0e Merge branch 'master' into release/3.0.0
  • 831d52f Merge pull request #999 from shadowspawn/feature/specifyExecutableFile
  • a59e90f Merge pull request #998 from shadowspawn/feature/develop
  • 6d68637 Increment inspector port for spawned subcommands (#991)
  • facd66f Add debugging note with issue for mixed action/executable

There are 104 commits in total.

See the full diff

greenkeeper[bot] avatar Aug 09 '19 08:08 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 3.0.1.

Update to this version instead 🚀

greenkeeper[bot] avatar Aug 30 '19 09:08 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 3.0.2.

Update to this version instead 🚀

greenkeeper[bot] avatar Sep 26 '19 09:09 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 4.0.0.

Update to this version instead 🚀

greenkeeper[bot] avatar Nov 01 '19 10:11 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 4.0.1.

Update to this version instead 🚀

greenkeeper[bot] avatar Nov 11 '19 09:11 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 4.1.1.

Update to this version instead 🚀

greenkeeper[bot] avatar Feb 03 '20 06:02 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 5.0.0.

Update to this version instead 🚀

greenkeeper[bot] avatar Mar 14 '20 01:03 greenkeeper[bot]

  • The dependency commander was updated from 2.9.0 to 5.1.0.

Update to this version instead 🚀

greenkeeper[bot] avatar Apr 25 '20 02:04 greenkeeper[bot]