Socket
Socket
Sign inDemoInstall

inquirer

Package Overview
Dependencies
Maintainers
2
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inquirer - npm Package Compare versions

Comparing version 3.2.3 to 3.3.0

6

lib/prompts/base.js

@@ -29,3 +29,5 @@ /**

return true;
}
},
suffix: '',
prefix: chalk.green('?')
});

@@ -130,3 +132,3 @@

Prompt.prototype.getQuestion = function () {
var message = chalk.green('?') + ' ' + chalk.bold(this.opt.message) + chalk.reset(' ');
var message = this.opt.prefix + ' ' + chalk.bold(this.opt.message) + this.opt.suffix + chalk.reset(' ');

@@ -133,0 +135,0 @@ // Append the default if available, and if question isn't answered

{
"name": "inquirer",
"version": "3.2.3",
"version": "3.3.0",
"description": "A collection of common interactive command line user interfaces.",

@@ -25,3 +25,3 @@ "author": "Simon Boudrias <admin@simonboudrias.com>",

"dependencies": {
"ansi-escapes": "^2.0.0",
"ansi-escapes": "^3.0.0",
"chalk": "^2.0.0",

@@ -28,0 +28,0 @@ "cli-cursor": "^2.1.0",

@@ -116,2 +116,4 @@ Inquirer.js

- **pageSize**: (Number) Change the number of lines that will be rendered when using `list`, `rawList`, `expand` or `checkbox`.
- **prefix**: (String) Change the default _prefix_ message.
- **suffix**: (String) Change the default _suffix_ message.

@@ -379,2 +381,3 @@ `default`, `choices`(if defined as functions), `validate`, `filter` and `when` functions can be called asynchronous. Either return a promise or use `this.async()` to get a callback you'll call with the final value.

[__command__](https://github.com/sullof/inquirer-command-prompt)<br>
<br>
Simple prompt with command history and dynamic autocomplete

@@ -381,0 +384,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc