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.0 to 0.5.1

test/fixtures/subdir/add.txt

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# Chokidar 0.5.1 (January 6, 2012)
* When starting to watch non-existing paths, chokidar will no longer throw
ENOENT error.
* Fixed bug with absolute path.
# Chokidar 0.5.0 (December 9, 2012)

@@ -2,0 +7,0 @@ * Added a bunch of new options:

5

lib/index.js

@@ -210,6 +210,9 @@ // Generated by CoffeeScript 1.4.0

return fs.realpath(item, function(error, path) {
if (error && error.code === 'ENOENT') {
return;
}
if (error != null) {
return _this.emit('error', error);
}
return fs.stat(item, function(error, stats) {
return fs.stat(path, function(error, stats) {
if (error != null) {

@@ -216,0 +219,0 @@ return _this.emit('error', error);

2

package.json
{
"name": "chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.",
"version": "0.5.0",
"version": "0.5.1",
"keywords": ["fs", "watch", "watchFile", "watcher", "file"],

@@ -6,0 +6,0 @@ "homepage": "https://github.com/paulmillr/chokidar",

Sorry, the diff of this file is not supported yet

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