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

simple-watcher

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-watcher - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

index.js

@@ -44,3 +44,3 @@ 'use strict'

let watchFolderFallback = (parent, callback) => {
let watchFolderFallback = (parent, tolerance, callback) => {
// This code is synchronous to be able to tell when it actually finishes.

@@ -53,3 +53,3 @@ try {

watchFolder(parent, false, callback)
watchFolder(parent, false, tolerance, callback)

@@ -59,3 +59,3 @@ // Iterate over list of children.

child = path.resolve(parent, child)
watchFolderFallback(child, callback)
watchFolderFallback(child, tolerance, callback)
})

@@ -82,3 +82,3 @@ } catch (err) {

let cache = {}
watchFolderFallback(workingDir, (localPath) => {
watchFolderFallback(workingDir, tolerance, (localPath) => {
fs.stat(localPath, (err, stat) => {

@@ -85,0 +85,0 @@ // Delete cache entry.

{
"name": "simple-watcher",
"version": "1.0.4",
"version": "1.0.5",
"description": "\"A simple recursive directory watcher.\"",

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

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