Comparing version 7.0.22 to 7.0.23
@@ -194,3 +194,3 @@ "use strict"; | ||
query | ||
}, '', 200, '', true, function (e, response) { | ||
}, '', [200], '', true, function (e, response) { | ||
if (e) return transformer.emit('error', e); | ||
@@ -197,0 +197,0 @@ (0, _helpers.pipesetup)(response, transformer); |
@@ -382,3 +382,3 @@ "use strict"; | ||
return temp.startsWith("x-amz-meta-") || temp === "x-amz-acl" || temp.startsWith("x-amz-server-side-encryption-") || temp === "x-amz-server-side-encryption"; | ||
} //Checks if it is a supported Header | ||
} // Checks if it is a supported Header | ||
@@ -389,3 +389,3 @@ | ||
return supported_headers.indexOf(key.toLowerCase()) > -1; | ||
} //Checks if it is a storage header | ||
} // Checks if it is a storage header | ||
@@ -392,0 +392,0 @@ |
@@ -288,3 +288,3 @@ "use strict"; | ||
query | ||
}, '', 200, region, true, function (e, response) { | ||
}, '', [200], region, true, function (e, response) { | ||
if (e) return _this6.emit('error', e); | ||
@@ -291,0 +291,0 @@ var transformer = transformers.getNotificationTransformer(); |
@@ -115,3 +115,3 @@ "use strict"; | ||
}; | ||
this.client.makeRequest(_options, chunk, 200, '', true, function (err, response) { | ||
this.client.makeRequest(_options, chunk, [200], '', true, function (err, response) { | ||
if (err) return callback(err); | ||
@@ -182,3 +182,3 @@ var result = { | ||
if (this.oldParts) { | ||
var oldPart = this.oldParts[partNumber]; //Calulcate the md5 hash, if it has not already been calculated. | ||
var oldPart = this.oldParts[partNumber]; // Calulcate the md5 hash, if it has not already been calculated. | ||
@@ -212,3 +212,3 @@ if (!md5digest) { | ||
}; | ||
this.client.makeRequest(options, chunk, 200, '', true, function (err, response) { | ||
this.client.makeRequest(options, chunk, [200], '', true, function (err, response) { | ||
if (err) return callback(err); // In order to aggregate the parts together, we need to collect the etags. | ||
@@ -247,3 +247,3 @@ | ||
}; | ||
this.client.makeRequest(options, '', 200, '', true, function (err, response) { | ||
this.client.makeRequest(options, '', [200], '', true, function (err, response) { | ||
if (err) return callback(err); | ||
@@ -250,0 +250,0 @@ var result = { |
@@ -607,3 +607,3 @@ "use strict"; | ||
if (xmlObj.Tagging && xmlObj.Tagging.TagSet && xmlObj.Tagging.TagSet.Tag) { | ||
var tagResult = xmlObj.Tagging.TagSet.Tag; //if it is a single tag convert into an array so that the return value is always an array. | ||
var tagResult = xmlObj.Tagging.TagSet.Tag; // if it is a single tag convert into an array so that the return value is always an array. | ||
@@ -610,0 +610,0 @@ if ((0, _helpers.isObject)(tagResult)) { |
{ | ||
"name": "minio", | ||
"version": "7.0.22", | ||
"version": "7.0.23", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/minio.js", |
Sorry, the diff of this file is too big to display
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
284993
5640