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

sane

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sane - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

src/node_watcher.js~

2

package.json
{
"name": "sane",
"version": "1.0.1",
"version": "1.0.2",
"description": "Sane aims to be fast, small, and reliable file system watcher.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -213,3 +213,3 @@ 'use strict';

Object.keys(this.dirRegistery[dir]).forEach(function(file, i, arr) {
fs.stat(path.join(dir, file), function(error, stat) {
fs.lstat(path.join(dir, file), function(error, stat) {
if (found) {

@@ -273,3 +273,3 @@ return;

var relativePath = path.join(path.relative(this.root, dir), file);
fs.stat(fullPath, function(error, stat) {
fs.lstat(fullPath, function(error, stat) {
if (error && error.code !== 'ENOENT') {

@@ -276,0 +276,0 @@ this.emit('error', error);

@@ -133,3 +133,3 @@ 'use strict';

} else {
fs.stat(absPath, function(error, stat) {
fs.lstat(absPath, function(error, stat) {
if (handleError(self, error)) {

@@ -136,0 +136,0 @@ return;

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