rwlockfile
Advanced tools
Comparing version 1.4.7 to 1.4.8
@@ -243,3 +243,2 @@ const fs = require('fs-extra'); | ||
let active = await pidActive(parseInt(pid)); | ||
debug(`hasWriter(${p}): ${active ? 'yes' : 'no'}`); | ||
return active; | ||
@@ -253,3 +252,2 @@ } | ||
let readers = await getActiveReaders(p, timeout, skipOwnPid); | ||
debug(`hasReaders ${p}: ${readers.length}`); | ||
return readers.length !== 0; | ||
@@ -256,0 +254,0 @@ } |
{ | ||
"name": "rwlockfile", | ||
"description": "lockfile utility with reader/writers", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/dickeyxxx/rwlockfile/issues", |
Sorry, the diff of this file is not supported yet
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
18971
233