Comparing version 0.1.4 to 0.1.5
@@ -239,2 +239,3 @@ 'use strict'; | ||
var answers = this.answers; | ||
var self = this; | ||
@@ -256,3 +257,3 @@ try { | ||
question.answer = val[name]; | ||
this.emit('answer', val[name], name, question, answers); | ||
self.emit('answer', val[name], name, question, answers); | ||
return val; | ||
@@ -259,0 +260,0 @@ }) |
{ | ||
"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.1.4", | ||
"version": "0.1.5", | ||
"homepage": "https://github.com/enquirer/enquirer", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -180,7 +180,7 @@ # 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) | ||
### [.separator](index.js#L270) | ||
### [.separator](index.js#L271) | ||
Create a new `Separator` to use in a choices array. | ||
### [.Separator](index.js#L293) | ||
### [.Separator](index.js#L294) | ||
@@ -187,0 +187,0 @@ Create a new `Separator` to use in a choices array. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22367
292