Skip to content

chore(deps): update dependency @inquirer/prompts to v8#3454

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

chore(deps): update dependency @inquirer/prompts to v8#3454
renovate[bot] wants to merge 1 commit into
feat_v3.xfrom
renovate/inquirer-prompts-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 11, 2026

This PR contains the following updates:

Package Change Age Confidence
@inquirer/prompts (source) ^7.2.3^8.4.3 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v8.4.3

Compare Source

v8.4.2

Compare Source

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

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.

v7.10.1

Compare Source

  • [Node 18 compat] Downgraded to mute-stream@​2 to maintain Node 18 compatibility.

v7.10.0

Compare Source

  • feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.
  • fix @inquirer/editor: Fix typo s/waitForUseInput/waitForUserInput
  • Bump dependencies

v7.9.0

Compare Source

  • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.
  • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

v7.8.6

Compare Source

  • Reduce number of transitive dependencies

v7.8.5

Compare Source

  • Fix #​1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

v7.8.4

Compare Source

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

v7.8.3

Compare Source

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

v7.8.2

Compare Source

  • Make @types/node an optional peer dependency.

v7.8.1

Compare Source

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

v7.8.0

Compare Source

  • Search prompt: New instructions config to allow localizing the help tips.

v7.7.1

Compare Source

  • Fix #​1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

v7.7.0

Compare Source

  • Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to.
  • Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select.

v7.6.0

Compare Source

-input prompt: New prefill option to control if the default value is editable inline or only after pressing tab.

v7.5.3

Compare Source

  • Fix #​1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

v7.5.2

Compare Source

  • Chore: dependencies bump

v7.5.1

Compare Source

v7.5.0

Compare Source

  • Feat(@​inquirer/select): Added an instructions option allowing to customize the messages in the help tips.
  • Feat(@​inquirer/rawlist): Arrow keys will now cycle through the option, just like the @inquirer/select prompt. Also added a loop option to control the list loop behaviour when reaching the boundaries.

v7.4.1

Compare Source

  • Fix number prompt (typescript): If prompt is required, only number can be returned. (previously was nullable)
  • README: Add new sponsor
  • Chore: dependency updates

v7.4.0

Compare Source

v7.3.3

Compare Source

  • Fix an issue where inquirer would throw if Node is ran with the new --frozen-intrinsics flag.

This fix is also released through patches of all specific prompts packages.

v7.3.2

Compare Source

v7.3.1

Compare Source

  • Mark @types/node as an optional peer dependency across all packages.

v7.3.0

Compare Source

v7.2.4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • 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
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 11, 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: pnpm-lock.yaml
Scope: all 5 workspace projects
Progress: resolved 1, reused 0, downloaded 0, added 0
.                                        | [WARN] deprecated @babel/plugin-proposal-class-properties@7.18.6
.                                        | [WARN] deprecated @types/testing-library__jest-dom@6.0.0
.                                        | [WARN] deprecated eslint@8.57.1
.                                        | [WARN] deprecated eslint-plugin-markdown@5.1.0
.                                        | [WARN] deprecated glob@11.0.0
[WARN] The metadata of @types/node is missing the "time" field; skipping the minimumReleaseAge check for this package.
[WARN] The metadata of @typescript-eslint/parser is missing the "time" field; skipping the minimumReleaseAge check for this package.
[WARN] The metadata of @typescript-eslint/eslint-plugin is missing the "time" field; skipping the minimumReleaseAge check for this package.
Progress: resolved 101, reused 0, downloaded 0, added 0
packages/nutui-replace-icons             | [WARN] deprecated rollup-plugin-ts@3.4.5
[WARN] The metadata of @tarojs/plugin-platform-harmony-ets is missing the "time" field; skipping the minimumReleaseAge check for this package.
/tmp/renovate/repos/github/jdf2e/nutui-react/packages/nutui-taro-demo:
[ERR_PNPM_FETCH_404] GET https://registry.npmjs.org/@jdtaro%2Fplugin-platform-jdhybrid: Not Found - 404

This error happened while installing a direct dependency of /tmp/renovate/repos/github/jdf2e/nutui-react/packages/nutui-taro-demo

@jdtaro/plugin-platform-jdhybrid is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.

@github-actions github-actions Bot added action:review This PR needs more reviews (less than 2 approvals) 3.x Target branch 3.x labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Target branch 3.x action:review This PR needs more reviews (less than 2 approvals) dependencies size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants