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

@verdaccio/file-locking

Package Overview
Dependencies
Maintainers
4
Versions
55
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 12.0.0-next.1 to 13.0.0-next-8.0

5

build/legacy/readFile.js

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

var _lockfile = require("./lockfile");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/* eslint-disable no-undef */

@@ -21,3 +21,4 @@

* @param {*} callback
*/ // eslint-disable-next-line @typescript-eslint/no-empty-function
*/
// eslint-disable-next-line @typescript-eslint/no-empty-function
function readFile(name, options = {}, callback = () => {}) {

@@ -24,0 +25,0 @@ if (typeof options === 'function') {

2

build/legacy/unclock.js

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

var _lockfile = _interopRequireDefault(require("lockfile"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
// unlocks file by removing existing lock file

@@ -11,0 +11,0 @@ function unlockFile(name, next) {

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

var _path = _interopRequireDefault(require("path"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const statDir = name => {

@@ -13,0 +13,0 @@ return new Promise((resolve, reject) => {

@@ -15,6 +15,5 @@ "use strict";

var _util = require("util");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const fsP = _fs.default.promises ? _fs.default.promises : require('fs/promises');
const readFile = fsP.readFile;
exports.readFile = readFile;
const readFile = exports.readFile = fsP.readFile;
const statPromise = fsP.stat;

@@ -21,0 +20,0 @@ // https://github.com/npm/lockfile/issues/33

{
"name": "@verdaccio/file-locking",
"version": "12.0.0-next.1",
"version": "13.0.0-next-8.0",
"description": "library that handle file locking",

@@ -42,3 +42,3 @@ "keywords": [

"devDependencies": {
"@verdaccio/types": "12.0.0-next.1"
"@verdaccio/types": "13.0.0-next-8.0"
},

@@ -45,0 +45,0 @@ "funding": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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