@verdaccio/file-locking
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -14,3 +14,3 @@ 'use strict'; | ||
var _lockfile2 = _interopRequireDefault(_lockfile); | ||
var locker = _interopRequireWildcard(_lockfile); | ||
@@ -78,3 +78,3 @@ var _fs = require('fs'); | ||
var lockFileName = `${name}.lock`; | ||
_lockfile2.default.lock(lockFileName, lockOpts, function () { | ||
locker.lock(lockFileName, lockOpts, function () { | ||
resolve(); | ||
@@ -101,3 +101,3 @@ }); | ||
var lockFileName = `${name}.lock`; | ||
_lockfile2.default.unlock(lockFileName, function () { | ||
locker.unlock(lockFileName, function () { | ||
return next(null); | ||
@@ -104,0 +104,0 @@ }); |
{ | ||
"name": "@verdaccio/file-locking", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "library that handle file locking", | ||
@@ -11,15 +11,16 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@verdaccio/types": "0.0.4", | ||
"@verdaccio/types": "0.0.5", | ||
"babel-cli": "6.24.1", | ||
"babel-core": "6.25.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-plugin-flow-runtime": "0.11.1", | ||
"babel-plugin-istanbul": "4.1.4", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "1.6.0", | ||
"babel-plugin-flow-runtime": "0.11.1", | ||
"babel-preset-flow": "6.23.0", | ||
"babel-require": "1.0.1", | ||
"cross-env": "5.0.1", | ||
"eslint": "4.1.1", | ||
"eslint": "4.4.1", | ||
"eslint-config-google": "0.9.1", | ||
"eslint-plugin-flowtype": "2.35.0", | ||
"eslint-config-google": "0.9.1", | ||
"flow-bin": "0.52.0", | ||
@@ -35,3 +36,3 @@ "flow-runtime": "0.13.0", | ||
"lockfile": "1.0.3", | ||
"lodash": "4.17.4" | ||
"lodash": "4.17.10" | ||
}, | ||
@@ -57,3 +58,3 @@ "nyc": { | ||
"flow": "flow", | ||
"test": "npm run lint && mocha --require babel-polyfill --compilers js:babel-core/register ./test/**/*.spec.js", | ||
"test": "npm run flow && npm run lint && mocha --require babel-polyfill --compilers js:babel-core/register ./test/**/*.spec.js", | ||
"lint": "eslint .", | ||
@@ -60,0 +61,0 @@ "build": "babel src/ --out-dir lib/ --copy-files", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
69222
12
656
0
18
+ Addedlodash@4.17.10(transitive)
- Removedlodash@4.17.4(transitive)
Updatedlodash@4.17.10