prompt-base
Advanced tools
Comparing version 2.1.0 to 2.1.1
10
index.js
@@ -5,9 +5,9 @@ 'use strict'; | ||
var log = require('log-utils'); | ||
var debug = require('debug')('prompt-base'); | ||
var Emitter = require('component-emitter'); | ||
var Question = require('prompt-question'); | ||
var Actions = require('prompt-actions'); | ||
var extend = require('static-extend'); | ||
var utils = require('readline-utils'); | ||
var Emitter = require('component-emitter'); | ||
var debug = require('debug')('prompt-base'); | ||
var isNumber = require('is-number'); | ||
var Question = require('prompt-question'); | ||
var Actions = require('prompt-actions'); | ||
var UI = require('readline-ui'); | ||
@@ -469,3 +469,3 @@ | ||
// vertical lines to display more of the prompt | ||
if (key.shift === true) { | ||
if (this.options.expandHeight !== false && key.shift === true) { | ||
switch (key.name) { | ||
@@ -472,0 +472,0 @@ case 'up': |
{ | ||
"name": "prompt-base", | ||
"description": "Base prompt module used for creating custom prompts.", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"homepage": "https://github.com/enquirer/prompt-base", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -540,3 +540,3 @@ # prompt-base [![NPM version](https://img.shields.io/npm/v/prompt-base.svg?style=flat)](https://www.npmjs.com/package/prompt-base) [![NPM monthly downloads](https://img.shields.io/npm/dm/prompt-base.svg?style=flat)](https://npmjs.org/package/prompt-base) [![NPM total downloads](https://img.shields.io/npm/dt/prompt-base.svg?style=flat)](https://npmjs.org/package/prompt-base) [![Linux Build Status](https://img.shields.io/travis/enquirer/prompt-base.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/prompt-base) [![Windows Build Status](https://img.shields.io/appveyor/ci/enquirer/prompt-base.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/enquirer/prompt-base) | ||
| --- | --- | | ||
| 110 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 114 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 6 | [doowb](https://github.com/doowb) | | ||
@@ -576,2 +576,2 @@ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 24, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 26, 2017._ |
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
41946