Skip to content

fix(deps): update dependency inquirer to v13#1369

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-13-inquirer
Open

fix(deps): update dependency inquirer to v13#1369
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-13-inquirer

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Nov 20, 2025

This PR contains the following updates:

Package Change Age Confidence
inquirer (source) 12.11.113.4.3 age confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

v13.4.3

Compare Source

  • Fix: Windows rendering bug
  • Fix: Preserve exact literal types in choices array (Typescript only)
  • Fix: Allow input default value to be of type undefined (Typescript only)
  • Bump dependencies

v13.4.2

Compare Source

  • Fix: some Windows terminals would freeze and not react to keypresses.

v13.4.1

Compare Source

  • Improve expand prompt type inferrence.

v13.4.0

Compare Source

  • Feat: Added a loading message while validating editor prompt input.
  • Type improvement: Better type inference with checkbox, search and expand prompts.
  • Fix: editor prompt not always properly handling editor path on windows.

v13.3.2

Compare Source

  • Fix broken 1.3.1 release process.

v13.3.1

Compare Source

  • Bump dependencies

v13.3.0

Compare Source

  • Fix: Keypresses happening before a prompt is rendered are now ignored.
  • Fix (checkbox): Element who're both checked and disabled are now always included in the returned array.
  • Feat (select/checkbox): Cursor will now hover disabled options of the list; but they still cannot be interacted with. This prevents the cursor jumping ahead in ways that can be confusing.
  • Feat: various new theme options to make all prompts content localizable.

Finally, see our new @inquirer/i18n package!

v13.2.5

Compare Source

v13.2.4

Compare Source

v13.2.3

Compare Source

  • chore: Switch wrap-ansi with fast-wrap-ansi

v13.2.2

Compare Source

  • Typescript disallow type: 'list' unless there's a plugin installed under that name. (list was replaced by select and marked as deprecated for a few released, v13.0.0 removed the alias.)

v13.2.1

Compare Source

  • Regression: previous answers weren't provided to the validate functions as the second arguments.

v13.2.0

Compare Source

  • feat(search): Add support for default.
  • feat(rawlist): Add support for description of choices. That information is displayed under the list when the choice is highlighted.
  • Bump dependencies

v13.1.0

Compare Source

  • Feat: rawlist now supports default option.
  • Fix: select now infer return type properly when passing a choices array of string literals.

v13.0.2

Compare Source

  • Fix Typescript not discovering types when moduleResolution is set to commonjs (you probably want to fix that in your project if it's still in your tsconfig)

v13.0.1

Compare Source

v13.0.0

Compare Source

Release Notes

🚨 Breaking Changes

This is a major release that modernizes the codebase for Node.js ≥ 20.

ESM Only - No More CommonJS Support

Impact: All packages are now ESM-only. CommonJS imports are no longer supported.

If you're on modern Node versions (≥ 20), this should be transparent and have no impact.

Node.js Version Requirement

Minimum Node.js version is now 20.x

Node.js versions below 20 are no longer supported. Please upgrade to Node.js 20 or later.

Node min versions: >=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0

Deprecated APIs Removed

The following deprecated APIs have been removed after being deprecated in previous releases:

list prompt alias removed (affects inquirer package only)

The list alias has been removed from the inquirer package. This only impacts users of the legacy inquirer package, not users of @inquirer/prompts or individual prompt packages.

// ❌ No longer available (inquirer package only)
import inquirer from 'inquirer';
const answer = await inquirer.prompt([
  { type: 'list', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] }
]);

// ✅ Use 'select' instead
import inquirer from 'inquirer';
const answer = await inquirer.prompt([
  { type: 'select', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] }
]);
helpMode theme property removed
// ❌ No longer available
const answer = await select({
  theme: { helpMode: 'never' }
});

// ✅ Use theme.style.keysHelpTip instead
const answer = await select({
  theme: {
    style: {
      keysHelpTip: () => undefined // or your custom styling function
    }
  }
});

This affects the following prompts:

  • @inquirer/checkbox
  • @inquirer/search
  • @inquirer/select
instructions config property removed
// ❌ No longer available
const answer = await checkbox({
  instructions: 'Custom instructions'
});

// ✅ Use theme.style.keysHelpTip instead
const answer = await checkbox({
  theme: {
    style: {
      keysHelpTip: (text) => 'Custom instructions'
    }
  }
});

This affects the following prompts:

  • @inquirer/checkbox
  • @inquirer/search
  • @inquirer/select
cancel() method removed

The cancel() method on prompt return custom Promise has been removed.

// ❌ No longer available
const answerPromise = input({ message: 'Name?' });
answerPromise.cancel();
const answer = await answerPromise;

// ✅ Use AbortSignal instead
const controller = new AbortController();
const answer = await input(
  { message: 'Name?' },
  { signal: controller.signal }
);
controller.abort();
Color Library Change: yoctocolors → Node.js styleText

Internal change: The project now uses Node.js built-in util.styleText() instead of the yoctocolors package for terminal colors. This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 5 times, most recently from 594a95b to 4c1d7be Compare November 24, 2025 21:27
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 7 times, most recently from 60cc869 to 403eefe Compare December 2, 2025 21:12
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 7 times, most recently from 6608366 to 22a9ab3 Compare December 11, 2025 16:46
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 7 times, most recently from 8e878c8 to b1f8cb6 Compare December 21, 2025 22:31
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch from b1f8cb6 to 217cc0a Compare December 31, 2025 12:48
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 5 times, most recently from a361395 to e4fc289 Compare January 13, 2026 21:58
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 2 times, most recently from c756f27 to 9858842 Compare January 15, 2026 18:48
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch from 9858842 to 777dddb Compare January 23, 2026 23:23
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch from 777dddb to ddaf483 Compare February 1, 2026 01:40
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 11 times, most recently from e8bc825 to 2e9b320 Compare February 24, 2026 10:01
@renovate renovate Bot force-pushed the renovate/major-13-inquirer branch 9 times, most recently from 985a2d7 to 090045d Compare March 2, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants