underscore.deep
Advanced tools
Comparing version 0.0.5 to 0.1.0
{ | ||
"name": "underscore.deep", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"description": "Underscore mixins for deeply nested objects", | ||
@@ -5,0 +5,0 @@ "main": "underscore.deep.js", |
@@ -15,3 +15,3 @@ // Generated by CoffeeScript 1.6.3 | ||
val = obj[key]; | ||
if (_.isObject(val) && !_.isArray(val)) { | ||
if (_.isObject(val) && !_.isArray(val) && !_.isEmpty(val)) { | ||
keys = _.union(keys, deepKeys(val, "" + prefix + key + ".")); | ||
@@ -18,0 +18,0 @@ } else { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20566
1