config-extend
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -23,3 +23,3 @@ /** | ||
obj.setInterval ){ | ||
return false; | ||
@@ -30,3 +30,3 @@ } | ||
var has_own_constructor = has_own.call( obj, 'constructor' ); | ||
var has_is_property_of_method = has_own.call( obj.constructor.prototype, 'isPrototypeOf' ); | ||
var has_is_property_of_method = obj.constructor && has_own.call( obj.constructor.prototype, 'isPrototypeOf' ); | ||
@@ -37,3 +37,3 @@ // Not own constructor property must be Object | ||
!has_is_property_of_method ){ | ||
return false; | ||
@@ -85,3 +85,3 @@ } | ||
if( deep && copy && ( is_plain_obj( copy ) || ( copy_is_array = Array.isArray( copy )))){ | ||
if( copy_is_array ){ | ||
if( copy_is_array ){ | ||
//copy_is_array = false; | ||
@@ -88,0 +88,0 @@ clone = src && Array.isArray( src ) ? src : []; |
{ | ||
"name": "config-extend", | ||
"description": "Modified version of extend for config files", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "James Hight" |
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
22115