Comparing version 0.2.0 to 0.2.1
@@ -19,6 +19,2 @@ 'use strict'; | ||
if (Array.isArray(value)) { | ||
return omitDeep(value, props); | ||
} | ||
if (!isObject(value)) { | ||
@@ -29,3 +25,3 @@ return value; | ||
var o = {}; | ||
forOwn(value, function (val, key) { | ||
forOwn(value, function(val, key) { | ||
o[key] = omitDeep(val, props); | ||
@@ -32,0 +28,0 @@ }); |
{ | ||
"name": "omit-deep", | ||
"description": "Recursively omit the specified key or keys from an object.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/jonschlinkert/omit-deep", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
4970
23