Socket
Socket
Sign inDemoInstall

@verdaccio/file-locking

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/file-locking - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

lib/__tests__/assets/package.json

6

lib/index.js

@@ -11,2 +11,3 @@ "use strict";

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _unclock[key]) return;
Object.defineProperty(exports, key, {

@@ -24,2 +25,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _readFile[key]) return;
Object.defineProperty(exports, key, {

@@ -37,2 +39,3 @@ enumerable: true,

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _lockfile[key]) return;
Object.defineProperty(exports, key, {

@@ -44,2 +47,3 @@ enumerable: true,

});
});
});
//# sourceMappingURL=index.js.map

3

lib/lockfile.js

@@ -29,2 +29,3 @@ "use strict";

exports.lockFile = lockFile;
exports.lockFile = lockFile;
//# sourceMappingURL=lockfile.js.map

@@ -77,2 +77,3 @@ "use strict";

Promise.resolve().then(() => lock(options)).then(() => read()).then(content => parseJSON(content)).then(result => callback(null, result), err => callback(err));
}
}
//# sourceMappingURL=readFile.js.map

@@ -19,2 +19,3 @@ "use strict";

});
}
}
//# sourceMappingURL=unclock.js.map

@@ -6,3 +6,3 @@ "use strict";

});
exports.lockfile = exports.statfile = exports.statDir = void 0;
exports.statfile = exports.statDir = exports.lockfile = void 0;

@@ -75,2 +75,3 @@ var _fs = _interopRequireDefault(require("fs"));

exports.lockfile = lockfile;
exports.lockfile = lockfile;
//# sourceMappingURL=utils.js.map
{
"name": "@verdaccio/file-locking",
"version": "10.0.0",
"version": "10.0.1",
"description": "library that handle file locking",

@@ -36,17 +36,4 @@ "keywords": [

"devDependencies": {
"@verdaccio/babel-preset": "^10.0.0",
"@verdaccio/eslint-config": "^10.0.0",
"@verdaccio/types": "^10.0.0"
"@verdaccio/types": "10.0.1"
},
"scripts": {
"build": "npm run build:types && npm run build:js",
"build:js": "babel src/ --out-dir lib/ --ignore **/__tests__ --extensions \".ts,.tsx\"",
"build:types": "tsc --emitDeclarationOnly",
"coverage:publish": "codecov --root=../../ -F core",
"lint": "eslint \"**/*.{js,ts}\"",
"lint:stage": "lint-staged",
"test": "jest",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"funding": {

@@ -56,3 +43,11 @@ "type": "opencollective",

},
"gitHead": "e33b0509f6dcb10c9b893fdcd3846ca69eca0bd9"
}
"scripts": {
"clean": "rimraf ./build",
"test": "cross-env NODE_ENV=test BABEL_ENV=test jest",
"type-check": "tsc --noEmit -p tsconfig.build.json",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
"build:js": "babel src/ --out-dir lib/ --copy-files --extensions \".ts,.tsx\" --source-maps",
"watch": "pnpm build:js -- --watch",
"build": "pnpm run build:js && pnpm run build:types"
}
}
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