Socket
Socket
Sign inDemoInstall

fs.notify

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

3

CHANGELOG.md

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

## 0.0.4
- Add full path argument to those passed to notification callback.
## 0.0.3

@@ -2,0 +5,0 @@ - Compare time based on their numeric value, a regular compare.

2

notify.js

@@ -236,3 +236,3 @@ "use strict";

this.emit('change', filename, event);
this.emit('change', filename, event, FSWatcher.path);
this.reset(FSWatcher.path);

@@ -239,0 +239,0 @@

@@ -25,3 +25,3 @@ {

},
"version": "0.0.3"
"version": "0.0.4"
}

@@ -26,4 +26,4 @@ # fs.notify

var notifications = new Notify(files);
notifications.on('change', function (file) {
console.log('file changed');
notifications.on('change', function (file, event, path) {
console.log('caught a ' + event + ' event on ' + path);
});

@@ -30,0 +30,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc