Socket
Socket
Sign inDemoInstall

enquirer

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enquirer - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

index.js

@@ -38,3 +38,3 @@ 'use strict';

this.UI = this.options.UI || utils.UI;
this.ui = new this.UI(this.options);
this.ui = this.UI.create(this.options);
this.ui.once('finish', function() {

@@ -70,3 +70,3 @@ this.session = false;

* @param {String} `type` The name of the prompt type
* @param {Function} `fn` Prompt function that inherits from [enquirer-prompt][].
* @param {Function} `fn` Prompt function that inherits from [prompt-base][].
* @return {Object} Returns the Enquirer instance for chaining.

@@ -73,0 +73,0 @@ * @api public

{
"name": "enquirer",
"description": "Intuitive, plugin-based prompt system for node.js. Much faster and lighter alternative to Inquirer, with all the same prompt types and more, but without the bloat.",
"version": "0.2.0",
"version": "0.3.0",
"homepage": "https://github.com/enquirer/enquirer",

@@ -31,3 +31,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"debug": "^2.2.0",
"enquirer-prompt-input": "^0.2.0",
"enquirer-prompt-input": "^0.3.0",
"extend-shallow": "^2.0.1",

@@ -38,3 +38,3 @@ "isobject": "^2.1.0",

"prompt-question": "^0.3.1",
"readline-ui": "^0.1.0"
"readline-ui": "^0.1.1"
},

@@ -45,3 +45,3 @@ "devDependencies": {

"gulp-format-md": "^0.1.10",
"gulp-istanbul": "^1.1.0",
"gulp-istanbul": "^1.1.1",
"gulp-mocha": "^3.0.1",

@@ -92,4 +92,4 @@ "gulp-unused": "^0.2.0",

"list": [
"enquirer-question",
"enquirer-prompt",
"prompt-question",
"prompt-base",
"prompt-choices",

@@ -102,8 +102,2 @@ "readline-utils"

"enquirer-prompt",
"enquirer-question",
"generate",
"inquirer",
"update",
"verb",
"verb-generate-readme",
"enquirer-prompt-checkbox",

@@ -118,5 +112,13 @@ "enquirer-prompt-confirm",

"enquirer-prompt-rawlist",
"enquirer-prompts"
"enquirer-prompts",
"enquirer-question",
"generate",
"inquirer",
"update",
"verb",
"verb-generate-readme",
"chalk",
"prompt-base"
]
}
}

@@ -57,3 +57,3 @@ # enquirer [![NPM version](https://img.shields.io/npm/v/enquirer.svg?style=flat)](https://www.npmjs.com/package/enquirer) [![NPM downloads](https://img.shields.io/npm/dm/enquirer.svg?style=flat)](https://npmjs.org/package/enquirer) [![Build Status](https://img.shields.io/travis/enquirer/enquirer.svg?style=flat)](https://travis-ci.org/enquirer/enquirer)

* `type` **{String}**: The name of the prompt type
* `fn` **{Function}**: Prompt function that inherits from [enquirer-prompt](https://github.com/enquirer/enquirer-prompt).
* `fn` **{Function}**: Prompt function that inherits from [prompt-base](https://github.com/enquirer/prompt-base).
* `returns` **{Object}**: Returns the Enquirer instance for chaining.

@@ -205,3 +205,3 @@

* [x] `radio` ([enquirer-prompt-radio](https://github.com/enquirer/enquirer-prompt-radio))
* [ ] `rawlist` ([enquirer-prompt-rawlist][])
* [ ] `rawlist` ([enquirer-prompt-rawlist](https://github.com/enquirer/enquirer-prompt-rawlist))

@@ -267,5 +267,5 @@ Or you can use [enquirer-prompts][], if you want a bundle with all of the listed prompt types.

* [enquirer-prompt](https://www.npmjs.com/package/enquirer-prompt): Base prompt module used for creating custom prompt types for Enquirer. | [homepage](https://github.com/enquirer/enquirer-prompt "Base prompt module used for creating custom prompt types for Enquirer.")
* [enquirer-question](https://www.npmjs.com/package/enquirer-question): Question object, used by Enquirer and prompt plugins. | [homepage](https://github.com/enquirer/enquirer-question "Question object, used by Enquirer and prompt plugins.")
* [prompt-base](https://www.npmjs.com/package/prompt-base): Base prompt module used for creating custom prompt types for Enquirer. | [homepage](https://github.com/enquirer/prompt-base "Base prompt module used for creating custom prompt types for Enquirer.")
* [prompt-choices](https://www.npmjs.com/package/prompt-choices): Create an array of multiple choice objects for use in prompts. | [homepage](https://github.com/enquirer/prompt-choices "Create an array of multiple choice objects for use in prompts.")
* [prompt-question](https://www.npmjs.com/package/prompt-question): Question object, used by Enquirer and prompt plugins. | [homepage](https://github.com/enquirer/prompt-question "Question object, used by Enquirer and prompt plugins.")
* [readline-utils](https://www.npmjs.com/package/readline-utils): Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more. | [homepage](https://github.com/enquirer/readline-utils "Readline utils, for moving the cursor, clearing lines, creating a readline interface, and more.")

@@ -311,2 +311,2 @@

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on August 30, 2016._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.30, on September 01, 2016._
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