Socket
Socket
Sign inDemoInstall

ifnode

Package Overview
Dependencies
44
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

12

core/application/components.js

@@ -35,3 +35,13 @@ 'use strict';

} catch(error) {
Log.warning('components', 'Cannot load component [' + autoformed_config.name + '] by path [' + component_path + ']');
/**
* Errors inside component will not catch by this handle
*/
if(error.message.indexOf(component_path) === -1) {
throw error;
} else {
Log.warning(
'components',
'Cannot load component [' + autoformed_config.name + '] by path [' + component_path + ']'
);
}
}

@@ -38,0 +48,0 @@ });

6

core/extensions/log.js

@@ -16,3 +16,5 @@ 'use strict';

function Log(args) {
this.log('common', this.form.apply(this, arguments));
var callee = Log;
callee.log.apply(callee, ['common'].concat(toArray(arguments)));
}

@@ -42,3 +44,3 @@

return sprintf.apply(null, args);
return sprintf.apply(sprintf, args);
};

@@ -45,0 +47,0 @@

{
"name": "ifnode",
"version": "1.4.0",
"version": "1.4.1",
"description": "Node.js MVC Framework",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc