Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "baobab", | ||
"main": "build/baobab.min.js", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"homepage": "https://github.com/Yomguithereal/baobab", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -12,3 +12,3 @@ /** | ||
Object.defineProperty(Baobab, 'version', { | ||
value: '0.4.1' | ||
value: '0.4.2' | ||
}); | ||
@@ -15,0 +15,0 @@ |
{ | ||
"name": "baobab", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "JavaScript data tree with cursors.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -119,5 +119,11 @@ /** | ||
// If we reached here via a recursive call, object may be undefined because | ||
// not all items in a collection will have the same deep nesting structure | ||
if (!object) { | ||
return false; | ||
} | ||
for (k in spec) { | ||
if (type.Object(spec[k])) { | ||
ok = ok && compare(object[k]); | ||
ok = ok && compare(object[k], spec[k]); | ||
} | ||
@@ -124,0 +130,0 @@ else if (type.Array(spec[k])) { |
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
61167
1426