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

chokidar

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chokidar - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# Chokidar 0.5.3 (January 13, 2012)
* Removed emitting of `change` events before `unlink`.
# Chokidar 0.5.2 (January 13, 2012)

@@ -2,0 +5,0 @@ * Removed postinstall script to prevent various npm bugs.

6

lib/index.js

@@ -152,3 +152,3 @@ // Generated by CoffeeScript 1.4.0

return fs.watchFile(item, options, function(curr, prev) {
if (curr.mtime.getTime() !== prev.mtime.getTime()) {
if (curr.mtime.getTime() > prev.mtime.getTime()) {
return callback(item);

@@ -187,3 +187,3 @@ }

previous.filter(function(file) {
return current.indexOf(file) < 0;
return current.indexOf(file) === -1;
}).forEach(function(file) {

@@ -193,3 +193,3 @@ return _this._remove(directory, file);

return current.filter(function(file) {
return previous.indexOf(file) < 0;
return previous.indexOf(file) === -1;
}).forEach(function(file) {

@@ -196,0 +196,0 @@ return _this._handle(sysPath.join(directory, file), previous.length === 0);

{
"name": "chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.",
"version": "0.5.2",
"version": "0.5.3",
"keywords": [

@@ -6,0 +6,0 @@ "fs",

@@ -47,3 +47,2 @@ var exec = require('child_process').exec;

case 'postpublish':
console.log(sysPath.resolve(__dirname));
togglePostinstall(true);

@@ -50,0 +49,0 @@ break;

Sorry, the diff of this file is not supported yet

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