Socket
Socket
Sign inDemoInstall

base

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

3

index.js

@@ -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.

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