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

rwlockfile

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rwlockfile - npm Package Compare versions

Comparing version 1.4.8 to 1.4.9

2

lib/rwlockfile.js

@@ -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

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