@cloudflare/util-http
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@2.0.0...@cloudflare/util-http@2.0.1) (2020-01-30) | ||
### Bug Fixes | ||
* **util-http:** UI-3160 clone response before consuming body ([e401b1b](http://stash.cfops.it:7999/fe/stratus/commits/e401b1b)) | ||
# [2.0.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.2.12...@cloudflare/util-http@2.0.0) (2020-01-14) | ||
@@ -8,0 +19,0 @@ |
@@ -244,3 +244,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
logMessage = "".concat(logMessage, " (").concat(status, " ").concat(response.statusText, ")"); | ||
return response.text().then(function (text) { | ||
return response.clone().text().then(function (text) { | ||
var wrappedResponse = wrapResponse(headers, status, text, response); | ||
@@ -247,0 +247,0 @@ |
@@ -263,3 +263,3 @@ "use strict"; | ||
logMessage = "".concat(logMessage, " (").concat(status, " ").concat(response.statusText, ")"); | ||
return response.text().then(function (text) { | ||
return response.clone().text().then(function (text) { | ||
var wrappedResponse = wrapResponse(headers, status, text, response); | ||
@@ -266,0 +266,0 @@ |
{ | ||
"name": "@cloudflare/util-http", | ||
"description": "Cloudflare HTTP Util", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "lib/index.js", | ||
@@ -32,3 +32,3 @@ "module": "es/index.js", | ||
}, | ||
"gitHead": "8a2a5170ba2c8f3c4ec83e74e9f065d8afe57304" | ||
"gitHead": "b338f455d797b771fe69e9f68cfbff02c0c3fe10" | ||
} |
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
37655