make-fetch-happen
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.0.4"></a> | ||
## [2.0.4](https://github.com/zkat/make-fetch-happen/compare/v2.0.3...v2.0.4) (2017-04-09) | ||
### Bug Fixes | ||
* **agent:** accept Request as fetch input, not just strings ([b71669a](https://github.com/zkat/make-fetch-happen/commit/b71669a)) | ||
<a name="2.0.3"></a> | ||
@@ -7,0 +17,0 @@ ## [2.0.3](https://github.com/zkat/make-fetch-happen/compare/v2.0.2...v2.0.3) (2017-04-09) |
@@ -349,3 +349,3 @@ 'use strict' | ||
function getAgent (uri, opts) { | ||
const parsedUri = url.parse(uri) | ||
const parsedUri = url.parse(typeof uri === 'string' ? uri : uri.url) | ||
const isHttps = parsedUri.protocol === 'https:' | ||
@@ -352,0 +352,0 @@ const pxuri = getProxyUri(uri, opts) |
{ | ||
"name": "make-fetch-happen", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
502058