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

@verdaccio/local-storage

Package Overview
Dependencies
Maintainers
4
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/local-storage - npm Package Compare versions

Comparing version 10.1.1 to 10.2.0

13

lib/local-database.js

@@ -34,4 +34,2 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
const DEPRECATED_DB_NAME = '.sinopia-db.json';

@@ -44,13 +42,2 @@ const DB_NAME = '.verdaccio-db.json';

super(config);
_defineProperty(this, "path", void 0);
_defineProperty(this, "logger", void 0);
_defineProperty(this, "data", void 0);
_defineProperty(this, "config", void 0);
_defineProperty(this, "locked", void 0);
this.config = config;

@@ -57,0 +44,0 @@ this.path = this._buildStoragePath(config);

7

lib/local-fs.js

@@ -26,4 +26,3 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/* eslint-disable no-undef */
const fileExist = 'EEXISTS';

@@ -81,6 +80,2 @@ exports.fileExist = fileExist;

constructor(path, logger) {
_defineProperty(this, "path", void 0);
_defineProperty(this, "logger", void 0);
this.path = path;

@@ -87,0 +82,0 @@ this.logger = logger;

@@ -22,4 +22,2 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
const debug = (0, _debug.default)('verdaccio:plugin:local-storage:token');

@@ -30,6 +28,2 @@ const TOKEN_DB_NAME = '.token-db.json';

constructor(config) {
_defineProperty(this, "config", void 0);
_defineProperty(this, "tokenDb", void 0);
this.config = config;

@@ -36,0 +30,0 @@ this.tokenDb = null;

10

package.json
{
"name": "@verdaccio/local-storage",
"version": "10.1.1",
"version": "10.2.0",
"description": "Local storage implementation",

@@ -34,5 +34,5 @@ "keywords": [

"dependencies": {
"@verdaccio/commons-api": "10.1.0",
"@verdaccio/file-locking": "10.1.0",
"@verdaccio/streams": "10.1.0",
"@verdaccio/commons-api": "10.2.0",
"@verdaccio/file-locking": "10.2.0",
"@verdaccio/streams": "10.2.0",
"async": "3.2.3",

@@ -47,3 +47,3 @@ "debug": "4.3.3",

"@types/node": "^14.0.0",
"@verdaccio/types": "10.2.2",
"@verdaccio/types": "10.3.0",
"minimatch": "^3.0.4",

@@ -50,0 +50,0 @@ "rmdir-sync": "^1.0.1"

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