verdaccio-aws-s3-storage
Advanced tools
Comparing version 8.5.1 to 8.5.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [8.5.2](https://github.com/verdaccio/monorepo/compare/v8.5.1...v8.5.2) (2019-12-25) | ||
### Bug Fixes | ||
* add types for storage handler ([#307](https://github.com/verdaccio/monorepo/issues/307)) ([c35746e](https://github.com/verdaccio/monorepo/commit/c35746ebba071900db172608dedff66a7d27c23d)) | ||
## [8.5.1](https://github.com/verdaccio/monorepo/compare/v8.5.0...v8.5.1) (2019-12-24) | ||
@@ -8,0 +19,0 @@ |
import { UploadTarball, ReadTarball } from '@verdaccio/streams'; | ||
import { Callback, Logger, Package, ILocalPackageManager } from '@verdaccio/types'; | ||
import { Callback, Logger, Package, ILocalPackageManager, CallbackAction, ReadPackageCallback } from '@verdaccio/types'; | ||
import { S3Config } from './config'; | ||
@@ -13,8 +13,8 @@ export default class S3PackageManager implements ILocalPackageManager { | ||
deletePackage(fileName: string, callback: Callback): void; | ||
removePackage(callback: (err: Error | null) => void): void; | ||
createPackage(name: string, value: Package, callback: Function): void; | ||
savePackage(name: string, value: Package, callback: Function): void; | ||
readPackage(name: string, callback: Function): void; | ||
removePackage(callback: CallbackAction): void; | ||
createPackage(name: string, value: Package, callback: CallbackAction): void; | ||
savePackage(name: string, value: Package, callback: CallbackAction): void; | ||
readPackage(name: string, callback: ReadPackageCallback): void; | ||
writeTarball(name: string): UploadTarball; | ||
readTarball(name: string): ReadTarball; | ||
} |
@@ -209,4 +209,3 @@ "use strict"; | ||
Key: `${this.config.keyPrefix}${this.packageName}/${pkgFileName}` | ||
}, // @ts-ignore | ||
callback); | ||
}, callback); | ||
} | ||
@@ -213,0 +212,0 @@ |
{ | ||
"name": "verdaccio-aws-s3-storage", | ||
"version": "8.5.1", | ||
"version": "8.5.2", | ||
"description": "AWS S3 storage implementation for Verdaccio", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@verdaccio/eslint-config": "^8.5.0", | ||
"@verdaccio/types": "^8.5.1", | ||
"@verdaccio/types": "^8.5.2", | ||
"recursive-readdir": "2.2.2" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"gitHead": "f0887bdc71a239e013fb4142d5e23e3cae9068b7" | ||
"gitHead": "e269378a704559a3bd4a655cddb9d8b0e614d752" | ||
} |
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
38110
774