Comparing version 1.1.1 to 1.1.2
@@ -98,4 +98,5 @@ 'use strict'; | ||
name = cut_start_slash(path_without_extension), | ||
config = {}, | ||
config = {}; | ||
controller; | ||
@@ -113,3 +114,7 @@ if(name !== '') { | ||
self._controllers[autoformed_controller_config.name]._compile(); | ||
controller = self._controllers[autoformed_controller_config.name]; | ||
if(controller) { | ||
controller._compile(); | ||
} | ||
}); | ||
@@ -116,0 +121,0 @@ } |
@@ -195,6 +195,6 @@ 'use strict'; | ||
initialize_additional_site_config(default_config); | ||
return helper.deep_freeze(default_config); | ||
return default_config; | ||
} | ||
config = require(options.config_path); | ||
config = _.cloneDeep(require(options.config_path)); | ||
@@ -208,3 +208,3 @@ initialize_properties_config(config, default_config, options.project_folder); | ||
return helper.deep_freeze(config); | ||
return config; | ||
}; | ||
@@ -211,0 +211,0 @@ |
@@ -104,3 +104,7 @@ 'use strict'; | ||
callback(request, response, next_handler, next_route); | ||
try { | ||
callback(request, response, next_handler, next_route); | ||
} catch(err) { | ||
next_route(err); | ||
} | ||
}); | ||
@@ -107,0 +111,0 @@ }); |
{ | ||
"name": "ifnode", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Node.js MVC Framework", | ||
@@ -20,16 +20,15 @@ "main": "index.js", | ||
"dependencies": { | ||
"express": "4.x.x", | ||
"sprintf": "0.x.x", | ||
"diread": "latest", | ||
"async": "0.x.x", | ||
"lodash": "3.x.x", | ||
"node-uuid": "1.x.x", | ||
"debug": "latest" | ||
"express": "4.13.3", | ||
"sprintf": "0.1.5", | ||
"diread": "0.0.3", | ||
"async": "0.9.0", | ||
"lodash": "3.7.0", | ||
"node-uuid": "1.4.3", | ||
"debug": "2.2.0" | ||
}, | ||
"devDependencies": { | ||
"supertest": "1.x.x", | ||
"mocha": "2.x.x", | ||
"should": "6.x.x" | ||
"supertest": "1.1.x", | ||
"mocha": "2.2.x", | ||
"should": "6.0.x" | ||
} | ||
} |
@@ -9,3 +9,3 @@ 'use strict'; | ||
key = keys[i]; | ||
this[key] = keys[key]; | ||
this[key] = config[key]; | ||
} | ||
@@ -12,0 +12,0 @@ }; |
@@ -27,3 +27,3 @@ ____ _________ | ||
## Docs | ||
## Documentation | ||
@@ -30,0 +30,0 @@ Now can read wiki [documentation](https://github.com/ilfroloff/ifnode/wiki/docs). Also can check [examples](https://github.com/ifnode/examples). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
62
2091
135198
+ Addedaccepts@1.2.13(transitive)
+ Addedasync@0.9.0(transitive)
+ Addedcontent-disposition@0.5.0(transitive)
+ Addedcookie@0.1.3(transitive)
+ Addeddebug@2.2.0(transitive)
+ Addeddepd@1.0.11.1.2(transitive)
+ Addeddestroy@1.0.31.0.4(transitive)
+ Addeddiread@0.0.3(transitive)
+ Addedescape-html@1.0.2(transitive)
+ Addedetag@1.7.0(transitive)
+ Addedexpress@4.13.3(transitive)
+ Addedfinalhandler@0.4.0(transitive)
+ Addedforwarded@0.1.2(transitive)
+ Addedfresh@0.3.0(transitive)
+ Addedhttp-errors@1.3.1(transitive)
+ Addedipaddr.js@1.0.5(transitive)
+ Addedlodash@3.7.0(transitive)
+ Addedmerge-descriptors@1.0.0(transitive)
+ Addedmime@1.3.4(transitive)
+ Addedms@0.7.1(transitive)
+ Addednegotiator@0.5.3(transitive)
+ Addednode-uuid@1.4.3(transitive)
+ Addedon-finished@2.3.0(transitive)
+ Addedpath-to-regexp@0.1.7(transitive)
+ Addedproxy-addr@1.0.10(transitive)
+ Addedqs@4.0.0(transitive)
+ Addedrange-parser@1.0.3(transitive)
+ Addedsend@0.13.00.13.2(transitive)
+ Addedserve-static@1.10.3(transitive)
+ Addedstatuses@1.2.1(transitive)
+ Addedutils-merge@1.0.0(transitive)
+ Addedvary@1.0.1(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedasync@0.9.2(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcookie@0.7.1(transitive)
- Removeddebug@2.6.94.3.7(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removeddiread@0.2.0(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedetag@1.8.1(transitive)
- Removedexpress@4.21.1(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedipaddr.js@1.9.1(transitive)
- Removedlodash@3.10.1(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmime@1.6.0(transitive)
- Removedms@2.0.02.1.3(transitive)
- Removednegotiator@0.6.3(transitive)
- Removednode-uuid@1.4.8(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedpath-to-regexp@0.1.10(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedqs@6.13.0(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removedvary@1.1.2(transitive)
Updatedasync@0.9.0
Updateddebug@2.2.0
Updateddiread@0.0.3
Updatedexpress@4.13.3
Updatedlodash@3.7.0
Updatednode-uuid@1.4.3
Updatedsprintf@0.1.5