Comparing version 1.7.0 to 1.8.0
@@ -60,3 +60,3 @@ var aws4 = exports, | ||
RequestSigner.prototype.matchHost = function(host) { | ||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/) | ||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/) | ||
var hostParts = (match || []).slice(1, 3) | ||
@@ -63,0 +63,0 @@ |
{ | ||
"name": "aws4", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Signs and prepares requests using AWS Signature Version 4", | ||
@@ -5,0 +5,0 @@ "author": "Michael Hart <michael.hart.au@gmail.com> (http://github.com/mhart)", |
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
31923