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.6 to 1.4.7

7

lib/rwlockfile.js

@@ -1,4 +0,3 @@

const fs = require('graceful-fs');
const fs = require('fs-extra');
const path = require('path');
const rimraf = require('rimraf');
const debug = require('debug')('rwlockfile');

@@ -48,3 +47,3 @@ const mkdir = require('mkdirp');

function unlock(path) {
return new Promise(resolve => rimraf(path, resolve)).then(() => {
return new Promise(resolve => fs.remove(path, resolve)).then(() => {
delete locks[path];

@@ -60,3 +59,3 @@ });

try {
rimraf.sync(path);
fs.removeSync(path);
} catch (err) {

@@ -63,0 +62,0 @@ debug(err);

{
"name": "rwlockfile",
"description": "lockfile utility with reader/writers",
"version": "1.4.6",
"version": "1.4.7",
"author": "Jeff Dickey @dickeyxxx",
"bugs": "https://github.com/dickeyxxx/rwlockfile/issues",
"dependencies": {
"debug": "2.x",
"graceful-fs": "4.x",
"debug": "^3.0.1",
"fs-extra": "^4.0.1",
"mkdirp": "0.x",
"ps-node": "0.x",
"rimraf": "2.x"
"ps-node": "0.x"
},

@@ -18,8 +17,8 @@ "devDependencies": {

"babel-plugin-transform-flow-strip-types": "^6.22.0",
"flow-bin": "^0.49.1",
"flow-bin": "^0.54.1",
"flow-copy-source": "^1.2.0",
"jest": "20.0.4",
"jest": "^21.0.1",
"jsdoc-to-markdown": "3.0.0",
"standard": "10.0.2",
"tmp": "^0.0.31"
"standard": "^10.0.3",
"tmp": "^0.0.33"
},

@@ -26,0 +25,0 @@ "files": [

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