clever-orm
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -95,12 +95,11 @@ 'use strict'; | ||
Object.keys( conf ).forEach( function ( key ) { | ||
if (typeof conf[ key ] === "object" && conf[ key ] !== null) { | ||
obj[ 'clever-orm' ][ key ] = obj[ 'clever-orm' ][ key ] || {}; | ||
obj[ 'clever-orm' ].db[ key ] = obj[ 'clever-orm' ].db[ key ] || {}; | ||
Object.keys( conf[ key ], function ( subKey ) { | ||
obj[ 'clever-orm' ][ key ][ subKey ] = conf[ key ][ subKey ]; | ||
obj[ 'clever-orm' ].db[ key ][ subKey ] = conf[ key ][ subKey ]; | ||
} ); | ||
} else { | ||
obj[ 'clever-orm' ][ key ] = conf[ key ]; | ||
obj[ 'clever-orm' ].db[ key ] = conf[ key ]; | ||
} | ||
@@ -107,0 +106,0 @@ } ); |
{ | ||
"name": "clever-orm", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "mysql": "2.0.0-rc2", |
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
14039