create-awesome-project
create-awesome-project copied to clipboard
fix(deps): update dependency inquirer to v12
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| inquirer (source) | 9.3.7 -> 12.6.1 |
Release Notes
SBoudrias/Inquirer.js (inquirer)
v12.6.1
- Fix #1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.
- Fix: Remove monorepo related dependencies from all artifacts published to
npm. This removes non-standard version specifiers likeworkspace:*from the public npm packages.
v12.6.0
- Feat(@inquirer/select): Added an
instructionsoption allowing to customize the messages in the help tips. - Feat(@inquirer/rawlist): Arrow keys will now cycle through the option, just like the
@inquirer/selectprompt. Also added aloopoption to control the list loop behaviour when reaching the boundaries.
v12.5.2
- README: Add new sponsor
- Chore: dependency updates
v12.5.1
v12.5.0
- Feat (
select): Introducetheme.indexModeto control displaying an index prefix in front of each choice. (defaults to hidden) - Fix (
select): Improve search when number keys are pressed
v12.4.3
- Fix an issue where inquirer would throw if Node is ran with the new
--frozen-intrinsicsflag.
v12.4.2
v12.4.1
- Mark
@types/nodeas an optional peer dependency across all packages.
v12.4.0
- Added new
shortcutconfig to thecheckboxprompt. Allows to customize or disable shortcut keys for select all and invert selection.
v12.3.3
- Replace 3rd party dependency
strip-ansiin favour of Node built-instripVTControlCharactersutil.
v12.3.2
v12.3.1
v12.3.0
- Checkbox prompt: re-added support for an array of
defaultto be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during thev12release. The preferred interface is to provide thecheckedproperty to choices{ value: 'bar', checked: true }.
v12.2.0
v12.1.0
v12.0.1
v12.0.0
@types/nodeis now only apeerDependencies. 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 runnpm install --dev @​types/node/yarn add --dev @​types/node.
v11.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.
v11.0.2
- Fix #1555:
whenbehaviour changed unexpectedly when returning a falsy value.
v11.0.1
v11.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.
v10.2.2
- Fix the
filteroption not working. - The
signal: AbortSignaldidn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts.
v10.2.1
- Fix
expandprompt being broken if a Separator was in thechoicesarray.
v10.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.
v10.1.8
- Fix an issue where inquirer would throw if Node is ran with the new
--frozen-intrinsicsflag.
This fix is also released through patches of all specific prompts packages.
v10.1.7
v10.1.6
v10.1.5
v10.1.4
v10.1.3
v10.1.2
- Fix broken backward compatibility issues with v9.
Choiceobjects withoutvalueshould default to usenameas 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
v10.1.0
- Adds the new
{ type: 'search' }prompt.
v10.0.4
v10.0.3
- Fix: Re-added missing
shorton select and checkbox prompt. - Fix: Remove type requiring a
closemethod on prompt class instances (it wasn't required.)
v10.0.2
v10.0.1
v10.0.0
- Re-implemented with Typescript.
- Adding CJS support (now
inquireris 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.BottomBaris 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.
Configuration
📅 Schedule: Branch creation - "on Saturday" (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.