Update dependency inquirer to v14 #9

Open
renovate wants to merge 1 commit from renovate/inquirer-14.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
inquirer (source) ^6.2.1 → ^14.0.0 age confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

v14.2.5

Compare Source

inquirer@​14.2.5

What's new
  • Dependencies updated: @inquirer/password@5.2.5 fixes the cursor overlapping the message when the password prompt is empty (#​2360), and @inquirer/core@12.0.6 fixes piped-stdin answers being dropped before the first render (#​2359)

v14.2.4

Compare Source

inquirer@​14.2.4

What's new
  • Rolled up this release's fixes: checkbox() ignoring input while validation is pending (#​2296), prompt cleanup cancelling a pending initial render on cancel/abort (#​2318), and number() treating whitespace-only input as empty (#​2307).
Dependencies
  • @inquirer/prompts bumped to ^8.7.4
  • @inquirer/core bumped to ^12.0.5

v14.2.3

Compare Source

inquirer@​14.2.3

What's new
  • Rolled up the prompt fixes from this release: search() stale-choice submission (#​2291), confirm() always accepting y/n (#​2281), expand()/rawlist() whitespace handling (#​2280).
  • All package READMEs now document the Deno install command (#​2269).
Dependencies
  • @inquirer/prompts bumped to ^8.7.3
  • @inquirer/core bumped to ^12.0.4

v14.2.2

Compare Source

inquirer@​14.2.2

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach keypress handlers after the prompt was done, cancelled, or aborted (@inquirer/core, #​2255, closes #​1816).
  • confirm() now trims surrounding whitespace from answers before matching yes/no keywords (@inquirer/confirm, #​2254).
Included
  • @inquirer/core@^12.0.3
  • @inquirer/prompts@^8.7.2

v14.2.1

Compare Source

inquirer@​14.2.1

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • Published manifests now pin @inquirer/type to an exact version. Since these type definitions leak into consumers' tsc runs, a semver range on the types-only dependency could break downstream TypeScript builds without any change to Inquirer.js itself (#​2247, fixes #​2244).
Included
  • @inquirer/core@^12.0.2
  • @inquirer/prompts@^8.7.1
  • @inquirer/type@4.1.1 (pinned exactly)
  • @inquirer/ansi@^2.0.8

v14.2.0

Compare Source

inquirer@​14.2.0

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • Updated to @inquirer/prompts@^8.7.0 and @inquirer/core@^12.0.1.
  • Includes the new toggleMask option for password (ctrl+t to reveal), localized yes/no parsing for confirm, and prettified prompt/theme types for better IDE display.
Included
  • @inquirer/core@^12.0.1
  • @inquirer/prompts@^8.7.0
  • @inquirer/type@^4.1.0
  • @inquirer/ansi@^2.0.7

v14.1.0

Compare Source

inquirer@​14.1.0

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • Updated to @inquirer/prompts@^8.6.0 and @inquirer/core@^12.0.0.
  • Includes the new initialValue option for search, floating-point step fixes for number, and explicit-undefined default handling in number/confirm/editor.
⚠️ Note on @inquirer/core@12

inquirer@14.1.0 depends on @inquirer/core@^12.0.0, which changed the useState setter to accept a reducer function (currentValue) => nextValue. This is a type-level change for consumers of the core hook API (relevant if you build custom prompts with @inquirer/core). The built-in prompts are unaffected.

Included
  • @inquirer/core@^12.0.0
  • @inquirer/prompts@^8.6.0
  • @inquirer/type@^4.0.7
  • @inquirer/ansi@^2.0.7

v14.0.2

Compare Source

  • Fix security warnings in external-editor

v14.0.1

Compare Source

  • Rolled back mute-stream dependency from v4 to v3 to undo breaking compatible engines.
  • Added tooling to prevent regression of the above in the future. This surfaced our min engines already enforced a higher limit, so adjusted the explicit limits to match the current state.

v14.0.0

Compare Source

  • Fix (breaking): Inquirer will now throw when encountering non-registered prompt. Prior to this fix, Inquirer would default to type: 'input' in such cases - this behaviour was misleading and made it harder to detect broken code when not using Typescript.
  • Feat: Read env variable INQUIRER_KEYBINDINGS to enable vim or emacs keybindings; making this a user preference instead of a library author preference. One caveat is doing so disable the search feature in the select prompt. Syntax: INQUIRER_KEYBINDINGS=vim,emacs.
  • Fix: Line wraps would sometime cause the cursor to be mispositioned relative to the input.
  • Chore: Dropped the rxjs dependency in favor of a lightweight internal Observable implementation. The package is much smaller for most users now.
  • Chore: Bump dependencies.

v13.4.3

Compare Source

  • Fix: Windows rendering bug
  • Fix: Preserve exact literal types in choices array (Typescript only)
  • Fix: Allow input default value to be of type undefined (Typescript only)
  • Bump dependencies

v13.4.2

Compare Source

  • Fix: some Windows terminals would freeze and not react to keypresses.

v13.4.1

Compare Source

  • Improve expand prompt type inferrence.

v13.4.0

Compare Source

  • Feat: Added a loading message while validating editor prompt input.
  • Type improvement: Better type inference with checkbox, search and expand prompts.
  • Fix: editor prompt not always properly handling editor path on windows.

v13.3.2

Compare Source

  • Fix broken 1.3.1 release process.

v13.3.1

Compare Source

  • Bump dependencies

v13.3.0

Compare Source

  • Fix: Keypresses happening before a prompt is rendered are now ignored.
  • Fix (checkbox): Element who're both checked and disabled are now always included in the returned array.
  • Feat (select/checkbox): Cursor will now hover disabled options of the list; but they still cannot be interacted with. This prevents the cursor jumping ahead in ways that can be confusing.
  • Feat: various new theme options to make all prompts content localizable.

Finally, see our new @inquirer/i18n package!

v13.2.5

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.5

v13.2.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.4

v13.2.3

Compare Source

  • chore: Switch wrap-ansi with fast-wrap-ansi

v13.2.2

Compare Source

  • Typescript disallow type: 'list' unless there's a plugin installed under that name. (list was replaced by select and marked as deprecated for a few released, v13.0.0 removed the alias.)

v13.2.1

Compare Source

  • Regression: previous answers weren't provided to the validate functions as the second arguments.

v13.2.0

Compare Source

  • feat(search): Add support for default.
  • feat(rawlist): Add support for description of choices. That information is displayed under the list when the choice is highlighted.
  • Bump dependencies

v13.1.0

Compare Source

  • Feat: rawlist now supports default option.
  • Fix: select now infer return type properly when passing a choices array of string literals.

v13.0.2

Compare Source

  • Fix Typescript not discovering types when moduleResolution is set to commonjs (you probably want to fix that in your project if it's still in your tsconfig)

v13.0.1

Compare Source

v13.0.0

Compare Source

Release Notes

🚨 Breaking Changes

This is a major release that modernizes the codebase for Node.js ≥ 20.

ESM Only - No More CommonJS Support

Impact: All packages are now ESM-only. CommonJS imports are no longer supported.

If you're on modern Node versions (≥ 20), this should be transparent and have no impact.

Node.js Version Requirement

Minimum Node.js version is now 20.x

Node.js versions below 20 are no longer supported. Please upgrade to Node.js 20 or later.

Node min versions: >=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0

Deprecated APIs Removed

The following deprecated APIs have been removed after being deprecated in previous releases:

list prompt alias removed (affects inquirer package only)

The list alias has been removed from the inquirer package. This only impacts users of the legacy inquirer package, not users of @inquirer/prompts or individual prompt packages.

// ❌ No longer available (inquirer package only)
import inquirer from 'inquirer';
const answer = await inquirer.prompt([
  { type: 'list', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] }
]);

// ✅ Use 'select' instead
import inquirer from 'inquirer';
const answer = await inquirer.prompt([
  { type: 'select', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] }
]);
helpMode theme property removed
// ❌ No longer available
const answer = await select({
  theme: { helpMode: 'never' }
});

// ✅ Use theme.style.keysHelpTip instead
const answer = await select({
  theme: {
    style: {
      keysHelpTip: () => undefined // or your custom styling function
    }
  }
});

This affects the following prompts:

  • @inquirer/checkbox
  • @inquirer/search
  • @inquirer/select
instructions config property removed
// ❌ No longer available
const answer = await checkbox({
  instructions: 'Custom instructions'
});

// ✅ Use theme.style.keysHelpTip instead
const answer = await checkbox({
  theme: {
    style: {
      keysHelpTip: (text) => 'Custom instructions'
    }
  }
});

This affects the following prompts:

  • @inquirer/checkbox
  • @inquirer/search
  • @inquirer/select
cancel() method removed

The cancel() method on prompt return custom Promise has been removed.

// ❌ No longer available
const answerPromise = input({ message: 'Name?' });
answerPromise.cancel();
const answer = await answerPromise;

// ✅ Use AbortSignal instead
const controller = new AbortController();
const answer = await input(
  { message: 'Name?' },
  { signal: controller.signal }
);
controller.abort();
Color Library Change: yoctocolors → Node.js styleText

Internal change: The project now uses Node.js built-in util.styleText() instead of the yoctocolors package for terminal colors. This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.

v12.11.1

Compare Source

  • [Node 18 compat] Downgraded to mute-stream@​2 to maintain Node 18 compatibility.
  • [Typescript] Allow passing a Partial<{ ... }> type as pre-filled answers.

v12.11.0

Compare Source

  • feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.
  • fix @inquirer/editor: Fix typo s/waitForUseInput/waitForUserInput
  • Bump dependencies

v12.10.0

Compare Source

  • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.
  • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

v12.9.6

Compare Source

  • Reduce number of transitive dependencies

v12.9.5

Compare Source

  • Fix #​1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

v12.9.4

Compare Source

  • fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

v12.9.3

Compare Source

  • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

v12.9.2

Compare Source

  • Make @types/node an optional peer dependency.

v12.9.1

Compare Source

  • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

v12.9.0

Compare Source

  • Search prompt: New instructions config to allow localizing the help tips.

v12.8.2

Compare Source

  • Fix #​1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

v12.8.1

Compare Source

  • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #​1791

v12.8.0

Compare Source

  • Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to.
  • Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select.

v12.7.0

Compare Source

-input prompt: New prefill option to control if the default value is editable inline or only after pressing tab.

v12.6.3

Compare Source

  • Fix #​1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

v12.6.2

Compare Source

  • Chore: dependencies bump

v12.6.1

Compare Source

  • 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 like workspace:* from the public npm packages.

v12.6.0

Compare Source

  • Feat(@​inquirer/select): Added an instructions option allowing to customize the messages in the help tips.
  • Feat(@​inquirer/rawlist): Arrow keys will now cycle through the option, just like the @inquirer/select prompt. Also added a loop option to control the list loop behaviour when reaching the boundaries.

v12.5.2

Compare Source

  • README: Add new sponsor
  • Chore: dependency updates

v12.5.1

Compare Source

v12.5.0

Compare Source

  • Feat (select): Introduce theme.indexMode to 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

Compare Source

  • Fix an issue where inquirer would throw if Node is ran with the new --frozen-intrinsics flag.

v12.4.2

Compare Source

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

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

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 inquirer@9.x.x 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.8

Compare Source

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 (in 9.3.2 went to yoctocolors to stay with Sindre's packages and reduce amount of provenance.)
  • 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

  • On windows, we will now use unicode characters whenever possible

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.

v8.2.7

Compare Source

v8.2.6

Compare Source

  • Bugfix: Fix a dependency who became ESM only

v8.2.5

Compare Source

v8.2.4

Compare Source

v8.2.3

Compare Source

  • Fix line wrapping with using with terminal links
  • Fix number prompt not working with negative numbers

v8.2.2

Compare Source

Fix bugs with the rawlist

v8.2.1

Compare Source

  • Fix bug when using both arrow keys and number keys on the rawList prompt.
  • Dependencies bump

v8.2.0

Compare Source

  • checkbox prompt: Update the help message to be more complete. And the help message is now shown until a selection is made.

v8.1.5

Compare Source

Fix older Node version compatibility issue.

v8.1.4

Compare Source

  • Fix an error being thrown inside the rawlist prompt

v8.1.3

Compare Source

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

Compare Source

  • Fix bug on rawList prompt
  • Bump dependencies

v8.1.1

Compare Source

Fix: Number prompt default behavior.

v8.1.0

Compare Source

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 with named prompts:
const { foo, bar } = await inquirer.prompt({
  foo: {
    message: '...',
    default: '...',
  },
  bar: {
    default: '...',
  }
}):

v8.0.1

Compare Source

Fixes

  • Fix issue with duplicate keys in expand prompt not being caught if casing didn't match
  • Fix rawlist prompt ignoring short option
  • Rollback dependencies migrated to ESM causing issue for some users

And lastly general dependency upgrade (to non-ESM versions)

v8.0.0

Compare Source

  • Drop support for Node 10 (through dependencies)
  • Add postfix option to the editor prompt to allow easily turning on proper syntax highlighting

v7.3.3

Compare Source

  • Fix to release the readline on errors
  • Security patch (lodash)

v7.3.2

Compare Source

Fix the loop: false option in the checkbox prompt.

v7.3.1

Compare Source

  • Fix the loop: false option in the list prompt.

v7.3.0

Compare Source

  • New option loop (boolean) for list type prompts. This prevents the list from looping when reaching the top or bottom of the selection.
  • Bug fix: multi line list type prompts
  • Core: Bumped dependencies

v7.2.0: Inquirer v7.2.0

Compare Source

Enhancement
Bug Fix

v7.1.0

Compare Source

v7.0.7

Compare Source

v7.0.6

Compare Source

v7.0.5

Compare Source

Errors when running in non-TTY environment are now marked and catchable.

v7.0.4

Compare Source

v7.0.3

Compare Source

Revert broken fix done in 7.0.2

v7.0.2

Compare Source

Work around bug affecting Windows user with Node 10 (#​767) (Reverted in v7.0.3)

v7.0.1

Compare Source

v7.0.0

Compare Source

  • Drop support for Node 6.

v6.5.2

Compare Source

v6.5.1

Compare Source

v6.5.0

Compare Source

v6.4.1

Compare Source

v6.4.0

Compare Source

Bug Fix
  • Fix memory leak with some event listeners not being cleaned up after a prompting session.

v6.3.1

Compare Source

v6.2.2

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [inquirer](https://github.com/SBoudrias/Inquirer.js/blob/HEAD/packages/inquirer/README.md) ([source](https://github.com/SBoudrias/Inquirer.js)) | [`^6.2.1` → `^14.0.0`](https://renovatebot.com/diffs/npm/inquirer/6.2.1/14.2.5) | ![age](https://developer.mend.io/api/mc/badges/age/npm/inquirer/14.2.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/inquirer/6.2.1/14.2.5?slim=true) | --- ### Release Notes <details> <summary>SBoudrias/Inquirer.js (inquirer)</summary> ### [`v14.2.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.2.4...inquirer@14.2.5) #### inquirer\@&#8203;14.2.5 ##### What's new - Dependencies updated: `@inquirer/password@5.2.5` fixes the cursor overlapping the message when the password prompt is empty ([#&#8203;2360](https://github.com/SBoudrias/Inquirer.js/issues/2360)), and `@inquirer/core@12.0.6` fixes piped-stdin answers being dropped before the first render ([#&#8203;2359](https://github.com/SBoudrias/Inquirer.js/pull/2359)) ### [`v14.2.4`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.2.3...inquirer@14.2.4) #### inquirer\@&#8203;14.2.4 ##### What's new - Rolled up this release's fixes: `checkbox()` ignoring input while validation is pending ([#&#8203;2296](https://github.com/SBoudrias/Inquirer.js/pull/2296)), prompt cleanup cancelling a pending initial render on cancel/abort ([#&#8203;2318](https://github.com/SBoudrias/Inquirer.js/pull/2318)), and `number()` treating whitespace-only input as empty ([#&#8203;2307](https://github.com/SBoudrias/Inquirer.js/pull/2307)). ##### Dependencies - `@inquirer/prompts` bumped to `^8.7.4` - `@inquirer/core` bumped to `^12.0.5` ### [`v14.2.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.2.2...inquirer@14.2.3) #### inquirer\@&#8203;14.2.3 ##### What's new - Rolled up the prompt fixes from this release: `search()` stale-choice submission ([#&#8203;2291](https://github.com/SBoudrias/Inquirer.js/pull/2291)), `confirm()` always accepting `y`/`n` ([#&#8203;2281](https://github.com/SBoudrias/Inquirer.js/pull/2281)), `expand()`/`rawlist()` whitespace handling ([#&#8203;2280](https://github.com/SBoudrias/Inquirer.js/pull/2280)). - All package READMEs now document the Deno install command ([#&#8203;2269](https://github.com/SBoudrias/Inquirer.js/pull/2269)). ##### Dependencies - `@inquirer/prompts` bumped to `^8.7.3` - `@inquirer/core` bumped to `^12.0.4` ### [`v14.2.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.2.1...inquirer@14.2.2) #### inquirer\@&#8203;14.2.2 The umbrella package, bundling `@inquirer/prompts` and `@inquirer/core`. ##### What's new - Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach keypress handlers after the prompt was done, cancelled, or aborted (`@inquirer/core`, [#&#8203;2255](https://github.com/SBoudrias/Inquirer.js/pull/2255), closes [#&#8203;1816](https://github.com/SBoudrias/Inquirer.js/issues/1816)). - `confirm()` now trims surrounding whitespace from answers before matching yes/no keywords (`@inquirer/confirm`, [#&#8203;2254](https://github.com/SBoudrias/Inquirer.js/pull/2254)). ##### Included - `@inquirer/core@^12.0.3` - `@inquirer/prompts@^8.7.2` ### [`v14.2.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.2.0...inquirer@14.2.1) #### inquirer\@&#8203;14.2.1 The umbrella package, bundling `@inquirer/prompts` and `@inquirer/core`. ##### What's new - Published manifests now pin `@inquirer/type` to an exact version. Since these type definitions leak into consumers' `tsc` runs, a semver range on the types-only dependency could break downstream TypeScript builds without any change to Inquirer.js itself ([#&#8203;2247](https://github.com/SBoudrias/Inquirer.js/pull/2247), fixes [#&#8203;2244](https://github.com/SBoudrias/Inquirer.js/issues/2244)). ##### Included - `@inquirer/core@^12.0.2` - `@inquirer/prompts@^8.7.1` - `@inquirer/type@4.1.1` (pinned exactly) - `@inquirer/ansi@^2.0.8` ### [`v14.2.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.1.0...inquirer@14.2.0) #### inquirer\@&#8203;14.2.0 The umbrella package, bundling `@inquirer/prompts` and `@inquirer/core`. ##### What's new - Updated to `@inquirer/prompts@^8.7.0` and `@inquirer/core@^12.0.1`. - Includes the new `toggleMask` option for `password` (ctrl+t to reveal), localized yes/no parsing for `confirm`, and prettified prompt/theme types for better IDE display. ##### Included - `@inquirer/core@^12.0.1` - `@inquirer/prompts@^8.7.0` - `@inquirer/type@^4.1.0` - `@inquirer/ansi@^2.0.7` ### [`v14.1.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.0.2...inquirer@14.1.0) #### inquirer\@&#8203;14.1.0 The umbrella package, bundling `@inquirer/prompts` and `@inquirer/core`. ##### What's new - Updated to `@inquirer/prompts@^8.6.0` and `@inquirer/core@^12.0.0`. - Includes the new `initialValue` option for `search`, floating-point step fixes for `number`, and explicit-`undefined` default handling in `number`/`confirm`/`editor`. ##### ⚠️ Note on `@inquirer/core@12` `inquirer@14.1.0` depends on `@inquirer/core@^12.0.0`, which changed the `useState` setter to accept a reducer function `(currentValue) => nextValue`. This is a type-level change for consumers of the core hook API (relevant if you build custom prompts with `@inquirer/core`). The built-in prompts are unaffected. ##### Included - `@inquirer/core@^12.0.0` - `@inquirer/prompts@^8.6.0` - `@inquirer/type@^4.0.7` - `@inquirer/ansi@^2.0.7` ### [`v14.0.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.0.1...inquirer@14.0.2) - Fix security warnings in external-editor ### [`v14.0.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@14.0.0...inquirer@14.0.1) - Rolled back `mute-stream` dependency from v4 to v3 to undo breaking compatible `engines`. - Added tooling to prevent regression of the above in the future. This surfaced our min engines already enforced a higher limit, so adjusted the explicit limits to match the current state. ### [`v14.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4014.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.4.3...inquirer@14.0.0) - Fix (breaking): Inquirer will now throw when encountering non-registered prompt. Prior to this fix, Inquirer would default to `type: 'input'` in such cases - this behaviour was misleading and made it harder to detect broken code when not using Typescript. - Feat: Read env variable `INQUIRER_KEYBINDINGS` to enable `vim` or `emacs` keybindings; making this a user preference instead of a library author preference. One caveat is doing so disable the search feature in the select prompt. Syntax: `INQUIRER_KEYBINDINGS=vim,emacs`. - Fix: Line wraps would sometime cause the cursor to be mispositioned relative to the input. - Chore: Dropped the `rxjs` dependency in favor of a lightweight internal Observable implementation. The package is much smaller for most users now. - Chore: Bump dependencies. ### [`v13.4.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.4.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.4.2...inquirer@13.4.3) - Fix: Windows rendering bug - Fix: Preserve exact literal types in `choices` array (Typescript only) - Fix: Allow input `default` value to be of type `undefined` (Typescript only) - Bump dependencies ### [`v13.4.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.4.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.4.1...inquirer@13.4.2) - Fix: some Windows terminals would freeze and not react to keypresses. ### [`v13.4.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.4.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.4.0...inquirer@13.4.1) - Improve `expand` prompt type inferrence. ### [`v13.4.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.4.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.3.2...inquirer@13.4.0) - Feat: Added a loading message while validating editor prompt input. - Type improvement: Better type inference with checkbox, search and expand prompts. - Fix: `editor` prompt not always properly handling editor path on windows. ### [`v13.3.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.3.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.3.1...inquirer@13.3.2) - Fix broken 1.3.1 release process. ### [`v13.3.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.3.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.3.0...inquirer@13.3.1) - Bump dependencies ### [`v13.3.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.3.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.5...inquirer@13.3.0) - Fix: Keypresses happening before a prompt is rendered are now ignored. - Fix (checkbox): Element who're both checked and disabled are now always included in the returned array. - Feat (select/checkbox): Cursor will now hover disabled options of the list; but they still cannot be interacted with. This prevents the cursor jumping ahead in ways that can be confusing. - Feat: various new theme options to make all prompts content localizable. Finally, see our new [`@inquirer/i18n` package](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/i18n)! ### [`v13.2.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.4...inquirer@13.2.5) #### What's Changed - fix([@&#8203;inquirer/input](https://github.com/inquirer/input)): handle numeric default values by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1978](https://github.com/SBoudrias/Inquirer.js/pull/1978) - chore(deps-dev): Bump the linting group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1982](https://github.com/SBoudrias/Inquirer.js/pull/1982) - chore(deps-dev): Bump oxfmt from 0.26.0 to 0.27.0 in the formatting group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1983](https://github.com/SBoudrias/Inquirer.js/pull/1983) - chore(deps-dev): Bump turbo from 2.7.6 to 2.8.1 in the build group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1984](https://github.com/SBoudrias/Inquirer.js/pull/1984) - chore(deps): Bump the types group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1985](https://github.com/SBoudrias/Inquirer.js/pull/1985) - refactor([@&#8203;inquirer/core](https://github.com/inquirer/core)): replace wrap-ansi with fast-wrap-ansi by [@&#8203;njg7194](https://github.com/njg7194) in [#&#8203;1981](https://github.com/SBoudrias/Inquirer.js/pull/1981) - chore(deps): Bump semver from 7.7.3 to 7.7.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1992](https://github.com/SBoudrias/Inquirer.js/pull/1992) - chore(deps-dev): Bump the build group with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1990](https://github.com/SBoudrias/Inquirer.js/pull/1990) - chore(deps): Bump the types group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1991](https://github.com/SBoudrias/Inquirer.js/pull/1991) - chore(deps-dev): Bump oxfmt from 0.27.0 to 0.28.0 in the formatting group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1989](https://github.com/SBoudrias/Inquirer.js/pull/1989) - feat([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): add E2E testing support for CLI applications by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1980](https://github.com/SBoudrias/Inquirer.js/pull/1980) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): auto-mock [@&#8203;inquirer/prompts](https://github.com/inquirer/prompts) barrel re-exports by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1994](https://github.com/SBoudrias/Inquirer.js/pull/1994) - ci: auto-merge dependabot PRs for patch and minor updates by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1995](https://github.com/SBoudrias/Inquirer.js/pull/1995) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): prevent artificial line wrapping in test output by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1996](https://github.com/SBoudrias/Inquirer.js/pull/1996) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): declare @&#8203;inquirer/\* packages as optional peerDependencies by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1997](https://github.com/SBoudrias/Inquirer.js/pull/1997) - chore(deps-dev): Bump oxfmt from 0.28.0 to 0.32.0 in the formatting group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1999](https://github.com/SBoudrias/Inquirer.js/pull/1999) - chore(deps-dev): Bump turbo from 2.8.3 to 2.8.9 in the build group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2000](https://github.com/SBoudrias/Inquirer.js/pull/2000) - chore(deps-dev): Bump the types group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2001](https://github.com/SBoudrias/Inquirer.js/pull/2001) - chore(deps-dev): Bump vitest from 3.2.4 to 4.0.18 in the testing group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1998](https://github.com/SBoudrias/Inquirer.js/pull/1998) - chore(deps): Bump [@&#8203;xterm/headless](https://github.com/xterm/headless) from 5.5.0 to 6.0.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2002](https://github.com/SBoudrias/Inquirer.js/pull/2002) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): handle SWC-style module namespace objects in wrapPrompt by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;2004](https://github.com/SBoudrias/Inquirer.js/pull/2004) #### New Contributors - [@&#8203;njg7194](https://github.com/njg7194) made their first contribution in [#&#8203;1981](https://github.com/SBoudrias/Inquirer.js/pull/1981) **Full Changelog**: <https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.5> ### [`v13.2.4`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.3...inquirer@13.2.4) #### What's Changed - fix([@&#8203;inquirer/input](https://github.com/inquirer/input)): handle numeric default values by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1978](https://github.com/SBoudrias/Inquirer.js/pull/1978) - chore(deps-dev): Bump the linting group with 4 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1982](https://github.com/SBoudrias/Inquirer.js/pull/1982) - chore(deps-dev): Bump oxfmt from 0.26.0 to 0.27.0 in the formatting group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1983](https://github.com/SBoudrias/Inquirer.js/pull/1983) - chore(deps-dev): Bump turbo from 2.7.6 to 2.8.1 in the build group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1984](https://github.com/SBoudrias/Inquirer.js/pull/1984) - chore(deps): Bump the types group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1985](https://github.com/SBoudrias/Inquirer.js/pull/1985) - refactor([@&#8203;inquirer/core](https://github.com/inquirer/core)): replace wrap-ansi with fast-wrap-ansi by [@&#8203;njg7194](https://github.com/njg7194) in [#&#8203;1981](https://github.com/SBoudrias/Inquirer.js/pull/1981) - chore(deps): Bump semver from 7.7.3 to 7.7.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1992](https://github.com/SBoudrias/Inquirer.js/pull/1992) - chore(deps-dev): Bump the build group with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1990](https://github.com/SBoudrias/Inquirer.js/pull/1990) - chore(deps): Bump the types group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1991](https://github.com/SBoudrias/Inquirer.js/pull/1991) - chore(deps-dev): Bump oxfmt from 0.27.0 to 0.28.0 in the formatting group by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1989](https://github.com/SBoudrias/Inquirer.js/pull/1989) - feat([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): add E2E testing support for CLI applications by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1980](https://github.com/SBoudrias/Inquirer.js/pull/1980) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): auto-mock [@&#8203;inquirer/prompts](https://github.com/inquirer/prompts) barrel re-exports by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1994](https://github.com/SBoudrias/Inquirer.js/pull/1994) - ci: auto-merge dependabot PRs for patch and minor updates by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1995](https://github.com/SBoudrias/Inquirer.js/pull/1995) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): prevent artificial line wrapping in test output by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1996](https://github.com/SBoudrias/Inquirer.js/pull/1996) - fix([@&#8203;inquirer/testing](https://github.com/inquirer/testing)): declare @&#8203;inquirer/\* packages as optional peerDependencies by [@&#8203;SBoudrias](https://github.com/SBoudrias) in [#&#8203;1997](https://github.com/SBoudrias/Inquirer.js/pull/1997) #### New Contributors - [@&#8203;njg7194](https://github.com/njg7194) made their first contribution in [#&#8203;1981](https://github.com/SBoudrias/Inquirer.js/pull/1981) **Full Changelog**: <https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.4> ### [`v13.2.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.2...inquirer@13.2.3) - chore: Switch `wrap-ansi` with `fast-wrap-ansi` ### [`v13.2.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.1...inquirer@13.2.2) - Typescript disallow `type: 'list'` unless there's a plugin installed under that name. (`list` was replaced by `select` and marked as deprecated for a few released, v13.0.0 removed the alias.) ### [`v13.2.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.2.0...inquirer@13.2.1) - Regression: previous `answers` weren't provided to the validate functions as the second arguments. ### [`v13.2.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.1.0...inquirer@13.2.0) - feat(`search`): Add support for `default`. - feat(`rawlist`): Add support for `description` of choices. That information is displayed under the list when the choice is highlighted. - Bump dependencies ### [`v13.1.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.0.2...inquirer@13.1.0) - Feat: `rawlist` now supports `default` option. - Fix: `select` now infer return type properly when passing a `choices` array of string literals. ### [`v13.0.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.0.1...inquirer@13.0.2) - Fix Typescript not discovering types when `moduleResolution` is set to `commonjs` (you probably want to fix that in your project if it's still in your tsconfig) ### [`v13.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.0.0...inquirer@13.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@13.0.0...inquirer@13.0.1) ### [`v13.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4013.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.11.1...inquirer@13.0.0) ### Release Notes #### 🚨 Breaking Changes This is a major release that modernizes the codebase for Node.js ≥ 20. ##### ESM Only - No More CommonJS Support **Impact:** All packages are now ESM-only. CommonJS imports are no longer supported. If you're on modern Node versions (≥ 20), this should be transparent and have no impact. ##### Node.js Version Requirement **Minimum Node.js version is now 20.x** Node.js versions below 20 are no longer supported. Please upgrade to Node.js 20 or later. Node min versions: `>=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0` ##### Deprecated APIs Removed The following deprecated APIs have been removed after being deprecated in previous releases: ##### `list` prompt alias removed (affects `inquirer` package only) The `list` alias has been removed from the `inquirer` package. This only impacts users of the legacy `inquirer` package, not users of `@inquirer/prompts` or individual prompt packages. ```js // ❌ No longer available (inquirer package only) import inquirer from 'inquirer'; const answer = await inquirer.prompt([ { type: 'list', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] } ]); // ✅ Use 'select' instead import inquirer from 'inquirer'; const answer = await inquirer.prompt([ { type: 'select', name: 'choice', message: 'Pick one:', choices: ['a', 'b'] } ]); ``` ##### `helpMode` theme property removed ```js // ❌ No longer available const answer = await select({ theme: { helpMode: 'never' } }); // ✅ Use theme.style.keysHelpTip instead const answer = await select({ theme: { style: { keysHelpTip: () => undefined // or your custom styling function } } }); ``` This affects the following prompts: - `@inquirer/checkbox` - `@inquirer/search` - `@inquirer/select` ##### `instructions` config property removed ```js // ❌ No longer available const answer = await checkbox({ instructions: 'Custom instructions' }); // ✅ Use theme.style.keysHelpTip instead const answer = await checkbox({ theme: { style: { keysHelpTip: (text) => 'Custom instructions' } } }); ``` This affects the following prompts: - `@inquirer/checkbox` - `@inquirer/search` - `@inquirer/select` ##### `cancel()` method removed The `cancel()` method on prompt return custom `Promise` has been removed. ```js // ❌ No longer available const answerPromise = input({ message: 'Name?' }); answerPromise.cancel(); const answer = await answerPromise; // ✅ Use AbortSignal instead const controller = new AbortController(); const answer = await input( { message: 'Name?' }, { signal: controller.signal } ); controller.abort(); ``` ##### Color Library Change: yoctocolors → Node.js `styleText` **Internal change:** The project now uses Node.js built-in `util.styleText()` instead of the `yoctocolors` package for terminal colors. This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies. ### [`v12.11.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.11.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.11.0...inquirer@12.11.1) - \[Node 18 compat] Downgraded to mute-stream\@&#8203;2 to maintain Node 18 compatibility. - \[Typescript] Allow passing a `Partial<{ ... }>` type as pre-filled answers. ### [`v12.11.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.11.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.10.0...inquirer@12.11.0) - feat `@inquirer/input`: Now support simple RegExp validation with `pattern`/`patternError`. - fix `@inquirer/editor`: Fix typo `s/waitForUseInput/waitForUserInput` - Bump dependencies ### [`v12.10.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.10.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.6...inquirer@12.10.0) - New design for the keys help tip. Themable/localizable with `theme.style.keysHelpTip`. - Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with `theme.keybindings` ### [`v12.9.6`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.5...inquirer@12.9.6) - Reduce number of transitive dependencies ### [`v12.9.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.4...inquirer@12.9.5) - Fix [#&#8203;1834](https://github.com/SBoudrias/Inquirer.js/issues/1834): (rawlist) Allows specifying numbers as explicit keys of option within the list. ### [`v12.9.4`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.3...inquirer@12.9.4) - fix: Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature. ### [`v12.9.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.2...inquirer@12.9.3) - Fix Unix `yes` not properly being processed by the confirm prompt. (`yes | node confirm-script.js`) ### [`v12.9.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.1...inquirer@12.9.2) - Make `@types/node` an optional peer dependency. ### [`v12.9.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.9.0...inquirer@12.9.1) - Replace `external-editor` dependency with new `@inquirer/external-editor`. This remove the vulnerable `tmp` transitive dependency from the dependency tree. ### [`v12.9.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.9.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.8.2...inquirer@12.9.0) - Search prompt: New `instructions` config to allow localizing the help tips. ### [`v12.8.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.8.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.8.1...inquirer@12.8.2) - Fix [#&#8203;1786](https://github.com/SBoudrias/Inquirer.js/issues/1786) select prompt with `indexMode: number` theme option didn't properly calculate the items indexes if separators where present in between choices. ### [`v12.8.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.8.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.8.0...inquirer@12.8.1) - Fixes: a transitive dependency (`run-aysnc`) loaded devDependencies unexpectedly. This is now fixed upstream. Rel [#&#8203;1791](https://github.com/SBoudrias/Inquirer.js/issues/1791) ### [`v12.8.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.8.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.7.0...inquirer@12.8.0) - Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to. - Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select. ### [`v12.7.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.7.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.6.3...inquirer@12.7.0) -`input` prompt: New `prefill` option to control if the `default` value is editable inline or only after pressing `tab.` ### [`v12.6.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.6.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.6.2...inquirer@12.6.3) - Fix [#&#8203;1743](https://github.com/SBoudrias/Inquirer.js/issues/1743): pagination logic of the `select`, `checkbox` and `search` prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning. ### [`v12.6.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.6.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.6.1...inquirer@12.6.2) - Chore: dependencies bump ### [`v12.6.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.6.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.6.0...inquirer@12.6.1) - Fix [#&#8203;1741](https://github.com/SBoudrias/Inquirer.js/issues/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 like `workspace:*` from the public npm packages. ### [`v12.6.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.6.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.5.2...inquirer@12.6.0) - Feat([@&#8203;inquirer/select](https://github.com/inquirer/select)): Added an `instructions` option allowing to customize the messages in the help tips. - Feat([@&#8203;inquirer/rawlist](https://github.com/inquirer/rawlist)): Arrow keys will now cycle through the option, just like the `@inquirer/select` prompt. Also added a `loop` option to control the list loop behaviour when reaching the boundaries. ### [`v12.5.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.5.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.5.1...inquirer@12.5.2) - README: Add new sponsor - Chore: dependency updates ### [`v12.5.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.5.0...inquirer@12.5.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.5.0...inquirer@12.5.1) ### [`v12.5.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.5.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.3...inquirer@12.5.0) - Feat (`select`): Introduce `theme.indexMode` to 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`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.4.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.2...inquirer@12.4.3) - Fix an issue where inquirer would throw if Node is ran with the new [`--frozen-intrinsics`](https://nodejs.org/api/cli.html#--frozen-intrinsics) flag. ### [`v12.4.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.1...inquirer@12.4.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.1...inquirer@12.4.2) ### [`v12.4.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.4.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.0...inquirer@12.4.1) - Mark `@types/node` as an optional peer dependency across all packages. ### [`v12.4.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.4.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.3...inquirer@12.4.0) - Added new `shortcut` config to the `checkbox` prompt. Allows to customize or disable shortcut keys for select all and invert selection. ### [`v12.3.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.3.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.2...inquirer@12.3.3) - Replace 3rd party dependency `strip-ansi` in favour of [Node built-in `stripVTControlCharacters` util](https://nodejs.org/api/util.html#utilstripvtcontrolcharactersstr). ### [`v12.3.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.1...inquirer@12.3.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.1...inquirer@12.3.2) ### [`v12.3.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.0...inquirer@12.3.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.3.0...inquirer@12.3.1) ### [`v12.3.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.3.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.2.0...inquirer@12.3.0) - 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`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.1.0...inquirer@12.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.1.0...inquirer@12.2.0) ### [`v12.1.0`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.0.1...inquirer@12.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.0.1...inquirer@12.1.0) ### [`v12.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.0.0...inquirer@12.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@12.0.0...inquirer@12.0.1) ### [`v12.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4012.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@11.1.0...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`. ### [`v11.1.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.2...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: ```ts 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`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.1...inquirer@11.0.2) - Fix [#&#8203;1555](https://github.com/SBoudrias/Inquirer.js/issues/1555): `when` behaviour changed unexpectedly when returning a falsy value. ### [`v11.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.0...inquirer@11.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@11.0.0...inquirer@11.0.1) ### [`v11.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4011.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.2...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`. ### [`v10.2.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.1...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. ### [`v10.2.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.2.0...inquirer@10.2.1) - Fix `expand` prompt being broken if a Separator was in the `choices` array. ### [`v10.2.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.8...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. ### [`v10.1.8`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.7...inquirer@10.1.8) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.7...inquirer@10.1.8) ### [`v10.1.7`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.6...inquirer@10.1.7) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.6...inquirer@10.1.7) ### [`v10.1.6`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.5...inquirer@10.1.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.5...inquirer@10.1.6) ### [`v10.1.5`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.4...inquirer@10.1.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.4...inquirer@10.1.5) ### [`v10.1.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.3...inquirer@10.1.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.3...inquirer@10.1.4) ### [`v10.1.3`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.2...inquirer@10.1.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.2...inquirer@10.1.3) ### [`v10.1.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.1.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.1...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. ### [`v10.1.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.0...inquirer@10.1.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.1.0...inquirer@10.1.1) ### [`v10.1.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.4...inquirer@10.1.0) - Adds the new `{ type: 'search' }` prompt. ### [`v10.0.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.3...inquirer@10.0.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.3...inquirer@10.0.4) ### [`v10.0.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.0.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.2...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.) ### [`v10.0.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.1...inquirer@10.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.1...inquirer@10.0.2) ### [`v10.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.0...inquirer@10.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@10.0.0...inquirer@10.0.1) ### [`v10.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%4010.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.8...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`](https://github.com/SBoudrias/Inquirer.js). - Custom prompts now should be [implemented with `@inquirer/core`](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/core). Custom prompts built on `inquirer@9.x.x` 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.8`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.7...inquirer@9.3.8) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.7...inquirer@9.3.8) ### [`v9.3.7`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.6...inquirer@9.3.7) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.6...inquirer@9.3.7) ### [`v9.3.6`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.5...inquirer@9.3.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.5...inquirer@9.3.6) ### [`v9.3.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.3.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.4...inquirer@9.3.5) - Fix issue with plugins relying on internal `inquirer` packages file structure. ### [`v9.3.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.3...inquirer@9.3.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.3...inquirer@9.3.4) ### [`v9.3.3`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.2...inquirer@9.3.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.2...inquirer@9.3.3) ### [`v9.3.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.1...inquirer@9.3.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.1...inquirer@9.3.2) ### [`v9.3.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.3.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.0...inquirer@9.3.1) - Fix risk of prototype injection. ### [`v9.3.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.3.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.23...inquirer@9.3.0) - Replace `chalk` with ~~`picolors`~~ (in 9.3.2 went to `yoctocolors` to stay with Sindre's packages and reduce amount of provenance.) - 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`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.22...inquirer@9.2.23) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.22...inquirer@9.2.23) ### [`v9.2.22`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.2.22) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.21...inquirer@9.2.22) - `editor` prompt: Fixed compatibility issue between `default` and `waitUserInput` options. [#&#8203;1405](https://github.com/SBoudrias/Inquirer.js/issues/1405) ### [`v9.2.21`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.20...inquirer@9.2.21) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.20...inquirer@9.2.21) ### [`v9.2.20`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.19...inquirer@9.2.20) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.19...inquirer@9.2.20) ### [`v9.2.19`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.18...inquirer@9.2.19) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.18...inquirer@9.2.19) ### [`v9.2.18`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.2.18) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.17...inquirer@9.2.18) - On windows, we will now use unicode characters whenever possible ### [`v9.2.17`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.16...inquirer@9.2.17) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.16...inquirer@9.2.17) ### [`v9.2.16`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.15...inquirer@9.2.16) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.15...inquirer@9.2.16) ### [`v9.2.15`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.14...inquirer@9.2.15) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.14...inquirer@9.2.15) ### [`v9.2.14`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.13...inquirer@9.2.14) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.13...inquirer@9.2.14) ### [`v9.2.13`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.12...inquirer@9.2.13) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.12...inquirer@9.2.13) ### [`v9.2.12`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.11...inquirer@9.2.12) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.11...inquirer@9.2.12) ### [`v9.2.11`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.10...inquirer@9.2.11) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.10...inquirer@9.2.11) ### [`v9.2.10`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.9...inquirer@9.2.10) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.9...inquirer@9.2.10) ### [`v9.2.9`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.2.9) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.8...inquirer@9.2.9) - Modified lodash imports to help with tree-shaking - Replace unmaintained `through` dependency (only affect users of the old bottom bar) ### [`v9.2.8`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.7...inquirer@9.2.8) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.7...inquirer@9.2.8) ### [`v9.2.7`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.6...inquirer@9.2.7) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.6...inquirer@9.2.7) ### [`v9.2.6`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.5...inquirer@9.2.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.5...inquirer@9.2.6) ### [`v9.2.5`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.4...inquirer@9.2.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.4...inquirer@9.2.5) ### [`v9.2.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.3...inquirer@9.2.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.3...inquirer@9.2.4) ### [`v9.2.3`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.2...inquirer@9.2.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.2...inquirer@9.2.3) ### [`v9.2.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.1...inquirer@9.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.1...inquirer@9.2.2) ### [`v9.2.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.0...inquirer@9.2.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.0...inquirer@9.2.1) ### [`v9.2.0`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.5...inquirer@9.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.5...inquirer@9.2.0) ### [`v9.1.5`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.4...inquirer@9.1.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.4...inquirer@9.1.5) ### [`v9.1.4`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.1.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.3...inquirer@9.1.4) Fix issue with the default value disappearing from prompt. ### [`v9.1.3`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.2...inquirer@9.1.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.2...inquirer@9.1.3) ### [`v9.1.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.1...inquirer@9.1.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.1...inquirer@9.1.2) ### [`v9.1.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.0...inquirer@9.1.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.1.0...inquirer@9.1.1) ### [`v9.1.0`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.2...inquirer@9.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.2...inquirer@9.1.0) ### [`v9.0.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.1...inquirer@9.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.1...inquirer@9.0.2) ### [`v9.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.0...inquirer@9.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.0.0...inquirer@9.0.1) ### [`v9.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%409.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.7...inquirer@9.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.7`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.6...inquirer@8.2.7) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.6...inquirer@8.2.7) ### [`v8.2.6`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.2.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.5...inquirer@8.2.6) - Bugfix: Fix a dependency who became ESM only ### [`v8.2.5`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.4...inquirer@8.2.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.4...inquirer@8.2.5) ### [`v8.2.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.3...inquirer@8.2.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.3...inquirer@8.2.4) ### [`v8.2.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.2.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.2...inquirer@8.2.3) - Fix line wrapping with using with terminal links - Fix number prompt not working with negative numbers ### [`v8.2.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.1...inquirer@8.2.2) Fix bugs with the `rawlist` ### [`v8.2.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.2.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.0...inquirer@8.2.1) - Fix bug when using both arrow keys and number keys on the `rawList` prompt. - Dependencies bump ### [`v8.2.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.2.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.5...inquirer@8.2.0) - `checkbox` prompt: Update the help message to be more complete. And the help message is now shown until a selection is made. ### [`v8.1.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.4...inquirer@8.1.5) Fix older Node version compatibility issue. ### [`v8.1.4`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.3...inquirer@8.1.4) - Fix an error being thrown inside the `rawlist` prompt ### [`v8.1.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.2...inquirer@8.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`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.1...inquirer@8.1.2) - Fix bug on `rawList` prompt - Bump dependencies ### [`v8.1.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.0...inquirer@8.1.1) **Fix**: Number prompt `default` behavior. ### [`v8.1.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.0.1...inquirer@8.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 with `name`d prompts: ```js const { foo, bar } = await inquirer.prompt({ foo: { message: '...', default: '...', }, bar: { default: '...', } }): ``` ### [`v8.0.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.0.0...inquirer@8.0.1) Fixes - Fix issue with duplicate keys in `expand` prompt not being caught if casing didn't match - Fix `rawlist` prompt ignoring `short` option - Rollback dependencies migrated to ESM causing issue for some users And lastly general dependency upgrade (to non-ESM versions) ### [`v8.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%408.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.3...inquirer@8.0.0) - Drop support for Node 10 (through dependencies) - Add `postfix` option to the editor prompt to allow easily turning on proper syntax highlighting ### [`v7.3.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.3.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.2...inquirer@7.3.3) - Fix to release the readline on errors - Security patch (lodash) ### [`v7.3.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.3.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.1...inquirer@7.3.2) Fix the `loop: false` option in the `checkbox` prompt. ### [`v7.3.1`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.3.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.0...inquirer@7.3.1) - Fix the `loop: false` option in the `list` prompt. ### [`v7.3.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.3.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.2.0...inquirer@7.3.0) - New option `loop` (boolean) for list type prompts. This prevents the list from looping when reaching the top or bottom of the selection. - Bug fix: multi line list type prompts - Core: Bumped dependencies ### [`v7.2.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.2.0): Inquirer v7.2.0 [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.1.0...inquirer@7.2.0) ##### Enhancement - [`039a55c`](https://github.com/SBoudrias/Inquirer.js/commit/039a55c7ec04d95887bdeb9b164cc634f26beb57) [#&#8203;923](https://github.com/SBoudrias/Inquirer.js/issues/923) Only import used lodash methods. ([@&#8203;merceyz](https://github.com/merceyz)) ##### Bug Fix - [`a1171d2`](https://github.com/SBoudrias/Inquirer.js/commit/a1171d25cdb48c147b405e3173828a8de2dc735b) [#&#8203;918](https://github.com/SBoudrias/Inquirer.js/issues/918) Fix `@inquirer/confirm` formatted output value. ([@&#8203;rbardini](https://github.com/rbardini)) - [`1bf6413`](https://github.com/SBoudrias/Inquirer.js/commit/1bf6413b71e94b52a68ba9a4d331ea67453e3390) Fix `engines` field for Node.js 8. ([@&#8203;LitoMore](https://github.com/LitoMore)) ### [`v7.1.0`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.7...inquirer@7.1.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.7...inquirer@7.1.0) ### [`v7.0.7`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.6...inquirer@7.0.7) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.6...inquirer@7.0.7) ### [`v7.0.6`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.5...inquirer@7.0.6) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.5...inquirer@7.0.6) ### [`v7.0.5`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.0.5) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.4...inquirer@7.0.5) Errors when running in non-TTY environment are now marked and catchable. ### [`v7.0.4`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.3...inquirer@7.0.4) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.3...inquirer@7.0.4) ### [`v7.0.3`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.0.3) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.2...inquirer@7.0.3) Revert broken fix done in 7.0.2 ### [`v7.0.2`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.0.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.1...inquirer@7.0.2) ~~Work around bug affecting Windows user with Node 10 ([#&#8203;767](https://github.com/SBoudrias/Inquirer.js/issues/767))~~ (Reverted in v7.0.3) ### [`v7.0.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.0...inquirer@7.0.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.0.0...inquirer@7.0.1) ### [`v7.0.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%407.0.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.5.2...inquirer@7.0.0) - Drop support for Node 6. ### [`v6.5.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.5.1...inquirer@6.5.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.5.1...inquirer@6.5.2) ### [`v6.5.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.5.0...inquirer@6.5.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.5.0...inquirer@6.5.1) ### [`v6.5.0`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.4.1...inquirer@6.5.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.4.1...inquirer@6.5.0) ### [`v6.4.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.4.0...inquirer@6.4.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.4.0...inquirer@6.4.1) ### [`v6.4.0`](https://github.com/SBoudrias/Inquirer.js/releases/tag/inquirer%406.4.0) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.3.1...inquirer@6.4.0) ##### Bug Fix - Fix memory leak with some event listeners not being cleaned up after a prompting session. ### [`v6.3.1`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.2.2...inquirer@6.3.1) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.2.2...inquirer@6.3.1) ### [`v6.2.2`](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.2.1...inquirer@6.2.2) [Compare Source](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@6.2.1...inquirer@6.2.2) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "renovate/inquirer-14.x:renovate/inquirer-14.x"
git switch "renovate/inquirer-14.x"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "master"
git merge --no-ff "renovate/inquirer-14.x"
git switch "renovate/inquirer-14.x"
git rebase "master"
git switch "master"
git merge --ff-only "renovate/inquirer-14.x"
git switch "renovate/inquirer-14.x"
git rebase "master"
git switch "master"
git merge --no-ff "renovate/inquirer-14.x"
git switch "master"
git merge --squash "renovate/inquirer-14.x"
git switch "master"
git merge --ff-only "renovate/inquirer-14.x"
git switch "master"
git merge "renovate/inquirer-14.x"
git push origin "master"
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
andylockran/aws-login-okta!9
No description provided.