underscore.deep
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "underscore.deep", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Underscore mixins for deeply nested objects", | ||
@@ -5,0 +5,0 @@ "main": "underscore.deep.js", |
@@ -47,3 +47,3 @@ // Generated by CoffeeScript 1.6.3 | ||
} | ||
return _.mapValues(object, deepClone); | ||
return mapValues(object, deepClone); | ||
}, | ||
@@ -128,4 +128,4 @@ deepHas: function(obj, keys) { | ||
deepMapValues: deepMapValues = function(obj, f) { | ||
if (_.isPlainObject(obj)) { | ||
return _.mapValues(obj, function(v) { | ||
if (isPlainObject(obj)) { | ||
return mapValues(obj, function(v) { | ||
return deepMapValues(v, f); | ||
@@ -132,0 +132,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
18306