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.4 to 0.1.5

21

index.js

@@ -15,5 +15,4 @@ /*!

return function(app) {
if (this.isRegistered('base-runtimes')) return;
return function plugin(app) {
if (!isValidInstance(app)) return;
var time = new utils.Time();

@@ -98,2 +97,4 @@

}
return plugin;
};

@@ -108,1 +109,15 @@ };

}
function isValidInstance(app) {
if (app.isRegistered('base-runtimes')) {
return false;
}
if (app.isCollection || app.isView) {
return false;
}
var fn = app.options.validatePlugin;
if (typeof fn === 'function') {
return fn(app);
}
return true;
}

22

package.json
{
"name": "base-runtimes",
"description": "Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.",
"version": "0.1.4",
"homepage": "https://github.com/jonschlinkert/base-runtimes",
"version": "0.1.5",
"homepage": "https://github.com/node-base/base-runtimes",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/base-runtimes",
"repository": "node-base/base-runtimes",
"bugs": {
"url": "https://github.com/jonschlinkert/base-runtimes/issues"
"url": "https://github.com/node-base/base-runtimes/issues"
},

@@ -30,3 +30,3 @@ "license": "MIT",

"extend-shallow": "^2.0.1",
"fancy-log": "github:jonschlinkert/fancy-log#timestamp",
"fancy-log": "^1.2.0",
"lazy-cache": "^1.0.3",

@@ -61,4 +61,8 @@ "success-symbol": "^0.1.0",

"verb": {
"run": true,
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [

@@ -81,5 +85,9 @@ "gulp-format-md"

"composer",
"composer-runtimes"
]
"composer-runtimes",
"verb"
],
"lint": {
"reflinks": true
}
}
}

@@ -1,2 +0,2 @@

# base-runtimes [![NPM version](https://img.shields.io/npm/v/base-runtimes.svg)](https://www.npmjs.com/package/base-runtimes) [![Build Status](https://img.shields.io/travis/jonschlinkert/base-runtimes.svg)](https://travis-ci.org/jonschlinkert/base-runtimes)
# base-runtimes [![NPM version](https://img.shields.io/npm/v/base-runtimes.svg)](https://www.npmjs.com/package/base-runtimes) [![Build Status](https://img.shields.io/travis/node-base/base-runtimes.svg)](https://travis-ci.org/node-base/base-runtimes)

@@ -12,3 +12,3 @@ > Plugin for adding composer-runtimes to base applications, complementing the base-tasks and base-generators plugins.

```sh
$ npm i base-runtimes --save
$ npm install base-runtimes --save
```

@@ -52,5 +52,23 @@

* [base-pipeline](https://www.npmjs.com/package/base-pipeline): base-methods plugin that adds pipeline and plugin methods for dynamically composing streaming plugin pipelines. | [homepage](https://github.com/jonschlinkert/base-pipeline)
* [base-plugins](https://www.npmjs.com/package/base-plugins): Upgrade's plugin support in base-methods to allow plugins to be called any time after init. | [homepage](https://github.com/jonschlinkert/base-plugins)
* [base-plugins](https://www.npmjs.com/package/base-plugins): Upgrade's plugin support in base applications to allow plugins to be called any time after… [more](https://www.npmjs.com/package/base-plugins) | [homepage](https://github.com/jonschlinkert/base-plugins)
* [base-task](https://www.npmjs.com/package/base-task): base plugin that provides a very thin wrapper around [https://github.com/doowb/composer](https://github.com/doowb/composer) for adding task methods to… [more](https://www.npmjs.com/package/base-task) | [homepage](https://github.com/node-base/base-task)
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-runtimes/issues/new).
## Building docs
Generate readme and API documentation with [verb](https://github.com/verbose/verb):
```sh
$ npm install verb && npm run docs
```
Or, if [verb](https://github.com/verbose/verb) is installed globally:
```sh
$ verb
```
## Running tests

@@ -61,9 +79,5 @@

```sh
$ npm i -d && npm test
$ npm install -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-runtimes/issues/new).
## Author

@@ -79,6 +93,6 @@

Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the [MIT license](https://github.com/jonschlinkert/base-runtimes/blob/master/LICENSE).
Released under the [MIT license](https://github.com/node-base/base-runtimes/blob/master/LICENSE).
***
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on February 11, 2016._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 17, 2016._
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