Skip to content

Bump inquirer from 7.3.3 to 11.1.0

dependabot requested to merge dependabot-npm_and_yarn-inquirer-11.1.0 into main

Bumps inquirer from 7.3.3 to 11.1.0.

Release notes

Sourced from inquirer's releases.

inquirer@11.1.0

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

inquirer@11.0.2

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

inquirer@11.0.0

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.

inquirer@10.2.2

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

inquirer@10.2.1

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

inquirer@10.2.0

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

inquirer@10.1.2

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

inquirer@10.1.0

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

inquirer@10.0.3

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

inquirer@10.0.0

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

... (truncated)

Commits
  • c07851d Publish
  • 0218e93 Chore: Fix prettier/lint-staged failing on unknown files
  • 66a675e feat(inquirer): export types Question, DistinctQuestion and Answers (#1559)
  • eeffe0c Chore(deps): Bump rollup from 4.21.3 to 4.22.4 in the npm_and_yarn group (#1566)
  • 1de6d13 Chore(deps-dev): Bump @​eslint/js from 9.10.0 to 9.11.0 (#1565)
  • 5a7cd1a Chore(deps-dev): Bump @​arethetypeswrong/cli from 0.16.2 to 0.16.4 (#1563)
  • f719291 Chore(deps-dev): Bump typescript-eslint from 8.5.0 to 8.6.0 (#1564)
  • ef45c60 Chore(deps-dev): Bump eslint from 9.10.0 to 9.11.0 (#1562)
  • bd45397 Chore(deps): Bump vite from 5.2.8 to 5.4.6 in the npm_and_yarn group (#1558)
  • 95674a1 Publish
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports