Comparing version 2.0.0 to 2.0.1
@@ -154,3 +154,4 @@ 'use strict'; | ||
if (typeof name === 'string' && this.isRegistered(name)) { | ||
const key = name || fns.name; | ||
if (key && typeof key === 'string' && this.isRegistered(key)) { | ||
return this; | ||
@@ -157,0 +158,0 @@ } |
{ | ||
"name": "base", | ||
"description": "Framework for rapidly creating high quality, server-side node.js applications, using plugins like building blocks", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "https://github.com/node-base/base", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -276,3 +276,3 @@ <p align="center"> | ||
### [.define](index.js#L177) | ||
### [.define](index.js#L178) | ||
@@ -294,3 +294,3 @@ The `.define` method is used for adding non-enumerable property on the instance. Dot-notation is **not supported** with `define`. | ||
### [.base](index.js#L219) | ||
### [.base](index.js#L220) | ||
@@ -326,3 +326,3 @@ Getter/setter used when creating nested instances of `Base`, for storing a reference to the first ancestor instance. This works by setting an instance of `Base` on the `parent` property of a "child" instance. The `base` property defaults to the current instance if no `parent` property is defined. | ||
### [Base.use](index.js#L241) | ||
### [Base.use](index.js#L242) | ||
@@ -329,0 +329,0 @@ Static method for adding global plugin functions that will be added to an instance when created. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30286
240