Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

melanke-watchjs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melanke-watchjs - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

package.json
{
"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();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc