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

chore(deps): update inquirer packages (major) #362

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inquirer (source) ^8.0.0 -> ^12.0.0 age adoption passing confidence
inquirer-autocomplete-prompt ^2.0.0 -> ^3.0.0 age adoption passing confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

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.

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.

mokkabonna/inquirer-autocomplete-prompt (inquirer-autocomplete-prompt)

v3.0.1: 3.0.1 Bugfix out of order results shown

Compare Source

Fixes #​153

Keep in mind that diff in project is larger due to conversion to monorepo. So the original repo was moved into packages/inquirer-autocomplete-prompt

For the code related to the npm package inquirer-autocomplete-prompt the only funcitonal change is: mokkabonna/inquirer-autocomplete-prompt@c6b2361

v3.0.0: 3.0.0 Support ESM and inquirer v9

Compare Source

inquier-autocomplete-prompts 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

Lock your dependency to v2 if you wish to stay on commonjs (require) syntax.


Configuration

📅 Schedule: Branch creation - "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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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/major-inquirer-packages branch from c8717f4 to ada9eae Compare December 5, 2022 05:19
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from ada9eae to e0aeb07 Compare January 2, 2023 06:01
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from e0aeb07 to fc82e37 Compare January 15, 2023 22:03
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from fc82e37 to 2208a2c Compare April 17, 2023 05:44
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch 2 times, most recently from 54057b7 to 822831f Compare May 8, 2023 03:49
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from 822831f to bf16070 Compare June 5, 2023 03:10
@renovate renovate bot changed the title chore(deps): update inquirer packages (major) chore(deps): update dependency inquirer-autocomplete-prompt to v3 Aug 2, 2023
@renovate renovate bot changed the title chore(deps): update dependency inquirer-autocomplete-prompt to v3 chore(deps): update inquirer packages (major) Aug 5, 2023
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from bf16070 to 935b27b Compare August 28, 2023 04:33
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from 935b27b to 9ef824e Compare November 6, 2023 03:55
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from 9ef824e to cb93365 Compare July 7, 2024 22:45
Copy link
Contributor Author

renovate bot commented Jul 7, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/inquirer
npm ERR!   dev inquirer@"^12.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer inquirer@"^9.1.0" from [email protected]
npm ERR! node_modules/inquirer-autocomplete-prompt
npm ERR!   dev inquirer-autocomplete-prompt@"^3.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-10-06T21_01_48_057Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from cb93365 to 79e021b Compare September 15, 2024 23:00
@renovate renovate bot force-pushed the renovate/major-inquirer-packages branch from 79e021b to 3d43d90 Compare October 6, 2024 21:01
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.

0 participants