fix(deps): update dependency inquirer to v12
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| inquirer (source) | ^7.3.3 -> ^12.0.0 |
Release Notes
SBoudrias/Inquirer.js (inquirer)
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
v10.1.7
v10.1.6
v10.1.5
v10.1.4
v10.1.3
v10.1.2
v10.1.1
v10.1.0
- Adds the new
{ type: 'search' }prompt.
v10.0.4
v10.0.3
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.
v9.3.7
v9.3.6
v9.3.5
- Fix issue with plugins relying on internal
inquirerpackages file structure.
v9.3.4
v9.3.3
v9.3.2
v9.3.1
- Fix risk of prototype injection.
v9.3.0
- Replace
chalkwithpicolors. - 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
v9.2.22
editorprompt: Fixed compatibility issue betweendefaultandwaitUserInputoptions. #1405
v9.2.21
v9.2.20
v9.2.19
v9.2.18
v9.2.17
v9.2.16
v9.2.15
v9.2.14
v9.2.13
v9.2.12
v9.2.11
v9.2.10
v9.2.9
- Modified lodash imports to help with tree-shaking
- Replace unmaintained
throughdependency (only affect users of the old bottom bar)
v9.2.8
v9.2.7
v9.2.6
v9.2.5
v9.2.4
v9.2.3
v9.2.2
v9.2.1
v9.2.0
v9.1.5
v9.1.4
Fix issue with the default value disappearing from prompt.
v9.1.3
v9.1.2
v9.1.1
v9.1.0
v9.0.2
v9.0.1
v9.0.0
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.
v8.2.6
- Bugfix: Fix a dependency who became ESM only
v8.2.5
v8.2.4
v8.2.3
- Fix line wrapping with using with terminal links
- Fix number prompt not working with negative numbers
v8.2.2
Fix bugs with the rawlist
v8.2.1
- Fix bug when using both arrow keys and number keys on the
rawListprompt. - Dependencies bump
v8.2.0
checkboxprompt: Update the help message to be more complete. And the help message is now shown until a selection is made.
v8.1.5
Fix older Node version compatibility issue.
v8.1.4
- Fix an error being thrown inside the
rawlistprompt
v8.1.3
Bug Fixes
- Fix password prompt appearing when doing async filtering/validation
- User being prompted a question even though it was answered when using nested answer object format.
- Fix extra space appearing when using custom prefix.
And bump of all dependencies.
v8.1.2
- Fix bug on
rawListprompt - Bump dependencies
v8.1.1
Fix: Number prompt default behavior.
v8.1.0
New features
- Now display a loading spinner while asynchronously filtering or validating data.
inquirer.prompt()now accept a shorthand object syntax instead of an array withnamed prompts:
const { foo, bar } = await inquirer.prompt({
foo: {
message: '...',
default: '...',
},
bar: {
default: '...',
}
}):
v8.0.1
Fixes
- Fix issue with duplicate keys in
expandprompt not being caught if casing didn't match - Fix
rawlistprompt ignoringshortoption - Rollback dependencies migrated to ESM causing issue for some users
And lastly general dependency upgrade (to non-ESM versions)
v8.0.0
- Drop support for Node 10 (through dependencies)
- Add
postfixoption to the editor prompt to allow easily turning on proper syntax highlighting
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.