verdaccio-aws-s3-storage
Advanced tools
Comparing version 10.2.1 to 10.3.0
@@ -1,2 +0,2 @@ | ||
declare const _default: (path?: string | undefined) => string; | ||
declare const _default: (path?: string) => string; | ||
export default _default; |
@@ -22,4 +22,14 @@ "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; } | ||
class S3Database { | ||
constructor(config, options) { | ||
_defineProperty(this, "logger", void 0); | ||
_defineProperty(this, "config", void 0); | ||
_defineProperty(this, "s3", void 0); | ||
_defineProperty(this, "_localData", void 0); | ||
this.logger = options.logger; // copy so we don't mutate | ||
@@ -214,3 +224,3 @@ | ||
this.logger.debug('s3: [_sync] sucess'); | ||
resolve(); | ||
resolve(undefined); | ||
}); | ||
@@ -217,0 +227,0 @@ }); |
@@ -22,2 +22,4 @@ "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 pkgFileName = 'package.json'; | ||
@@ -27,2 +29,14 @@ | ||
constructor(config, packageName, logger) { | ||
_defineProperty(this, "config", void 0); | ||
_defineProperty(this, "logger", void 0); | ||
_defineProperty(this, "packageName", void 0); | ||
_defineProperty(this, "s3", void 0); | ||
_defineProperty(this, "packagePath", void 0); | ||
_defineProperty(this, "tarballACL", void 0); | ||
this.config = config; | ||
@@ -312,3 +326,3 @@ this.packageName = packageName; | ||
}, 's3: [S3PackageManager writeTarball managedUpload send] response @{data}'); | ||
resolve(); | ||
resolve(undefined); | ||
} | ||
@@ -315,0 +329,0 @@ }); |
{ | ||
"name": "verdaccio-aws-s3-storage", | ||
"version": "10.2.1", | ||
"version": "10.3.0", | ||
"description": "AWS S3 storage implementation for Verdaccio", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@verdaccio/types": "10.3.0", | ||
"@verdaccio/types": "10.5.0", | ||
"recursive-readdir": "2.2.2" | ||
@@ -39,0 +39,0 @@ }, |
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
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
99109
849