Comparing version 3.5.0 to 3.5.1
@@ -606,2 +606,3 @@ 'use strict'; | ||
if (stats.isDirectory()) { | ||
const absPath = sysPath.resolve(path); | ||
const targetPath = follow ? await fsrealpath(path) : path; | ||
@@ -612,4 +613,4 @@ if (this.fsw.closed) return; | ||
// preserve this symlink's target path | ||
if (path !== targetPath && targetPath !== undefined) { | ||
this.fsw._symlinkPaths.set(targetPath, true); | ||
if (absPath !== targetPath && targetPath !== undefined) { | ||
this.fsw._symlinkPaths.set(absPath, targetPath); | ||
} | ||
@@ -616,0 +617,0 @@ } else if (stats.isSymbolicLink()) { |
{ | ||
"name": "chokidar", | ||
"description": "Minimal and efficient cross-platform file watching library", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"homepage": "https://github.com/paulmillr/chokidar", | ||
@@ -6,0 +6,0 @@ "author": "Paul Miller (https://paulmillr.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89534
2092