deep-exists
Advanced tools
Comparing version 1.0.0 to 1.0.1
module.exports = function (obj, sub) { | ||
if (sub) { | ||
sub = sub.split('.') | ||
} | ||
if (sub) sub = sub.split('.') | ||
@@ -12,3 +10,3 @@ if (obj === null || obj === undefined) return false | ||
var prop | ||
for (var i = 0;i < sub.length;i++) { | ||
for (var i = 0; i < sub.length; i++) { | ||
prop = sub[i] | ||
@@ -15,0 +13,0 @@ if (current[prop] === null || current[prop] === undefined) return false |
{ | ||
"name": "deep-exists", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "deep checking for existence", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
2872
5
1
25
13