Socket
Socket
Sign inDemoInstall

proper-lockfile

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proper-lockfile - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

index.js

@@ -104,5 +104,5 @@ 'use strict';

// Verify if we are within the stale threshold
if (lock.lastUpdate <= Date.now() - options.stale
&& lock.lastUpdate > Date.now() - options.stale * 2) {
return compromisedLock(file, lock,
if (lock.lastUpdate <= Date.now() - options.stale &&
lock.lastUpdate > Date.now() - options.stale * 2) {
return compromisedLock(file, lock,
errcode(lock.updateError || 'Unable to update lock within the stale threshold', 'ECOMPROMISED'));

@@ -109,0 +109,0 @@ }

{
"name": "proper-lockfile",
"version": "1.0.2",
"version": "1.1.0",
"description": "A inter-process and inter-machine lockfile utility that works on a local or network file system.",

@@ -32,19 +32,16 @@ "main": "index.js",

"dependencies": {
"err-code": "^0.1.0",
"extend": "^1.3.0",
"graceful-fs": "^3.0.2",
"retry": "^0.6.1"
"err-code": "^1.0.0",
"extend": "^3.0.0",
"graceful-fs": "^4.1.2",
"retry": "^0.8.0"
},
"devDependencies": {
"async": "^0.9.0",
"buffered-spawn": "^1.1.0",
"async": "^1.5.1",
"buffered-spawn": "^2.0.2",
"expect.js": "^0.3.1",
"istanbul": "^0.3.0",
"mocha": "^2.2.4",
"rimraf": "^2.2.8",
"istanbul": "^0.4.1",
"mocha": "^2.3.4",
"rimraf": "^2.5.0",
"stable": "^0.1.5"
},
"engines": {
"node": ">=0.10.0"
}
}

@@ -1,3 +0,17 @@

# proper-lockfile [![Build Status](https://travis-ci.org/IndigoUnited/node-proper-lockfile.svg?branch=master)](https://travis-ci.org/IndigoUnited/node-proper-lockfile) [![Coverage Status](https://coveralls.io/repos/IndigoUnited/node-proper-lockfile/badge.png?branch=master)](https://coveralls.io/r/IndigoUnited/node-proper-lockfile?branch=master)
# proper-lockfile
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency status][david-dm-image]][david-dm-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]
[npm-url]:https://npmjs.org/package/proper-lockfile
[downloads-image]:http://img.shields.io/npm/dm/proper-lockfile.svg
[npm-image]:http://img.shields.io/npm/v/proper-lockfile.svg
[travis-url]:https://travis-ci.org/IndigoUnited/node-proper-lockfile
[travis-image]:http://img.shields.io/travis/IndigoUnited/node-proper-lockfile.svg
[coveralls-url]:https://coveralls.io/r/IndigoUnited/node-proper-lockfile
[coveralls-image]:https://img.shields.io/coveralls/IndigoUnited/node-proper-lockfile.svg
[david-dm-url]:https://david-dm.org/IndigoUnited/node-proper-lockfile
[david-dm-image]:https://img.shields.io/david/IndigoUnited/node-proper-lockfile.svg
[david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-proper-lockfile#info=devDependencies
[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-proper-lockfile.svg
A inter-process and inter-machine lockfile utility that works on a local or network file system.

@@ -4,0 +18,0 @@

Sorry, the diff of this file is not supported yet

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