Inquirer

Latest version: v3.4.0

Safety actively analyzes 688674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 19 of 23

0.8.2

- Revert usage of `ttys` module that was breaking Windows or non ttys terminals.

This release is really just a fix for version 0.8.1.

0.8.1

- use `ttys` module for a more reliable stdout.
- Remove/cleanup some dependencies for faster load time.

0.8.0

New Feature

Add `inquirer.createPromptModule()` who return a self contained `inquirer.prompt` method. This allow to decouple multiple interfaces who could rely on `inquirer.prompt` and different sets of prompts.

Example usage:

js
var prompt = inquirer.createPromptModule();

prompt.registerPrompt('long-list', LongListPrompt);

prompt([{
type: 'long-list',
message: 'Choose a menu item',
choices: [ /* etc */ ]
}], callback);

0.7.3

Bug fix
- Correctly detect when to add a `:` to the end of a question phrase if it the question contains color codes.

0.7.2

Bug
- Update checkbox icons (some people had issue with their terminal fonts)

Feature
- `message` can now also be a function

0.7.1

- Fix bug with `checkbox` prompt validation

Page 19 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.