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

watch

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watch - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

2

main.js

@@ -58,3 +58,3 @@ // Copyright 2010-2011 Mikeal Rogers

// Check if anything actually changed in stat
if (files[f] && !files[f].isDirectory() && c.nlink !== 0 && files[f].mtime == c.mtime) return;
if (files[f] && !files[f].isDirectory() && c.nlink !== 0 && files[f].mtime.getTime() == c.mtime.getTime()) return;
files[f] = c;

@@ -61,0 +61,0 @@ if (!files[f].isDirectory()) callback(f, c, p);

{ "name" : "watch"
, "description" : "Utilities for watching file trees."
, "tags" : ["util", "utility", "fs", "files"]
, "version" : "0.3.3"
, "version" : "0.4.0"
, "homepage": "https://github.com/mikeal/watch"

@@ -6,0 +6,0 @@ , "bugs":

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