simonwhatley / govuk-publishing-frontend

GOV.UK Publishing Frontend contains code to build user interfaces for the GOV.UK website.
https://govuk-publishing-frontend.onrender.com
MIT License
1 stars 0 forks source link

Bump inquirer from 8.2.4 to 12.1.0 #294

Open dependabot[bot] opened 2 weeks ago

dependabot[bot] commented 2 weeks ago

Bumps inquirer from 8.2.4 to 12.1.0.

Release notes

Sourced from inquirer's releases.

inquirer@12.0.0

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

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.

... (truncated)

Commits
  • 84e49bd Publish
  • 05d0bfa Chore: Bump dependencies
  • f9213cb Expose external-editor file options on the editor prompt (#1593)
  • 39a1f55 Chore(deps-dev): Bump @​eslint/js from 9.13.0 to 9.14.0 (#1597)
  • a03c458 Chore(deps-dev): Bump @​types/node from 22.8.1 to 22.9.0 (#1596)
  • f766ff2 Chore(deps-dev): Bump @​arethetypeswrong/cli from 0.16.4 to 0.17.0 (#1595)
  • d9af97a Chore(deps-dev): Bump globals from 15.11.0 to 15.12.0 (#1598)
  • 40cf19e Chore(deps-dev): Bump eslint-plugin-n from 17.12.0 to 17.13.1 (#1599)
  • 365c9b3 Chore(deps-dev): Bump @​vitest/coverage-v8 from 2.1.3 to 2.1.4 (#1590)
  • 133e482 Chore(deps-dev): Bump eslint-plugin-n from 17.11.1 to 17.12.0 (#1591)
  • Additional commits viewable in compare view


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