@verdaccio/local-storage
Advanced tools
Comparing version 10.1.1 to 10.2.0
@@ -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); |
@@ -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; |
{ | ||
"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
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
95129
917
+ Added@verdaccio/commons-api@10.2.0(transitive)
+ Added@verdaccio/file-locking@10.2.0(transitive)
+ Added@verdaccio/streams@10.2.0(transitive)
+ Addeddepd@2.0.0(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addedhttp-status-codes@2.2.0(transitive)
+ Addedstatuses@2.0.1(transitive)
- Removed@verdaccio/commons-api@10.1.0(transitive)
- Removed@verdaccio/file-locking@10.1.0(transitive)
- Removed@verdaccio/streams@10.1.0(transitive)
- Removeddepd@1.1.2(transitive)
- Removedhttp-errors@1.8.1(transitive)
- Removedhttp-status-codes@1.4.0(transitive)
- Removedstatuses@1.5.0(transitive)
Updated@verdaccio/streams@10.2.0