Socket
Socket
Sign inDemoInstall

base-questions

Package Overview
Dependencies
156
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.5 to 0.6.6

15

index.js

@@ -10,3 +10,2 @@ /*!

var path = require('path');
var utils = require('./utils');

@@ -16,3 +15,3 @@

return function plugin(app) {
if (!isValid(app, fn)) return;
if (!utils.isValid(app)) return;

@@ -27,3 +26,3 @@ /**

if (typeof app.store === 'undefined') {
throw new Error('expected the base-store plugin to be registered');
this.use(utils.store());
}

@@ -212,11 +211,1 @@

};
function isValid(app, fn) {
if (!utils.isValidInstance(app)) {
return false;
}
if (utils.isRegistered(app, 'base-questions')) {
return false;
}
return true;
}

4

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.6.5",
"version": "0.6.6",
"homepage": "https://github.com/node-base/base-questions",

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

"dependencies": {
"base-store": "^0.4.4",
"define-property": "^0.2.5",

@@ -40,3 +41,2 @@ "is-registered": "^0.1.3",

"base-option": "^0.7.0",
"base-store": "^0.4.2",
"gulp": "^3.9.1",

@@ -43,0 +43,0 @@ "gulp-eslint": "^2.0.0",

@@ -19,2 +19,4 @@ # base-questions [![NPM version](https://img.shields.io/npm/v/base-questions.svg?style=flat)](https://www.npmjs.com/package/base-questions) [![NPM downloads](https://img.shields.io/npm/dm/base-questions.svg?style=flat)](https://npmjs.org/package/base-questions) [![Build Status](https://img.shields.io/travis/node-base/base-questions.svg?style=flat)](https://travis-ci.org/node-base/base-questions)

_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_
## Install

@@ -245,2 +247,2 @@

_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 21, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 23, 2016._

@@ -15,2 +15,3 @@ 'use strict';

require('base-store', 'store');
require('define-property', 'define');

@@ -24,2 +25,12 @@ require('is-registered');

utils.isValid = function(app) {
if (!utils.isValidInstance(app)) {
return false;
}
if (utils.isRegistered(app, 'base-questions')) {
return false;
}
return true;
};
utils.sync = function(obj, prop, val) {

@@ -26,0 +37,0 @@ var cached;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc