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

prompt-question

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prompt-question - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

10

index.js

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

if (utils.isObject(name) && name.isQuestion) {
if (Question.isQuestion(name)) {
return name;

@@ -198,2 +198,10 @@ }

/**
* Returns true if `val` is an instance of `Question`
*/
Question.isQuestion = function(val) {
return val instanceof Question || (utils.isObject(val) && val.isQuestion);
};
/**
* Expose `Question`

@@ -200,0 +208,0 @@ */

2

package.json
{
"name": "prompt-question",
"description": "Question object, used by Enquirer and prompt plugins.",
"version": "0.4.1",
"version": "0.5.0",
"homepage": "https://github.com/enquirer/prompt-question",

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

@@ -78,3 +78,3 @@ # prompt-question [![NPM version](https://img.shields.io/npm/v/prompt-question.svg?style=flat)](https://www.npmjs.com/package/prompt-question) [![NPM monthly downloads](https://img.shields.io/npm/dm/prompt-question.svg?style=flat)](https://npmjs.org/package/prompt-question) [![NPM total downloads](https://img.shields.io/npm/dt/prompt-question.svg?style=flat)](https://npmjs.org/package/prompt-question) [![Linux Build Status](https://img.shields.io/travis/enquirer/prompt-question.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/prompt-question)

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on March 09, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 12, 2017._

@@ -81,0 +81,0 @@ [verb-generate-readme]: https://github.com/verbose/verb-generate-readme

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