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

[deps] Vault: Update inquirer to v12 #11539

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 14, 2024

This PR contains the following updates:

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

Release Notes

SBoudrias/Inquirer.js (inquirer)

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

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

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.

v9.3.7

Compare Source

v9.3.6

Compare Source

v9.3.5

Compare Source

  • Fix issue with plugins relying on internal inquirer packages file structure.

v9.3.4

Compare Source

v9.3.3

Compare Source

v9.3.2

Compare Source

v9.3.1

Compare Source

  • Fix risk of prototype injection.

v9.3.0

Compare Source

  • Replace chalk with picolors.
  • Drop many dependencies in favour of native functions when possible.

No impact expected, but it's a large changes in dependencies. Let us know if you run into any issues upgrading!

v9.2.23

Compare Source

v9.2.22

Compare Source

  • editor prompt: Fixed compatibility issue between default and waitUserInput options. #​1405

v9.2.21

Compare Source

v9.2.20

Compare Source

v9.2.19

Compare Source

v9.2.18

Compare Source

v9.2.17

Compare Source

v9.2.16

Compare Source

v9.2.15

Compare Source

v9.2.14

Compare Source

v9.2.13

Compare Source

v9.2.12

Compare Source

v9.2.11

Compare Source

v9.2.10

Compare Source

v9.2.9

Compare Source

  • Modified lodash imports to help with tree-shaking
  • Replace unmaintained through dependency (only affect users of the old bottom bar)

v9.2.8

Compare Source

v9.2.7

Compare Source

v9.2.6

Compare Source

v9.2.5

Compare Source

v9.2.4

Compare Source

v9.2.3

Compare Source

v9.2.2

Compare Source

v9.2.1

Compare Source

v9.2.0

Compare Source

v9.1.5

Compare Source

v9.1.4

Compare Source

Fix issue with the default value disappearing from prompt.

v9.1.3

Compare Source

v9.1.2

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

v9.0.2

Compare Source

v9.0.1

Compare Source

v9.0.0

Compare Source

Inquirer is now a native Node ECMAScript module. This will require your Node runtime to support es modules, and your app to be an es module. Node documentation over here: https://nodejs.org/api/esm.html#modules-ecmascript-modules

If you cannot migrate, please remember you can keep using the v8.x release line until you're ready.


Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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.

@renovate renovate bot requested review from a team and gbubemismith October 14, 2024 00:17
@bitwarden-bot bitwarden-bot changed the title [deps] Vault: Update inquirer to v12 [PM-13522] [deps] Vault: Update inquirer to v12 Oct 14, 2024
@bitwarden-bot
Copy link

Internal tracking:

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.18%. Comparing base (03e8222) to head (552a454).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11539   +/-   ##
=======================================
  Coverage   35.18%   35.18%           
=======================================
  Files        3128     3128           
  Lines       92667    92667           
  Branches    16854    16854           
=======================================
  Hits        32603    32603           
  Misses      57606    57606           
  Partials     2458     2458           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title [PM-13522] [deps] Vault: Update inquirer to v12 [deps] Vault: Update inquirer to v12 Oct 14, 2024
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from c781cca to 16082a7 Compare October 14, 2024 14:55
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from e9f1f9f to 7f4df25 Compare October 28, 2024 15:22
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from 87cd6e3 to 7acbb47 Compare November 5, 2024 15:11
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 4 times, most recently from 5f6191d to 162feb2 Compare November 12, 2024 20:05
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from acb60b2 to 809d05c Compare November 26, 2024 20:35
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from 809d05c to 3b958b3 Compare December 7, 2024 19:09
@renovate renovate bot changed the title [deps] Vault: Update inquirer to v12 [deps] Vault: Update inquirer to v12 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/inquirer-12.x branch December 8, 2024 18:54
@renovate renovate bot changed the title [deps] Vault: Update inquirer to v12 - autoclosed [deps] Vault: Update inquirer to v12 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from 3b958b3 to 8d92f6d Compare December 9, 2024 15:27
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from 1c12e1f to 412491a Compare December 24, 2024 14:45
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 3 times, most recently from 8668bad to e9f94e1 Compare January 11, 2025 20:23
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from e9f94e1 to cb26ada Compare January 14, 2025 00:26
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 2 times, most recently from 2b26df4 to 4c926f0 Compare January 28, 2025 21:04
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch 4 times, most recently from 6e1ea6b to 798c081 Compare February 4, 2025 20:59
@renovate renovate bot force-pushed the renovate/inquirer-12.x branch from 798c081 to 552a454 Compare February 9, 2025 18:35
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.

1 participant