Skip to content

fix(deps): update dependency @inquirer/prompts to v8#3247

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/inquirer-prompts-8.x
Open

fix(deps): update dependency @inquirer/prompts to v8#3247
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/inquirer-prompts-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 15, 2026

This PR contains the following updates:

Package Change Age Confidence
@inquirer/prompts (source) 7.10.18.4.2 age confidence

Release Notes

SBoudrias/Inquirer.js (@​inquirer/prompts)

v8.4.2

Compare Source

v8.4.1

Compare Source

  • Improve expand prompt type inferrence.

v8.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.

v8.3.2

Compare Source

  • Fix broken 8.3.1 release process.

v8.3.1

Compare Source

  • Bump dependencies

v8.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!

v8.2.1

Compare Source

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

v8.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

v8.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.

v8.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)

v8.0.1

Compare Source

v8.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 becomes conflicted, 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/inquirer-prompts-8.x branch 2 times, most recently from 99fd5ca to e749f3a Compare January 23, 2026 16:54
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch from e749f3a to 54a30c7 Compare February 2, 2026 17:35
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch 3 times, most recently from 6b90c86 to 20caeb1 Compare February 17, 2026 17:34
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch from 20caeb1 to 07d1c39 Compare February 23, 2026 01:21
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch 2 times, most recently from 66ac050 to 1062509 Compare March 16, 2026 00:53
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch 3 times, most recently from 2c157c2 to 9d68409 Compare April 6, 2026 21:56
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch 4 times, most recently from 8f5d027 to 28ca17e Compare April 9, 2026 07:15
@renovate renovate Bot force-pushed the renovate/inquirer-prompts-8.x branch from 28ca17e to 60c204e Compare April 19, 2026 18:00
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 19, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @swc/cli@0.8.1
npm ERR! Found: chokidar@4.0.3
npm ERR! node_modules/chokidar
npm ERR!   chokidar@"4.0.3" from the root project
npm ERR!   peerOptional chokidar@"^4.0.0" from @angular-devkit/core@19.2.24
npm ERR!   node_modules/@angular-devkit/core
npm ERR!     @angular-devkit/core@"19.2.24" from the root project
npm ERR!     @angular-devkit/core@"19.2.24" from @angular-devkit/schematics@19.2.24
npm ERR!     node_modules/@angular-devkit/schematics
npm ERR!       @angular-devkit/schematics@"19.2.24" from the root project
npm ERR!       1 more (@angular-devkit/schematics-cli)
npm ERR!     1 more (@angular-devkit/schematics-cli)
npm ERR!   2 more (@angular-devkit/core, fork-ts-checker-webpack-plugin)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional chokidar@"^5.0.0" from @swc/cli@0.8.1
npm ERR! node_modules/@swc/cli
npm ERR!   dev @swc/cli@"0.8.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: chokidar@5.0.0
npm ERR! node_modules/chokidar
npm ERR!   peerOptional chokidar@"^5.0.0" from @swc/cli@0.8.1
npm ERR!   node_modules/@swc/cli
npm ERR!     dev @swc/cli@"0.8.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2026-04-19T18_00_47_296Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant