Comparing version 1.4.1 to 1.4.2
@@ -371,4 +371,4 @@ /** | ||
for(let key of keys) { | ||
let subValue = (typeof value === 'object') ? value[key] : undefined; | ||
let subOldValue = (typeof oldValue === 'object') ? oldValue[key] : undefined; | ||
let subValue = (typeof value === 'object' && value !== null) ? value[key] : undefined; | ||
let subOldValue = (typeof oldValue === 'object' && oldValue !== null) ? oldValue[key] : undefined; | ||
if(subValue !== subOldValue) { //if not both undefined or same primitive or the same object | ||
@@ -375,0 +375,0 @@ //TODO - both will never be the same object because 'oldValue' is the target object while 'value' is the proxy, |
{ | ||
"name": "proxserve", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Proxy Observe on objects and properties changes", | ||
@@ -5,0 +5,0 @@ "license": "Apache 2.0", |
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
84483