Skip to content

Update dependency inquirer to v13#2274

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/inquirer-13.x
Closed

Update dependency inquirer to v13#2274
renovate[bot] wants to merge 1 commit intomainfrom
renovate/inquirer-13.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2025

This PR contains the following updates:

Package Change Age Confidence
inquirer (source) 11.1.013.3.0 age confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

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.

v12.11.1

Compare Source

  • [Node 18 compat] Downgraded to mute-stream@​2 to maintain Node 18 compatibility.
  • [Typescript] Allow passing a Partial<{ ... }> type as pre-filled answers.

v12.11.0

Compare Source

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

v12.10.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

v12.9.6

Compare Source

  • Reduce number of transitive dependencies

v12.9.5

Compare Source

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

v12.9.4

Compare Source

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

v12.9.3

Compare Source

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

v12.9.2

Compare Source

  • Make @types/node an optional peer dependency.

v12.9.1

Compare Source

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

v12.9.0

Compare Source

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

v12.8.2

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.

v12.8.1

Compare Source

  • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #​1791

v12.8.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.

v12.7.0

Compare Source

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

v12.6.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.

v12.6.2

Compare Source

  • Chore: dependencies bump

v12.6.1

Compare Source

  • Fix #​1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.
  • Fix: Remove monorepo related dependencies from all artifacts published to npm. This removes non-standard version specifiers like workspace:* from the public npm packages.

v12.6.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.

v12.5.2

Compare Source

  • README: Add new sponsor
  • Chore: dependency updates

v12.5.1

Compare Source

v12.5.0

Compare Source

  • Feat (select): Introduce theme.indexMode to control displaying an index prefix in front of each choice. (defaults to hidden)
  • Fix (select): Improve search when number keys are pressed

v12.4.3

Compare Source

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

v12.4.2

Compare Source

v12.4.1

Compare Source

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

v12.4.0

Compare Source

  • Added new shortcut config to the checkbox prompt. Allows to customize or disable shortcut keys for select all and invert selection.

v12.3.3

Compare Source

v12.3.2

Compare Source

v12.3.1

Compare Source

v12.3.0

Compare Source

  • Checkbox prompt: re-added support for an array of default to be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during the v12 release. The preferred interface is to provide the checked property to choices { value: 'bar', checked: true }.

v12.2.0

Compare Source

v12.1.0

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

  • @types/node is now only a peerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does run npm install --dev @&#8203;types/node/yarn add --dev @&#8203;types/node.

Configuration

📅 Schedule: 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 added dependencies Pull requests that update a dependency file renovate labels Nov 17, 2025
@yoavain
Copy link
Owner

yoavain commented Nov 17, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 9 times, most recently from fe8d481 to 7688f3b Compare November 25, 2025 01:03
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 9 times, most recently from bb28990 to 286edcc Compare December 3, 2025 10:48
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 6 times, most recently from 8a1ffe0 to 601ed69 Compare December 11, 2025 03:50
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 3 times, most recently from 78aef0e to ba73068 Compare December 13, 2025 20:30
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 4 times, most recently from 4ed3b75 to fad5e94 Compare January 3, 2026 02:25
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 9 times, most recently from d7049f8 to 0c3908a Compare January 12, 2026 20:33
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 6 times, most recently from cf312af to aab63ab Compare January 19, 2026 20:40
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 6 times, most recently from b5c6036 to fc84593 Compare January 27, 2026 17:26
@renovate renovate bot force-pushed the renovate/inquirer-13.x branch 3 times, most recently from 75a0afe to 95102ac Compare February 1, 2026 04:37
@renovate
Copy link
Contributor Author

renovate bot commented Feb 27, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 13.x releases. But if you manually upgrade to 13.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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

Labels

dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant