Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/storage

Package Overview
Dependencies
Maintainers
10
Versions
2070
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/storage - npm Package Compare versions

Comparing version 1.0.26-unstable.2 to 1.0.26-unstable.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="1.0.26-unstable.3"></a>
## [1.0.26-unstable.3](https://github.com/aws/aws-amplify/compare/@aws-amplify/storage@1.0.26-unstable.2...@aws-amplify/storage@1.0.26-unstable.3) (2019-02-28)
### Features
* **storage:** Added tagging support on put request (S3) ([#2606](https://github.com/aws/aws-amplify/issues/2606)) ([50243b7](https://github.com/aws/aws-amplify/commit/50243b7)), closes [#2594](https://github.com/aws/aws-amplify/issues/2594)
<a name="1.0.26-unstable.2"></a>

@@ -8,0 +19,0 @@ ## [1.0.26-unstable.2](https://github.com/aws/aws-amplify/compare/@aws-amplify/storage@1.0.26-unstable.1...@aws-amplify/storage@1.0.26-unstable.2) (2019-02-27)

7

lib/Providers/AWSS3Provider.js

@@ -169,3 +169,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var credentialsOK, opt, bucket, region, credentials, level, track, progressCallback, contentType, contentDisposition, cacheControl, expires, metadata, serverSideEncryption, SSECustomerAlgorithm, SSECustomerKey, SSECustomerKeyMD5, SSEKMSKeyId, type, prefix, final_key, s3, params, upload, data, e_1;
var credentialsOK, opt, bucket, region, credentials, level, track, progressCallback, contentType, contentDisposition, cacheControl, expires, metadata, tagging, serverSideEncryption, SSECustomerAlgorithm, SSECustomerKey, SSECustomerKeyMD5, SSEKMSKeyId, type, prefix, final_key, s3, params, upload, data, e_1;
return __generator(this, function (_a) {

@@ -181,3 +181,3 @@ switch (_a.label) {

bucket = opt.bucket, region = opt.region, credentials = opt.credentials, level = opt.level, track = opt.track, progressCallback = opt.progressCallback;
contentType = opt.contentType, contentDisposition = opt.contentDisposition, cacheControl = opt.cacheControl, expires = opt.expires, metadata = opt.metadata;
contentType = opt.contentType, contentDisposition = opt.contentDisposition, cacheControl = opt.cacheControl, expires = opt.expires, metadata = opt.metadata, tagging = opt.tagging;
serverSideEncryption = opt.serverSideEncryption, SSECustomerAlgorithm = opt.SSECustomerAlgorithm, SSECustomerKey = opt.SSECustomerKey, SSECustomerKeyMD5 = opt.SSECustomerKeyMD5, SSEKMSKeyId = opt.SSEKMSKeyId;

@@ -207,2 +207,5 @@ type = contentType ? contentType : 'binary/octet-stream';

}
if (tagging) {
params.Tagging = tagging;
}
if (serverSideEncryption) {

@@ -209,0 +212,0 @@ params.ServerSideEncryption = serverSideEncryption;

{
"name": "@aws-amplify/storage",
"version": "1.0.26-unstable.2",
"version": "1.0.26-unstable.3",
"description": "Storage category of aws-amplify",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -158,3 +158,3 @@ /*

const { bucket, region, credentials, level, track, progressCallback } = opt;
const { contentType, contentDisposition, cacheControl, expires, metadata } = opt;
const { contentType, contentDisposition, cacheControl, expires, metadata, tagging } = opt;
const { serverSideEncryption, SSECustomerAlgorithm, SSECustomerKey, SSECustomerKeyMD5, SSEKMSKeyId } = opt;

@@ -178,2 +178,3 @@ const type = contentType ? contentType : 'binary/octet-stream';

if (metadata) { params.Metadata = metadata; }
if (tagging) { params.Tagging = tagging; }
if (serverSideEncryption) {

@@ -180,0 +181,0 @@ params.ServerSideEncryption = serverSideEncryption;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc