Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

[Snyk] Upgrade commander from 4.0.0 to 4.0.1 #100

Merged
merged 1 commit into from Nov 21, 2019

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade commander from 4.0.0 to 4.0.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 9 days ago, on 2019-11-11.
Release notes
  • Package name: commander
    • 4.0.1 - 2019-11-11

      Fixed

      • display help when requested, even if there are missing required options (#1091)
    • 4.0.0 - 2019-11-01

      Added

      • automatically wrap and indent help descriptions for options and commands (#1051)
      • .exitOverride() allows override of calls to process.exit for additional error handling and to keep program running (#1040)
      • support for declaring required options with .requiredOptions() (#1071)
      • GitHub Actions support (#1027)
      • translation links in README

      Changed

      • dev: switch tests from Sinon+Should to Jest with major rewrite of tests (#1035)
      • call default subcommand even when there are unknown options (#1047)
      • Breaking Commander is only officially supported on Node 8 and above, and requires Node 6 (#1053)

      Fixed

      • Breaking keep command object out of program.args when action handler called (#1048)
        • also, action handler now passed array of unknown arguments
      • complain about unknown options when program argument supplied and action handler (#1049)
        • this changes parameters to command:* event to include unknown arguments
      • removed deprecated customFds option from call to child_process.spawn (#1052)
      • rework TypeScript declarations to bring all types into imported namespace (#1081)

      Migration Tips

      Testing for no arguments

      If you were previously using code like:

      if (!program.args.length) ...
      

      a partial replacement is:

      if (program.rawArgs.length < 3) ...
      
  • from commander GitHub release notes

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@codecov-io
Copy link

codecov-io commented Nov 19, 2019

Codecov Report

Merging #100 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   64.34%   64.34%           
=======================================
  Files         102      102           
  Lines        2824     2824           
  Branches      505      505           
=======================================
  Hits         1817     1817           
  Misses        975      975           
  Partials       32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f6b099...710d7cc. Read the comment docs.

@ryshu ryshu merged commit e1f60aa into master Nov 21, 2019
@ryshu ryshu deleted the snyk-upgrade-8d0902326cfcb91f0a72826d5234575c branch November 21, 2019 06:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants