inherits-ex
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -1,14 +0,1 @@ | ||
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 || !(add instanceof Object)) 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'); |
var getConstructor = require('./getConstructor'); | ||
var isEmptyFunction = require('./isEmptyFunction'); | ||
var _extend = require('./_extend'); | ||
var _extend = require('xtend/mutable'); | ||
@@ -5,0 +5,0 @@ module.exports = function (aClass, aConstructor) { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/snowyu/inherits-ex.js", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": { | ||
@@ -44,2 +44,3 @@ "name": "Riceball LEE", | ||
"grunt-contrib-clean": "*", | ||
"grunt-contrib-coffee": "*", | ||
"grunt-contrib-copy": "*", | ||
@@ -64,3 +65,6 @@ "grunt-contrib-jshint": "*", | ||
"test": "grunt test" | ||
}, | ||
"dependencies": { | ||
"xtend": "^4.0.0" | ||
} | ||
} |
@@ -1,14 +0,1 @@ | ||
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 || !(add instanceof Object)) 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'); |
var getConstructor = require('./getConstructor'); | ||
var isEmptyFunction = require('./isEmptyFunction'); | ||
var _extend = require('./_extend'); | ||
var _extend = require('xtend/mutable'); | ||
@@ -5,0 +5,0 @@ module.exports = function (aClass, aConstructor) { |
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
48046
1
17
712
+ Addedxtend@^4.0.0
+ Addedxtend@4.0.2(transitive)