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

base-runtimes

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base-runtimes - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

12

index.js

@@ -84,3 +84,3 @@ /*!

function namespace(build) {
return build.env ? build.env.name : build.namespace;
return build.env ? build.env.namespace : build.namespace;
}

@@ -116,14 +116,10 @@

function isValidInstance(app) {
if (app.isRegistered('base-runtimes')) {
function isValidInstance(app, fn) {
if (!utils.isValid(app)) {
return false;
}
if (app.isCollection || app.isView) {
if (utils.isRegistered(app, 'base-runtimes', fn)) {
return false;
}
var fn = app.options.validatePlugin;
if (typeof fn === 'function') {
return fn(app);
}
return true;
}
{
"name": "base-runtimes",
"description": "Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.",
"version": "0.1.10",
"version": "0.1.11",
"homepage": "https://github.com/node-base/base-runtimes",

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

"extend-shallow": "^2.0.1",
"is-registered": "^0.1.3",
"is-valid-instance": "^0.1.0",
"lazy-cache": "^2.0.1",

@@ -27,0 +29,0 @@ "log-utils": "^0.1.3",

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

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

@@ -12,2 +12,4 @@ 'use strict';

require('extend-shallow', 'extend');
require('is-registered');
require('is-valid-instance', 'isValid');
require('log-utils', 'log');

@@ -14,0 +16,0 @@ require('time-diff', 'Time');

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