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

pathwatcher

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pathwatcher - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

lib/main.js

@@ -35,6 +35,6 @@ var binding = require('../build/Release/pathwatcher.node');

self.start();
self.trigger('rename', path);
self.emit('change', 'rename', path);
} else { // atomic write.
self.start();
self.trigger('change', path);
self.emit('change', 'change', null);
}

@@ -41,0 +41,0 @@ });

@@ -6,3 +6,3 @@ {

"description": "watch events of a file",
"version": "0.1.1",
"version": "0.1.2",
"repository": {

@@ -9,0 +9,0 @@ "type": "git",

@@ -7,6 +7,2 @@ watcher = require('./lib/main.js');

r.on('close', function() {
console.log('close');
});
require('fs').writeFileSync('/tmp/test.txt', '1');
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