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

base-questions

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

base-questions - npm Package Compare versions

Comparing version 0.3.0 to 0.3.2

2

index.js

@@ -13,4 +13,2 @@ /*!

module.exports = function(options) {
utils.forceExit();
return function(app) {

@@ -17,0 +15,0 @@ if (this.isRegistered('base-questions')) return;

3

package.json
{
"name": "base-questions",
"description": "Plugin for base-methods that adds methods for prompting the user and storing the answers on a project-by-project basis.",
"version": "0.3.0",
"version": "0.3.2",
"homepage": "https://github.com/jonschlinkert/base-questions",

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

"related": {
"highlight": "data-store",
"list": [

@@ -73,0 +74,0 @@ "answer-store",

@@ -5,13 +5,4 @@ # base-questions [![NPM version](https://img.shields.io/npm/v/base-questions.svg)](https://www.npmjs.com/package/base-questions) [![Build Status](https://img.shields.io/travis/jonschlinkert/base-questions.svg)](https://travis-ci.org/jonschlinkert/base-questions)

- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Related projects](#related-projects)
- [Running tests](#running-tests)
- [Contributing](#contributing)
- [Author](#author)
- [License](#license)
You might also be interested in [data-store](https://github.com/jonschlinkert/data-store).
_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
## Install

@@ -81,3 +72,3 @@

### [.choices](index.js#L105)
### [.choices](index.js#L82)

@@ -107,3 +98,3 @@ Create a "choices" question from an array.

### [.question](index.js#L142)
### [.question](index.js#L122)

@@ -116,3 +107,3 @@ Add a question to be asked at a later point.

* `locale` **{String}**: Optionally pass the locale to use, otherwise the default locale is used.
* `returns` **{Object}**: Returns the `app.questions` object, for chaining
* `returns` **{Object}**: Returns the `this.questions` object, for chaining

@@ -136,3 +127,3 @@ **Example**

### [.ask](index.js#L175)
### [.ask](index.js#L148)

@@ -190,6 +181,6 @@ Ask one or more questions, with the given `options` and callback.

Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the MIT license.
Released under the [MIT license](https://github.com/jonschlinkert/base-questions/blob/master/LICENSE).
***
_This file was generated by [verb](https://github.com/verbose/verb) on January 14, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on February 06, 2016._

@@ -27,20 +27,2 @@ 'use strict';

/**
* Force exit if "ctrl+c" is pressed
*/
utils.forceExit = function() {
var stdin = process.stdin;
stdin.setRawMode(true);
stdin.resume();
stdin.setEncoding('utf8');
stdin.setMaxListeners(0);
stdin.on('data', function(key) {
if (key === '\u0003') {
process.stdout.write('\u001b[1A');
process.exit();
}
});
};
/**
* Expose `utils` modules

@@ -47,0 +29,0 @@ */

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