rwlockfile
Advanced tools
Comparing version 1.4.8 to 1.4.9
@@ -79,3 +79,3 @@ const fs = require('fs-extra'); | ||
if (timeout <= 0) throw new Error(`${p} is locked`); | ||
debug(`locking ${p} ${timeout / 100}s...`); | ||
debug(`locking ${p} ${timeout / 1000}s...`); | ||
wait(1000).then(() => lock(p, timeout - 1000).then(resolve).catch(reject)); | ||
@@ -82,0 +82,0 @@ }).catch(reject); |
{ | ||
"name": "rwlockfile", | ||
"description": "lockfile utility with reader/writers", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -21,2 +21,3 @@ "bugs": "https://github.com/dickeyxxx/rwlockfile/issues", | ||
"jsdoc-to-markdown": "3.0.0", | ||
"rimraf": "^2.6.1", | ||
"standard": "^10.0.3", | ||
@@ -23,0 +24,0 @@ "tmp": "^0.0.33" |
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
18997
10