Skip to content

build(deps): update dependency inquirer to v12 (main) #400

New issue

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

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

Already on GitHub? # to your account

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inquirer (source) 9.3.7 -> 12.6.1 age adoption passing confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

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

v11.1.0

Compare Source

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

v11.0.2

Compare Source

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

v11.0.1

Compare Source

v11.0.0

Compare Source

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.

v10.2.2

Compare Source

  • Fix the filter option not working.
  • The signal: AbortSignal didn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts.

v10.2.1

Compare Source

  • Fix expand prompt being broken if a Separator was in the choices array.

v10.2.0

Compare Source

  • Includes various fixes & new features to the different built-in prompts
  • Fix: Major rework of the Typescript types. Hoping to reduce the amount of finicky type errors (or wrong types) you might've ran into.

v10.1.8

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.

v10.1.7

Compare Source

v10.1.6

Compare Source

v10.1.5

Compare Source

v10.1.4

Compare Source

v10.1.3

Compare Source

v10.1.2

Compare Source

  • Fix broken backward compatibility issues with v9. Choice objects without value should default to use name as the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.

v10.1.1

Compare Source

v10.1.0

Compare Source

  • Adds the new { type: 'search' } prompt.

v10.0.4

Compare Source

v10.0.3

Compare Source

  • Fix: Re-added missing short on select and checkbox prompt.
  • Fix: Remove type requiring a close method on prompt class instances (it wasn't required.)

v10.0.2

Compare Source

v10.0.1

Compare Source

v10.0.0

Compare Source

  • Re-implemented with Typescript.
  • Adding CJS support (now inquirer is publishes a dual-build CJS/ESM.)
  • All core prompts are now coming from @inquirer/prompt.
  • Custom prompts now should be implemented with @inquirer/core. Custom prompts built on inquirer@9.x.x will keep working, but should plan a migration.
  • inquirer.ui.BottomBar is deleted.

My expectation is that this release should be a drop-in replacement for people using inquirer.prompt() and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.


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

Copy link
Contributor Author

renovate bot commented Nov 17, 2024

⚠️ 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: yarn.lock
➤ YN0000: · Yarn 4.5.3
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + inquirer@npm:12.6.1, @inquirer/checkbox@npm:4.1.6, @inquirer/confirm@npm:5.1.10, @inquirer/core@npm:10.1.11, @inquirer/editor@npm:4.2.11, and 12 more.
➤ YN0085: │ - @inquirer/figures@npm:1.0.5, inquirer@npm:9.3.7
➤ YN0000: └ Completed in 0s 997ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ inquirer is listed by your project with version 12.6.1 (p2a1c3), which doesn't satisfy what @commitlint/cz-commitlint requests (^9.0.0).
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 17 packages were added to the project (+ 5.21 MiB).
➤ YN0000: └ Completed in 1s 194ms
➤ YN0000: ┌ Link step
➤ YN0073: │ Skipped due to mode=update-lockfile
➤ YN0000: └ Completed
➤ YN0000: · Failed with errors in 2s 386ms

@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch 2 times, most recently from e96a0c9 to 1fa8137 Compare December 7, 2024 21:30
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from 1fa8137 to 9a742e0 Compare December 20, 2024 22:23
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch 2 times, most recently from e81c4fa to 3540312 Compare January 14, 2025 02:33
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch 3 times, most recently from d1cb583 to 76d3162 Compare February 2, 2025 22:45
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from 76d3162 to 30b5764 Compare February 15, 2025 20:42
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from 30b5764 to 3098ba2 Compare March 8, 2025 12:47
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from 3098ba2 to c267bb3 Compare March 15, 2025 16:42
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from c267bb3 to 0c60f27 Compare April 4, 2025 01:09
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from 0c60f27 to e7e77e4 Compare April 24, 2025 11:13
@renovate renovate bot force-pushed the renovate/main-inquirer-12.x branch from e7e77e4 to a3997e2 Compare May 10, 2025 16:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants