Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inquirer (source) ~9.3.0 -> ~12.1.0 age adoption passing confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

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

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

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

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 [email protected] 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 - "every weekday" (UTC), 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 force-pushed the renovate/inquirer-12.x branch 7 times, most recently from b617ea0 to 67830d9 Compare October 14, 2024 19:12
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 8 times, most recently from c83c52a to 9d78cf2 Compare October 20, 2024 03:47
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 10 times, most recently from ae15bfc to 06501cb Compare October 30, 2024 11:14
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 5 times, most recently from 9f8e4de to 60fae3b Compare November 2, 2024 04:02
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 9 times, most recently from 5f392b0 to a9b54e6 Compare November 7, 2024 14:58
@renovate renovate bot requested review from B4nan and vladfrangu as code owners November 7, 2024 14:58
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from a9b54e6 to f5d3371 Compare November 7, 2024 15:07
@B4nan
Copy link
Member

B4nan commented Nov 7, 2024

@vladfrangu I guess we should find some time and bump this, unless it would take more than few hours

@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 7 times, most recently from b658e69 to 0ef3b99 Compare November 11, 2024 22:42
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from 0ef3b99 to 7fc7778 Compare November 12, 2024 06:37
@renovate
Copy link
Contributor Author

renovate bot commented Nov 12, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@vladfrangu vladfrangu enabled auto-merge (squash) November 12, 2024 13:49
@vladfrangu vladfrangu merged commit 3e3d92f into master Nov 12, 2024
@vladfrangu vladfrangu deleted the renovate/inquirer-12.x branch November 12, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants