Skip to content

fix(deps): bump inquirer from 8.2.6 to 12.6.0 #2458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 24, 2025

Bumps inquirer from 8.2.6 to 12.6.0.

Release notes

Sourced from inquirer's releases.

[email protected]

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

[email protected]

  • README: Add new sponsor
  • Chore: dependency updates

[email protected]

  • 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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

[email protected]

  • 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 }.

[email protected]

  • @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 @types/node/yarn add --dev @types/node.

[email protected]

  • Now exports base utility Typescript types: import type { Question, DistinctQuestion, Answers } from 'inquirer';

You should use as follow to keep the inference working properly:

const questions = [
    { ... }
] as const satisfies Question[];
// If you're not using inquirer plugins, `Question` could alternatively be replaced by `DistinctQuestion` for stricter checks.

[email protected]

  • Fix #1555: when behaviour changed unexpectedly when returning a falsy value.

[email protected]

No technical breaking changes; but we changed the style of the question prefix once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same ? as when the prompt is idle.)

This is theme-able, and so can be overwritten to with theme.prefix.

... (truncated)

Commits
  • 238c3af Publish
  • cad9af0 Feat(@​inquirer/rawlist): Support using arrow keys on the rawlist prompt (#1728)
  • 5746381 Feat(@​inquirer/select): Expose customization of the usage instructions (#1727)
  • 9853460 Chore(deps-dev): Bump the linting group with 3 updates (#1726)
  • 4a33400 Chore(deps-dev): Bump the linting group with 2 updates (#1718)
  • 79832b4 Chore(deps-dev): Bump lerna from 8.2.1 to 8.2.2 (#1719)
  • 65547a4 Chore(deps-dev): Bump @​types/node from 22.14.0 to 22.14.1 (#1720)
  • 27d4a95 Chore(deps): Bump vite from 6.2.5 to 6.2.6 in the npm_and_yarn group (#1717)
  • 24857f7 Chore(deps-dev): Bump typescript from 5.8.2 to 5.8.3 (#1716)
  • 3ef8b43 Chore(deps-dev): Bump the linting group with 2 updates (#1715)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
inquirer [>= 9.a, < 10]

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot requested a review from a team April 24, 2025 10:28
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 24, 2025
@github-actions github-actions bot enabled auto-merge (squash) April 24, 2025 10:28
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inquirer-12.6.0 branch from ea69942 to e4dc704 Compare April 25, 2025 10:34
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inquirer-12.6.0 branch 2 times, most recently from 0e73700 to d81d445 Compare April 25, 2025 11:05
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.6 to 12.6.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.6.0)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-version: 12.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inquirer-12.6.0 branch from d81d445 to 8856da9 Compare April 29, 2025 10:46
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants