Comparing version 7.0.29 to 7.0.30
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.SelectResults = exports.RETENTION_VALIDITY_UNITS = exports.RETENTION_MODES = exports.PART_CONSTRAINTS = exports.LEGAL_HOLD_STATUS = exports.ENCRYPTION_TYPES = exports.CopySourceOptions = exports.CopyDestinationOptions = void 0; | ||
exports.SelectResults = exports.RETENTION_VALIDITY_UNITS = exports.RETENTION_MODES = exports.PART_CONSTRAINTS = exports.LEGAL_HOLD_STATUS = exports.ENCRYPTION_TYPES = exports.DEFAULT_REGION = exports.CopySourceOptions = exports.CopyDestinationOptions = void 0; | ||
exports.calculateEvenSplits = calculateEvenSplits; | ||
@@ -60,3 +60,3 @@ exports.extractMetadata = extractMetadata; | ||
var _querystring = _interopRequireDefault(require("querystring")); | ||
var _queryString = _interopRequireDefault(require("query-string")); | ||
@@ -689,3 +689,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
headerOptions["X-Amz-Tagging-Directive"] = replaceDirective; | ||
headerOptions["X-Amz-Tagging"] = isObject(userTags) ? _querystring.default.stringify(userTags) : isString(userTags) ? userTags : ""; | ||
headerOptions["X-Amz-Tagging"] = isObject(userTags) ? _queryString.default.stringify(userTags) : isString(userTags) ? userTags : ""; | ||
} | ||
@@ -890,2 +890,4 @@ | ||
exports.SelectResults = SelectResults; | ||
const DEFAULT_REGION = 'us-east-1'; | ||
exports.DEFAULT_REGION = DEFAULT_REGION; | ||
//# sourceMappingURL=helpers.js.map |
@@ -210,3 +210,3 @@ "use strict"; | ||
const region = this.client.region || 'us-east-1'; | ||
const region = this.client.region || _helpers.DEFAULT_REGION; | ||
this.client.makeRequest({ | ||
@@ -213,0 +213,0 @@ method, |
@@ -12,3 +12,3 @@ "use strict"; | ||
var querystring = _interopRequireWildcard(require("querystring")); | ||
var querystring = _interopRequireWildcard(require("query-string")); | ||
@@ -15,0 +15,0 @@ var _helpers = require("./helpers"); |
{ | ||
"name": "minio", | ||
"version": "7.0.29", | ||
"version": "7.0.30", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -47,3 +47,3 @@ "main": "./dist/main/minio.js", | ||
"mkdirp": "^0.5.1", | ||
"querystring": "0.2.0", | ||
"query-string": "^7.1.1", | ||
"through2": "^3.0.1", | ||
@@ -50,0 +50,0 @@ "web-encoding": "^1.1.5", |
Sorry, the diff of this file is too big to display
305467
6388
+ Addedquery-string@^7.1.1
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addedfilter-obj@1.1.0(transitive)
+ Addedquery-string@7.1.3(transitive)
+ Addedsplit-on-first@1.1.0(transitive)
+ Addedstrict-uri-encode@2.0.0(transitive)
- Removedquerystring@0.2.0
- Removedquerystring@0.2.0(transitive)