Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enquirer

Package Overview
Dependencies
Maintainers
2
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.3.1 to 0.3.2

6

index.js

@@ -197,7 +197,4 @@ 'use strict';

var prompt = this.prompt.bind(this);
var finish = this.finish.bind(this);
this.session = true;
// disable `finish` to prevent successive calls
this.finish = utils.identity;
function ask(acc, question) {

@@ -209,4 +206,3 @@ return prompt(question);

return Promise.resolve(queue)
.then(utils.reduce(ask, this.answers))
.then(finish());
.then(utils.reduce(ask, this.answers));
};

@@ -213,0 +209,0 @@

2

package.json
{
"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.3.1",
"version": "0.3.2",
"homepage": "https://github.com/enquirer/enquirer",

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

@@ -7,3 +7,3 @@ <p align="center">

[![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)
# 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)

@@ -151,3 +151,3 @@ 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.

### [.prompt](index.js#L231)
### [.prompt](index.js#L227)

@@ -178,7 +178,7 @@ Initialize a prompt session for a single question. Used by the [ask](#ask) method.

### [.separator](index.js#L272)
### [.separator](index.js#L268)
Create a new `Separator` to use in a choices array.
### [.Separator](index.js#L295)
### [.Separator](index.js#L291)

@@ -200,3 +200,3 @@ Create a new `Separator` to use in a choices array.

Or you can use [enquirer-prompts][], if you want a bundle with all of the listed prompt types.
Or you can use [enquirer-prompts](https://github.com/enquirer/enquirer-prompts), if you want a bundle with all of the listed prompt types.

@@ -293,2 +293,2 @@ ### Publishing prompt types

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