Comparing version 0.2.4 to 0.2.5
@@ -1,16 +0,2 @@ | ||
var isObject = require('./is/type/object'); | ||
module.exports = function (origin) { | ||
for (var i=1; i < arguments.length; i++) { | ||
var add = arguments[i]; | ||
// Don't do anything if add isn't an object | ||
if (!add || !isObject(add)) continue; | ||
var keys = Object.keys(add); | ||
var j = keys.length; | ||
while (j--) { | ||
origin[keys[j]] = add[keys[j]]; | ||
} | ||
} | ||
return origin; | ||
} | ||
module.exports = require('xtend/mutable'); |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/snowyu/util-ex.js", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"author": { | ||
@@ -59,4 +59,5 @@ "name": "Riceball LEE", | ||
"dependencies": { | ||
"inherits-ex": "~1.0.5" | ||
"inherits-ex": "~1.0.6", | ||
"xtend": "^4.0.0" | ||
} | ||
} |
@@ -1,16 +0,2 @@ | ||
var isObject = require('./is/type/object'); | ||
module.exports = function (origin) { | ||
for (var i=1; i < arguments.length; i++) { | ||
var add = arguments[i]; | ||
// Don't do anything if add isn't an object | ||
if (!add || !isObject(add)) continue; | ||
var keys = Object.keys(add); | ||
var j = keys.length; | ||
while (j--) { | ||
origin[keys[j]] = add[keys[j]]; | ||
} | ||
} | ||
return origin; | ||
} | ||
module.exports = require('xtend/mutable'); |
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
68440
2
1390
+ Addedxtend@^4.0.0
Updatedinherits-ex@~1.0.6