Comparing version 1.7.0 to 1.7.5
@@ -61,3 +61,3 @@ 'use strict' | ||
var obj = { } | ||
if( !Array.isArray( arguments[1] ) ) | ||
if ( !Array.isArray( arguments[1] ) ) | ||
properties = Array.prototype.slice.call( arguments, 1, arguments.length ) | ||
@@ -75,3 +75,4 @@ properties.forEach( function ( property ) { | ||
args.forEach(function ( element ) { | ||
self.copyObject( element, Object.keys(element), obj ) | ||
if ( element ) | ||
self.copyObject( element, Object.keys(element), obj ) | ||
}) | ||
@@ -78,0 +79,0 @@ return obj |
{ | ||
"name": "assign.js", | ||
"version": "1.7.0", | ||
"version": "1.7.5", | ||
"description": "Tiny libary to assign objects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
10319
261