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.1.0 to 1.1.1

2

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

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

@@ -186,3 +186,4 @@ 'use strict';

if (!common.isFileIncluded(this.globs, this.dot, changeDescriptor.name)) {
var relativePath = path.relative(this.root, absPath);
if (!common.isFileIncluded(this.globs, this.dot, relativePath)) {
return;

@@ -192,3 +193,3 @@ }

if (!changeDescriptor.exists) {
self.emitEvent(DELETE_EVENT, changeDescriptor.name, self.root);
self.emitEvent(DELETE_EVENT, relativePath, self.root);
} else {

@@ -204,3 +205,3 @@ fs.lstat(absPath, function(error, stat) {

if (!(eventType === CHANGE_EVENT && stat.isDirectory())) {
self.emitEvent(eventType, changeDescriptor.name, self.root, stat);
self.emitEvent(eventType, relativePath, self.root, stat);
}

@@ -207,0 +208,0 @@ });

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