[PR #2231] [CLOSED] chore(deps-dev): bump commander from 8.3.0 to 9.1.0 #3684

Closed
opened 2026-03-17 01:16:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2231
Author: @dependabot[bot]
Created: 4/4/2022
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/commander-9.1.0


📝 Commits (1)

  • 84835ae chore(deps-dev): bump commander from 8.3.0 to 9.1.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-cli/package.json (+1 -1)

📄 Description

Bumps commander from 8.3.0 to 9.1.0.

Release notes

Sourced from commander's releases.

v9.1.0

Added

  • Option .conflicts() to set conflicting options which can not be specified together (#1678)
  • (developer) CodeQL configuration for GitHub Actions (#1698)

v9.0.0

Added

  • simpler ECMAScript import (#1589)
  • Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (#1652)
  • .executableDir() for custom search for subcommands (#1571)
  • throw with helpful message if pass Option to .option() or .requiredOption() (#1655)
  • .error() for generating errors from client code just like Commander generated errors, with support for .configureOutput (), .exitOverride(), and .showHelpAfterError() (#1675)
  • .optsWithGlobals() to return merged local and global options (#1671)

Changed

  • Breaking: Commander 9 requires Node.js v12.20.0 or higher
  • update package-lock.json to lockfile@2 format (#1659)
  • showSuggestionAfterError is now on by default (#1657)
  • Breaking: default value specified for boolean option now always used as default value (see .preset() to match some previous behaviours) (#1652)
  • default value for boolean option only shown in help if true/false (#1652)
  • use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) (#1571)
  • allow absolute path with executableFile (#1571)
  • removed restriction that nested subcommands must specify executableFile (#1571)
  • TypeScript: allow passing readonly string array to .choices() (#1667)
  • TypeScript: allow passing readonly string array to .parse(), .parseAsync(), .aliases() (#1669)

Fixed

  • option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments (#1652)

Removed

  • Breaking: removed internal fallback to require.main.filename when script not known from arguments passed to .parse() (can supply details using .name(), and .executableDir() or executableFile) (#1571)

9.0.0-1

Added

  • .error() for generating errors from client code just like Commander generated errors, with support for .configureOutput(), .exitOverride(), and .showHelpAfterError() (#1675)
  • .optsWithGlobals() to return merged local and global options (#1671)

9.0.0-0

Added

  • simpler ECMAScript import (#1589)
  • Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (#1652)

... (truncated)

Changelog

Sourced from commander's changelog.

[9.1.0] (2022-03-19)

Added

  • Option .conflicts() to set conflicting options which can not be specified together (#1678)
  • (developer) CodeQL configuration for GitHub Actions (#1698)

[9.0.0] (2022-01-28)

Added

  • simpler ECMAScript import (#1589)
  • Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (#1652)
  • .executableDir() for custom search for subcommands (#1571)
  • throw with helpful message if pass Option to .option() or .requiredOption() (#1655)
  • .error() for generating errors from client code just like Commander generated errors, with support for .configureOutput(), .exitOverride(), and .showHelpAfterError() (#1675)
  • .optsWithGlobals() to return merged local and global options (#1671)

Changed

  • Breaking: Commander 9 requires Node.js v12.20.0 or higher
  • update package-lock.json to lockfile@2 format (#1659)
  • showSuggestionAfterError is now on by default (#1657)
  • Breaking: default value specified for boolean option now always used as default value (see .preset() to match some previous behaviours) (#1652)
  • default value for boolean option only shown in help if true/false (#1652)
  • use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) (#1571)
  • allow absolute path with executableFile (#1571)
  • removed restriction that nested subcommands must specify executableFile (#1571)
  • TypeScript: allow passing readonly string array to .choices() [(#1667)]
  • TypeScript: allow passing readonly string array to .parse(), .parseAsync(), .aliases() [(#1669)]

Fixed

  • option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments (#1652)

Removed

  • Breaking: removed internal fallback to require.main.filename when script not known from arguments passed to .parse() (can supply details using .name(), and .executableDir() or executableFile) (#1571)

[9.0.0-1] (2022-01-15)

(Released in 9.0.0)

[9.0.0-0] (2021-12-22)

(Released in 9.0.0)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2231 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/4/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/commander-9.1.0` --- ### 📝 Commits (1) - [`84835ae`](https://github.com/hoppscotch/hoppscotch/commit/84835ae72e37ef0101c0eb900506e3dd9507fdac) chore(deps-dev): bump commander from 8.3.0 to 9.1.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-cli/package.json` (+1 -1) </details> ### 📄 Description Bumps [commander](https://github.com/tj/commander.js) from 8.3.0 to 9.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tj/commander.js/releases">commander's releases</a>.</em></p> <blockquote> <h2>v9.1.0</h2> <h3>Added</h3> <ul> <li>Option <code>.conflicts()</code> to set conflicting options which can not be specified together (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1678">#1678</a>)</li> <li>(developer) CodeQL configuration for GitHub Actions (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1698">#1698</a>)</li> </ul> <h2>v9.0.0</h2> <h3>Added</h3> <ul> <li>simpler ECMAScript import (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1589">#1589</a>)</li> <li>Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li><code>.executableDir()</code> for custom search for subcommands (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>throw with helpful message if pass <code>Option</code> to <code>.option()</code> or <code>.requiredOption()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1655">#1655</a>)</li> <li>.<code>error()</code> for generating errors from client code just like Commander generated errors, with support for <code>.configureOutput ()</code>, <code>.exitOverride()</code>, and <code>.showHelpAfterError()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1675">#1675</a>)</li> <li><code>.optsWithGlobals()</code> to return merged local and global options (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1671">#1671</a>)</li> </ul> <h3>Changed</h3> <ul> <li><em>Breaking:</em> Commander 9 requires Node.js v12.20.0 or higher</li> <li>update package-lock.json to lockfile@2 format (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1659">#1659</a>)</li> <li><code>showSuggestionAfterError</code> is now on by default (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1657">#1657</a>)</li> <li><em>Breaking:</em> default value specified for boolean option now always used as default value (see .preset() to match some previous behaviours) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li>default value for boolean option only shown in help if true/false (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li>use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>allow absolute path with <code>executableFile</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>removed restriction that nested subcommands must specify <code>executableFile</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>TypeScript: allow passing readonly string array to <code>.choices()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1667">#1667</a>)</li> <li>TypeScript: allow passing readonly string array to <code>.parse()</code>, <code>.parseAsync()</code>, <code>.aliases()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1669">#1669</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> </ul> <h3>Removed</h3> <ul> <li><em>Breaking:</em> removed internal fallback to <code>require.main.filename</code> when script not known from arguments passed to <code>.parse()</code> (can supply details using <code>.name()</code>, and <code>.executableDir()</code> or <code>executableFile</code>) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> </ul> <h2>9.0.0-1</h2> <h3>Added</h3> <ul> <li>.<code>error()</code> for generating errors from client code just like Commander generated errors, with support for <code>.configureOutput()</code>, <code>.exitOverride()</code>, and <code>.showHelpAfterError()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1675">#1675</a>)</li> <li><code>.optsWithGlobals()</code> to return merged local and global options (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1671">#1671</a>)</li> </ul> <h2>9.0.0-0</h2> <h3>Added</h3> <ul> <li>simpler ECMAScript import (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1589">#1589</a>)</li> <li>Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tj/commander.js/blob/master/CHANGELOG.md">commander's changelog</a>.</em></p> <blockquote> <h2>[9.1.0] (2022-03-19)</h2> <h3>Added</h3> <ul> <li>Option <code>.conflicts()</code> to set conflicting options which can not be specified together (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1678">#1678</a>)</li> <li>(developer) CodeQL configuration for GitHub Actions (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1698">#1698</a>)</li> </ul> <h2>[9.0.0] (2022-01-28)</h2> <h3>Added</h3> <ul> <li>simpler ECMAScript import (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1589">#1589</a>)</li> <li>Option.preset() allows specifying value/arg for option when used without option-argument (especially optional, but also boolean option) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li><code>.executableDir()</code> for custom search for subcommands (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>throw with helpful message if pass <code>Option</code> to <code>.option()</code> or <code>.requiredOption()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1655">#1655</a>)</li> <li>.<code>error()</code> for generating errors from client code just like Commander generated errors, with support for <code>.configureOutput()</code>, <code>.exitOverride()</code>, and <code>.showHelpAfterError()</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1675">#1675</a>)</li> <li><code>.optsWithGlobals()</code> to return merged local and global options (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1671">#1671</a>)</li> </ul> <h3>Changed</h3> <ul> <li><em>Breaking:</em> Commander 9 requires Node.js v12.20.0 or higher</li> <li>update package-lock.json to lockfile@2 format (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1659">#1659</a>)</li> <li><code>showSuggestionAfterError</code> is now on by default (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1657">#1657</a>)</li> <li><em>Breaking:</em> default value specified for boolean option now always used as default value (see .preset() to match some previous behaviours) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li>default value for boolean option only shown in help if true/false (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> <li>use command name as prefix for subcommand stand-alone executable name (with fallback to script name for backwards compatibility) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>allow absolute path with <code>executableFile</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>removed restriction that nested subcommands must specify <code>executableFile</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> <li>TypeScript: allow passing readonly string array to <code>.choices()</code> [(<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1667">#1667</a>)]</li> <li>TypeScript: allow passing readonly string array to <code>.parse()</code>, <code>.parseAsync()</code>, <code>.aliases()</code> [(<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1669">#1669</a>)]</li> </ul> <h3>Fixed</h3> <ul> <li>option with optional argument not supplied on command line now works when option already has a value, whether from default value or from previous arguments (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1652">#1652</a>)</li> </ul> <h3>Removed</h3> <ul> <li><em>Breaking:</em> removed internal fallback to <code>require.main.filename</code> when script not known from arguments passed to <code>.parse()</code> (can supply details using <code>.name()</code>, and <code>.executableDir()</code> or <code>executableFile</code>) (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1571">#1571</a>)</li> </ul> <h2>[9.0.0-1] (2022-01-15)</h2> <p>(Released in 9.0.0)</p> <h2>[9.0.0-0] (2021-12-22)</h2> <p>(Released in 9.0.0)</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tj/commander.js/commit/5bddedf2496e31c0a5d3eae7b8419b09291cf2fc"><code>5bddedf</code></a> Update CHANGELOG and version for 9.1.0</li> <li><a href="https://github.com/tj/commander.js/commit/0e29b3dc51e76cd073019aae0e9d6cbdfbd4d92f"><code>0e29b3d</code></a> Fix the typo</li> <li><a href="https://github.com/tj/commander.js/commit/019499bfc3986dd598c9e1f0cab87d46646123b7"><code>019499b</code></a> Remove low-value argument test (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1701">#1701</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/1d270784f5282c737ada9036671c591254c9ee71"><code>1d27078</code></a> Add extended conflicts example (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1700">#1700</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/b5d2bb10ae56919ff907d142cbb7245bc75338c4"><code>b5d2bb1</code></a> ci: add .github/workflows/codeql-analysis.yml</li> <li><a href="https://github.com/tj/commander.js/commit/fc4fd417ee3ddde6a8b01b6767bd711f4dfc4347"><code>fc4fd41</code></a> feat(option): allow to set options as conflicting (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1678">#1678</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/997655dea2783323ffaddb2ddb5fb8786a73ad61"><code>997655d</code></a> Fix syntax errors in migration example (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1692">#1692</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/47e8b201a52be31ef891b13fa7827fb1be02b400"><code>47e8b20</code></a> Follow best practice and require process rather than use global (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1685">#1685</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/02a124c7d58dbae2ef11f9284b2c68ad94f6dc8b"><code>02a124c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1683">#1683</a> from tj/release/9.x</li> <li><a href="https://github.com/tj/commander.js/commit/1f66069d68aef436c714eab3fa5850cb5f49a39d"><code>1f66069</code></a> Add readonly changes to CHANGELOG</li> <li>Additional commits viewable in <a href="https://github.com/tj/commander.js/compare/v8.3.0...v9.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commander&package-manager=npm_and_yarn&previous-version=8.3.0&new-version=9.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:16:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3684
No description provided.