Socket
Socket
Sign inDemoInstall

ifnode

Package Overview
Dependencies
45
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.3 to 1.6.4

coverage/coverage.json

19

core/application/ComponentsBuilder.js

@@ -61,2 +61,13 @@ 'use strict';

if(typeof component === 'function' && isInheritsFrom(component, Component)) {
var component_name = component_config.name || component.name;
var saved_component = this.components[component_name];
if (
saved_component &&
saved_component.constructor === component &&
saved_component.name === component_name
) {
return component;
}
component = new component(component_config);

@@ -126,9 +137,3 @@ }

return this.components[key] = component;
} else if (
saved_component === component ||
(
saved_component.constructor === component.constructor &&
saved_component.name === component.name
)
) {
} else if (saved_component === component) {
return saved_component;

@@ -135,0 +140,0 @@ }

{
"name": "ifnode",
"version": "1.6.3",
"version": "1.6.4",
"description": "Node.js MVC Framework",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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