Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/util-http

Package Overview
Dependencies
Maintainers
31
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/util-http - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

CHANGELOG.md

@@ -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 @@

2

es/http.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc