@cloudflare/util-http
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.2.7](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.2.6...@cloudflare/util-http@1.2.7) (2019-06-14) | ||
**Note:** Version bump only for package @cloudflare/util-http | ||
## [1.2.6](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.2.5...@cloudflare/util-http@1.2.6) (2019-03-22) | ||
@@ -8,0 +16,0 @@ |
@@ -252,3 +252,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); } | ||
throw wrappedResponse; | ||
throw Object.assign(new Error(wrappedResponse.response.statusText), wrappedResponse); | ||
}); | ||
@@ -255,0 +255,0 @@ }).catch(function (err) { |
@@ -271,3 +271,3 @@ "use strict"; | ||
throw wrappedResponse; | ||
throw Object.assign(new Error(wrappedResponse.response.statusText), wrappedResponse); | ||
}); | ||
@@ -274,0 +274,0 @@ }).catch(function (err) { |
{ | ||
"name": "@cloudflare/util-http", | ||
"description": "Cloudflare HTTP Util", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"main": "lib/index.js", | ||
@@ -32,3 +32,3 @@ "module": "es/index.js", | ||
}, | ||
"gitHead": "7bbf6f076136f8259118652a1beb5b089fcf96fa" | ||
"gitHead": "dc110920f5fa59c72c64f7c1385287652a286889" | ||
} |
@@ -236,3 +236,6 @@ import 'isomorphic-fetch'; | ||
} | ||
throw wrappedResponse; | ||
throw Object.assign( | ||
new Error(wrappedResponse.response.statusText), | ||
wrappedResponse | ||
); | ||
}); | ||
@@ -239,0 +242,0 @@ }) |
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
40308
812