melanke-watchjs
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "melanke-watchjs", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "A utility for watching object changes.", | ||
@@ -5,0 +5,0 @@ "main": "src/watch.js", |
@@ -489,3 +489,3 @@ /** | ||
//if (JSON.stringify(oldval) !== JSON.stringify(newval)) { | ||
if (obj[prop] instanceof Date) { | ||
if (obj[prop] instanceof Date && oldval && newval) { | ||
oldval = oldval.valueOf(); | ||
@@ -492,0 +492,0 @@ newval = newval.valueOf(); |
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
249224