Comparing version 2.56.0 to 2.57.0
## Change Log | ||
### v2.57.0 (2015/05/31) | ||
- [#1615](https://github.com/request/request/pull/1615) Replace '.client' with '.socket' as the former was deprecated in 2.2.0. (@ChALkeR) | ||
### v2.56.0 (2015/05/28) | ||
@@ -4,0 +7,0 @@ - [#1610](https://github.com/request/request/pull/1610) Bump module dependencies (@simov) |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.56.0", | ||
"version": "2.57.0", | ||
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>", | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -1043,6 +1043,6 @@ 'use strict' | ||
if (self.httpModule === https && | ||
self.strictSSL && (!response.hasOwnProperty('client') || | ||
!response.client.authorized)) { | ||
self.strictSSL && (!response.hasOwnProperty('socket') || | ||
!response.socket.authorized)) { | ||
debug('strict ssl error', self.uri.href) | ||
var sslErr = response.hasOwnProperty('client') ? response.client.authorizationError : self.uri.href + ' does not support SSL' | ||
var sslErr = response.hasOwnProperty('socket') ? response.socket.authorizationError : self.uri.href + ' does not support SSL' | ||
self.emit('error', new Error('SSL Error: ' + sslErr)) | ||
@@ -1049,0 +1049,0 @@ return |
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
178844