[PR #2271] [CLOSED] chore(deps-dev): bump commander from 8.3.0 to 9.2.0 #3699

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

📋 Pull Request Information

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

Base: mainHead: dependabot/npm_and_yarn/commander-9.2.0


📝 Commits (1)

  • 4ce89eb chore(deps-dev): bump commander from 8.3.0 to 9.2.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.2.0.

Release notes

Sourced from commander's releases.

v9.2.0

Added

  • conditional export of 'types' for upcoming TypeScript module resolution (#1703)
  • example file showing two ways to add global options to subcommands (#1708)

Fixed

  • detect option conflicts in parent commands of called subcommand (#1710)

Changed

  • replace deprecated String.prototype.substr (#1706)

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

... (truncated)

Changelog

Sourced from commander's changelog.

[9.2.0] (2022-04-15)

Added

  • conditional export of 'types' for upcoming TypeScript module resolution (#1703)
  • example file showing two ways to add global options to subcommands (#1708)

Fixed

  • detect option conflicts in parent commands of called subcommand (#1710)

Changed

  • replace deprecated String.prototype.substr (#1706)

[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)

... (truncated)

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/2271 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 4/18/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/commander-9.2.0` --- ### 📝 Commits (1) - [`4ce89eb`](https://github.com/hoppscotch/hoppscotch/commit/4ce89eb5a59f1a1c1dfd5a2fe96fc9e094751464) chore(deps-dev): bump commander from 8.3.0 to 9.2.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.2.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.2.0</h2> <h3>Added</h3> <ul> <li>conditional export of 'types' for upcoming TypeScript module resolution (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1703">#1703</a>)</li> <li>example file showing two ways to add global options to subcommands (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1708">#1708</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>detect option conflicts in parent commands of called subcommand (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1710">#1710</a>)</li> </ul> <h3>Changed</h3> <ul> <li>replace deprecated <code>String.prototype.substr</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1706">#1706</a>)</li> </ul> <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> <!-- 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.2.0] (2022-04-15)</h2> <h3>Added</h3> <ul> <li>conditional export of 'types' for upcoming TypeScript module resolution (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1703">#1703</a>)</li> <li>example file showing two ways to add global options to subcommands (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1708">#1708</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>detect option conflicts in parent commands of called subcommand (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1710">#1710</a>)</li> </ul> <h3>Changed</h3> <ul> <li>replace deprecated <code>String.prototype.substr</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1706">#1706</a>)</li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tj/commander.js/commit/6c26370fcba737d9786a34d0e8693f689a067569"><code>6c26370</code></a> Add link for 9.2.0 changes</li> <li><a href="https://github.com/tj/commander.js/commit/9864529b1265860b22559da8048fe11777411212"><code>9864529</code></a> Add another PR to CHANGELOG</li> <li><a href="https://github.com/tj/commander.js/commit/b77a0e9e7e6af4ef5de304b70982f82e7324df42"><code>b77a0e9</code></a> Prepare for 9.2.0</li> <li><a href="https://github.com/tj/commander.js/commit/bf205d10295d0559fdcd3bb3e8d8eee92af98c09"><code>bf205d1</code></a> Check for conflicts in parent commands (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1711">#1711</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/7d7a674bb223528fbf2e01b277df844ef1a2ea17"><code>7d7a674</code></a> Clarify option arguments (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1709">#1709</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/40e67bcf75609be4914a34ca42ce82482bc99ee4"><code>40e67bc</code></a> Add example for &quot;global&quot; options (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1708">#1708</a>)</li> <li><a href="https://github.com/tj/commander.js/commit/961c45eb465848e0892f60f54a940ea05f770792"><code>961c45e</code></a> refactor: replace deprecated String.prototype.substr()</li> <li><a href="https://github.com/tj/commander.js/commit/8cbd082501710a9599cbe71bf3e6c957cbd632f8"><code>8cbd082</code></a> Add <code>&quot;types&quot;</code> to <code>&quot;exports&quot;</code> (<a href="https://github-redirect.dependabot.com/tj/commander.js/issues/1704">#1704</a>)</li> <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>Additional commits viewable in <a href="https://github.com/tj/commander.js/compare/v8.3.0...v9.2.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.2.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:17:24 +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#3699
No description provided.