Socket
Socket
Sign inDemoInstall

base

Package Overview
Dependencies
32
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.1 to 0.7.2

1

index.js

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

Ctor.prototype[key] = value;
return this;
};

@@ -282,0 +283,0 @@

2

package.json
{
"name": "base",
"description": "base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.",
"version": "0.7.1",
"version": "0.7.2",
"homepage": "https://github.com/node-base/base",

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

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

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

@@ -90,3 +90,3 @@ ## Install

### [.is](index.js#L85)
### [.is](index.js#L86)

@@ -117,3 +117,3 @@ Set the given `name` on `app._name` and `app.is*` properties. Used for doing lookups in plugins.

### [.isRegistered](index.js#L122)
### [.isRegistered](index.js#L123)

@@ -152,3 +152,3 @@ Returns true if a plugin has already been registered on an instance.

### [.use](index.js#L151)
### [.use](index.js#L152)

@@ -175,3 +175,3 @@ Define a plugin function to be called immediately upon init. Plugins are chainable and the only parameter exposed to the plugin is the application instance.

### [.lazy](index.js#L176)
### [.lazy](index.js#L177)

@@ -197,3 +197,3 @@ Lazily invoke a registered plugin. **Note** that this method can only be used with:

### [.define](index.js#L208)
### [.define](index.js#L209)

@@ -221,3 +221,3 @@ Define a non-enumerable property on the instance. Dot-notation is **not supported** with `define`.

### [.mixin](index.js#L227)
### [.mixin](index.js#L228)

@@ -235,3 +235,3 @@ Mix property `key` onto the Base prototype. If base-methods

### [.use](index.js#L256)
### [.use](index.js#L257)

@@ -255,3 +255,3 @@ Static method for adding global plugin functions that will be added to an instance when created.

### [.extend](index.js#L268)
### [.extend](index.js#L269)

@@ -262,3 +262,3 @@ Static method for inheriting both the prototype and

### [.Base.mixin](index.js#L305)
### [.Base.mixin](index.js#L307)

@@ -282,3 +282,3 @@ Static method for adding mixins to the prototype. When a function is returned from the mixin plugin, it will be added to an array so it can be used on inheriting classes via `Base.mixins(Child)`.

### [.Base.mixins](index.js#L326)
### [.Base.mixins](index.js#L328)

@@ -298,3 +298,3 @@ Static method for running currently saved global mixin functions against a child constructor.

### [.inherit](index.js#L338)
### [.inherit](index.js#L340)

@@ -308,6 +308,6 @@ Similar to `util.inherit`, but copies all static properties,

```
Statements : 100% ( 83/83 )
Statements : 100% ( 85/85 )
Branches : 100% ( 22/22 )
Functions : 100% ( 19/19 )
Lines : 100% ( 82/82 )
Lines : 100% ( 84/84 )
```

@@ -319,21 +319,21 @@

* [base-argv](https://www.npmjs.com/package/base-argv): Plugin that post-processes the argv object from simplify how args are mapped to options, tasks… [more](https://www.npmjs.com/package/base-argv) | [homepage](https://github.com/jonschlinkert/base-argv)
* [base-cli](https://www.npmjs.com/package/base-cli): Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… [more](https://www.npmjs.com/package/base-cli) | [homepage](https://github.com/jonschlinkert/base-cli)
* [base-config](https://www.npmjs.com/package/base-config): base-methods plugin that adds a `config` method for mapping declarative configuration values to other 'base'… [more](https://www.npmjs.com/package/base-config) | [homepage](https://github.com/jonschlinkert/base-config)
* [base-cwd](https://www.npmjs.com/package/base-cwd): Base plugin that adds a getter/setter for the current working directory. | [homepage](https://github.com/jonschlinkert/base-cwd)
* [base-data](https://www.npmjs.com/package/base-data): adds a `data` method to base-methods. | [homepage](https://github.com/jonschlinkert/base-data)
* [base-fs](https://www.npmjs.com/package/base-fs): base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file… [more](https://www.npmjs.com/package/base-fs) | [homepage](https://github.com/jonschlinkert/base-fs)
* [base-fs-rename](https://www.npmjs.com/package/base-fs-rename): Plugin for 'base' applications that adds a `rename` method that can be passed to `app.dest()`… [more](https://www.npmjs.com/package/base-fs-rename) | [homepage](https://github.com/jonschlinkert/base-fs-rename)
* [base-generators](https://www.npmjs.com/package/base-generators): Adds project-generator support to your `base` application. | [homepage](https://github.com/jonschlinkert/base-generators)
* [base-list](https://www.npmjs.com/package/base-list): base-runner plugin that prompts the user to choose from a list of registered applications and… [more](https://www.npmjs.com/package/base-list) | [homepage](https://github.com/doowb/base-list)
* [base-option](https://www.npmjs.com/package/base-option): Adds a few options methods to base, like `option`, `enable` and `disable`. See the readme… [more](https://www.npmjs.com/package/base-option) | [homepage](https://github.com/node-base/base-option)
* [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-pkg](https://www.npmjs.com/package/base-pkg): Base plugin for adding a `pkg` object with get/set methods for getting data from package.json… [more](https://www.npmjs.com/package/base-pkg) | [homepage](https://github.com/jonschlinkert/base-pkg)
* [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-project](https://www.npmjs.com/package/base-project): Base plugin that adds a `project` getter to the instance, for getting the name of… [more](https://www.npmjs.com/package/base-project) | [homepage](https://github.com/jonschlinkert/base-project)
* [base-questions](https://www.npmjs.com/package/base-questions): Plugin for base-methods that adds methods for prompting the user and storing the answers on… [more](https://www.npmjs.com/package/base-questions) | [homepage](https://github.com/jonschlinkert/base-questions)
* [base-runner](https://www.npmjs.com/package/base-runner): Orchestrate multiple instances of base-methods at once. | [homepage](https://github.com/jonschlinkert/base-runner)
* [base-store](https://www.npmjs.com/package/base-store): Plugin for getting and persisting config values with your base-methods application. Adds a 'store' object… [more](https://www.npmjs.com/package/base-store) | [homepage](https://github.com/jonschlinkert/base-store)
* [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)
* [base-tree](https://www.npmjs.com/package/base-tree): Add a tree method to generate a hierarchical tree structure representing nested applications and child… [more](https://www.npmjs.com/package/base-tree) | [homepage](https://github.com/doowb/base-tree)
+ [base-argv](https://www.npmjs.com/package/base-argv): Plugin that post-processes the argv object from simplify how args are mapped to options, tasks… [more](https://www.npmjs.com/package/base-argv) | [homepage](https://github.com/jonschlinkert/base-argv)
+ [base-cli](https://www.npmjs.com/package/base-cli): Plugin for base-methods that maps built-in methods to CLI args (also supports methods from a… [more](https://www.npmjs.com/package/base-cli) | [homepage](https://github.com/jonschlinkert/base-cli)
+ [base-config](https://www.npmjs.com/package/base-config): base-methods plugin that adds a `config` method for mapping declarative configuration values to other 'base'… [more](https://www.npmjs.com/package/base-config) | [homepage](https://github.com/jonschlinkert/base-config)
+ [base-cwd](https://www.npmjs.com/package/base-cwd): Base plugin that adds a getter/setter for the current working directory. | [homepage](https://github.com/jonschlinkert/base-cwd)
+ [base-data](https://www.npmjs.com/package/base-data): adds a `data` method to base-methods. | [homepage](https://github.com/jonschlinkert/base-data)
+ [base-fs](https://www.npmjs.com/package/base-fs): base-methods plugin that adds vinyl-fs methods to your 'base' application for working with the file… [more](https://www.npmjs.com/package/base-fs) | [homepage](https://github.com/jonschlinkert/base-fs)
+ [base-fs-rename](https://www.npmjs.com/package/base-fs-rename): Plugin for 'base' applications that adds a `rename` method that can be passed to `app.dest()`… [more](https://www.npmjs.com/package/base-fs-rename) | [homepage](https://github.com/jonschlinkert/base-fs-rename)
+ [base-generators](https://www.npmjs.com/package/base-generators): Adds project-generator support to your `base` application. | [homepage](https://github.com/jonschlinkert/base-generators)
+ [base-list](https://www.npmjs.com/package/base-list): base-runner plugin that prompts the user to choose from a list of registered applications and… [more](https://www.npmjs.com/package/base-list) | [homepage](https://github.com/doowb/base-list)
+ [base-option](https://www.npmjs.com/package/base-option): Adds a few options methods to base, like `option`, `enable` and `disable`. See the readme… [more](https://www.npmjs.com/package/base-option) | [homepage](https://github.com/node-base/base-option)
+ [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-pkg](https://www.npmjs.com/package/base-pkg): Base plugin for adding a `pkg` object with get/set methods for getting data from package.json… [more](https://www.npmjs.com/package/base-pkg) | [homepage](https://github.com/jonschlinkert/base-pkg)
+ [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-project](https://www.npmjs.com/package/base-project): Base plugin that adds a `project` getter to the instance, for getting the name of… [more](https://www.npmjs.com/package/base-project) | [homepage](https://github.com/jonschlinkert/base-project)
+ [base-questions](https://www.npmjs.com/package/base-questions): Plugin for base-methods that adds methods for prompting the user and storing the answers on… [more](https://www.npmjs.com/package/base-questions) | [homepage](https://github.com/jonschlinkert/base-questions)
+ [base-runner](https://www.npmjs.com/package/base-runner): Orchestrate multiple instances of base-methods at once. | [homepage](https://github.com/jonschlinkert/base-runner)
+ [base-store](https://www.npmjs.com/package/base-store): Plugin for getting and persisting config values with your base-methods application. Adds a 'store' object… [more](https://www.npmjs.com/package/base-store) | [homepage](https://github.com/jonschlinkert/base-store)
+ [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)
+ [base-tree](https://www.npmjs.com/package/base-tree): Add a tree method to generate a hierarchical tree structure representing nested applications and child… [more](https://www.npmjs.com/package/base-tree) | [homepage](https://github.com/doowb/base-tree)

@@ -362,6 +362,7 @@ ## Running tests

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