Skip to content
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

fix(deps): bump inquirer from 8.2.6 to 12.2.0 #2261

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 Dec 11, 2024

Bumps inquirer from 8.2.6 to 12.2.0.

Release notes

Sourced from inquirer's releases.

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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

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

[email protected]

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

... (truncated)

Commits
  • 5713287 Publish
  • e625f21 Feat(confirm): Toggle value on tab keypress. Fix #731
  • fca7524 Chore: Fix yarn demo command
  • b3032b8 Feat(editor): Add option to control behavior on validation failure. Fix #907
  • 2942263 Feat(input): Add theme.validationFailureMode option to control behavior on va...
  • 506d97b Tests(checkbox): Add cases covering pre-selecting a choice
  • d14a8bc Chore(deps): Bump @​sindresorhus/tsconfig from 6.0.0 to 7.0.0
  • f6ea541 Chore(deps-dev): Bump eslint from 9.15.0 to 9.16.0
  • 2ed681c Chore(deps-dev): Bump globals from 15.12.0 to 15.13.0
  • 6a02a7e Chore(deps-dev): Bump @​eslint/js from 9.15.0 to 9.16.0
  • 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 added the dependencies Pull requests that update a dependency file label Dec 11, 2024
@dependabot dependabot bot requested a review from a team December 11, 2024 10:08
@contentful-automation contentful-automation bot enabled auto-merge (squash) December 11, 2024 10:09
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inquirer-12.2.0 branch 2 times, most recently from 12029a9 to 2fa2ded Compare December 11, 2024 10:16
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/inquirer-12.2.0 branch from 2fa2ded to fa9823f Compare December 17, 2024 19:05
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 17, 2024

Dependabot can't resolve your JavaScript dependency files. Because of this, Dependabot cannot update this pull request.

Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.6 to 12.2.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/[email protected]@12.2.0)

---
updated-dependencies:
- dependency-name: inquirer
  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.2.0 branch from 68c62a7 to a0b1adf Compare December 20, 2024 17:42
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants