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.4 to 0.1.5

8

lib/main.js

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

this.handleWatcher = null;
for (var i = 0; i < handleWatchers.length; ++i)
for (var i in handleWatchers)
if (handleWatchers[i].path == path) {

@@ -99,3 +99,3 @@ this.handleWatcher = handleWatchers[i];

exports.closeAllWatchers = function() {
for (var i = 0; i < handleWatchers.length; ++i)
for (var i in handleWatchers)
handleWatchers[i].close();

@@ -108,6 +108,6 @@

var paths = [];
for (var i = 0; i < handleWatchers.length; ++i)
paths.push(handleWatchers.path);
for (var i in handleWatchers)
paths.push(handleWatchers[i].path);
return paths;
}

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

"description": "watch events of a file",
"version": "0.1.4",
"version": "0.1.5",
"repository": {

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

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