@verdaccio/local-storage
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -197,2 +197,4 @@ 'use strict'; | ||
value: function writeTarball(name) { | ||
var _this2 = this; | ||
var uploadStream = new _streams.UploadTarball(); | ||
@@ -212,3 +214,3 @@ | ||
var temporalName = `${name}.tmp-${String(Math.random()).replace(/^0\./, '')}`; | ||
var temporalName = _path2.default.join(_this2.path, `${name}.tmp-${String(Math.random()).replace(/^0\./, '')}`); | ||
var file = _fs2.default.createWriteStream(temporalName); | ||
@@ -292,3 +294,3 @@ var opened = false; | ||
value: function _createFile(name, contents, callback) { | ||
var _this2 = this; | ||
var _this3 = this; | ||
@@ -299,3 +301,3 @@ _fs2.default.exists(name, function (exists) { | ||
} | ||
_this2._writeFile(name, contents, callback); | ||
_this3._writeFile(name, contents, callback); | ||
}); | ||
@@ -302,0 +304,0 @@ } |
{ | ||
"name": "@verdaccio/local-storage", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"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
21120
9
520