@verdaccio/local-storage
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -172,3 +172,3 @@ 'use strict'; | ||
value: function createPackage(name, value, cb) { | ||
this._createFile(this._getStorage(name), this._convertToString(value), cb); | ||
this._createFile(this._getStorage(pkgFileName), this._convertToString(value), cb); | ||
} | ||
@@ -178,3 +178,3 @@ }, { | ||
value: function savePackage(name, value, cb) { | ||
this._writeFile(this._getStorage(name), this._convertToString(value), cb); | ||
this._writeFile(this._getStorage(pkgFileName), this._convertToString(value), cb); | ||
} | ||
@@ -184,3 +184,3 @@ }, { | ||
value: function readPackage(name, cb) { | ||
this._readStorageFile(this._getStorage(name)).then(function (res) { | ||
this._readStorageFile(this._getStorage(pkgFileName)).then(function (res) { | ||
try { | ||
@@ -187,0 +187,0 @@ var data = JSON.parse(res.toString('utf8')); |
{ | ||
"name": "@verdaccio/local-storage", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "local storage implementation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
20888