New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mvcjs

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvcjs - npm Package Compare versions

Comparing version 0.1.0-beta-43 to 0.1.0-beta-44

22

framework/bootstrap.js

@@ -131,2 +131,12 @@ "use strict";

}
// load config
if (Type.isString(env.config)) {
try {
di.load(envPath + '/' + env.config)(component, di, this);
} catch (e) {
throw new error.Exception('Initialize config: ' + envPath + '/' + env.config, e);
}
} else {
throw new error.DataError(env.config, 'Config file is not defined');
}
// if there is no logger init logger

@@ -138,3 +148,2 @@ if (!component.has('core/logger')) {

}
// add memory cache

@@ -152,3 +161,2 @@ if (!component.has('cache/memory')) {

}
// set view component

@@ -158,12 +166,2 @@ if (!component.has('core/view')) {

}
// load config
if (Type.isString(env.config)) {
try {
di.load(envPath + '/' + env.config)(component, di, this);
} catch (e) {
throw new error.Exception('Initialize config: ' + envPath + '/' + env.config, e);
}
} else {
throw new error.DataError(env.config, 'Config file is not defined');
}
// http

@@ -170,0 +168,0 @@ if (!component.has('core/http')) {

@@ -5,3 +5,3 @@ {

"description": "Powerful lightweight mvc framework for nodejs",
"version": "0.1.0-beta-43",
"version": "0.1.0-beta-44",
"dependencies" : {

@@ -8,0 +8,0 @@ "mongoose": "3.8.x",

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