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

question-cache

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

question-cache - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

package.json
{
"name": "question-cache",
"description": "A wrapper around inquirer that makes it easy to create and selectively reuse questions.",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "https://github.com/jonschlinkert/question-cache",

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

"has-value": "^0.2.0",
"inquirer": "^0.10.1",
"inquirer": "^0.11.0",
"kind-of": "^2.0.1",

@@ -26,0 +26,0 @@ "lazy-cache": "^0.2.3",

@@ -88,7 +88,5 @@ # question-cache [![NPM version](https://badge.fury.io/js/question-cache.svg)](http://badge.fury.io/js/question-cache)

<!-- toc -->
* [API](#api)
* [Dot notation](#dot-notation)
- [Dot notation usage](#dot-notation-usage)
- [API](#api)
- [Dot notation](#dot-notation)
* [Dot notation usage](#dot-notation-usage)
+ [ask one](#ask-one)

@@ -99,14 +97,10 @@ + [ask all "name" questions](#ask-all--name--questions)

+ [nested questions](#nested-questions)
* [More examples](#more-examples)
- [Mixture of dot notation and non-dot-notation](#mixture-of-dot-notation-and-non-dot-notation)
* [Thank you](#thank-you)
* [Related](#related)
* [Contributing](#contributing)
* [Author](#author)
* [License](#license)
- [More examples](#more-examples)
* [Mixture of dot notation and non-dot-notation](#mixture-of-dot-notation-and-non-dot-notation)
- [Thank you](#thank-you)
- [Related](#related)
- [Contributing](#contributing)
- [Author](#author)
- [License](#license)
_(Table of contents generated by [verb](https://github.com/verbose/verb))_
<!-- tocstop -->
## API

@@ -190,3 +184,3 @@

### [.toQuestion](index.js#L215)
### [.toQuestion](index.js#L213)

@@ -204,3 +198,3 @@ Create a question object from a string. Uses the `input` question type, and does the following basic normalization:

### [.ask](index.js#L250)
### [.ask](index.js#L248)

@@ -221,3 +215,3 @@ Ask a question or array of questions.

### [.prompt](index.js#L293)
### [.prompt](index.js#L291)

@@ -385,2 +379,2 @@ Exposes the `prompt` method on [inquirer](https://github.com/sboudrias/Inquirer.js)as a convenience.

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 17, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 22, 2015._
'use strict';
/**
* Module dependencies
*/
var utils = require('lazy-cache')(require);
/**
* Temporarily re-assign `require` to trick browserify and
* webpack into reconizing lazy dependencies.
*
* This tiny bit of ugliness has the huge dual advantage of
* only loading modules that are actually called at some
* point in the lifecycle of the application, whilst also
* allowing browserify and webpack to find modules that
* are depended on but never actually called.
*/
var fn = require;
require = utils;
/**
* Lazily required module dependencies
*/
require('inquirer');

@@ -12,4 +33,13 @@ require('kind-of', 'typeOf');

require('set-value', 'set');
/**
* Restore `require`
*/
require = fn;
/**
* Expose `utils` modules
*/
module.exports = utils;
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