@cloudflare/util-http
Advanced tools
Comparing version 1.2.12 to 2.0.0
@@ -6,2 +6,21 @@ # Change Log | ||
# [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) | ||
### Bug Fixes | ||
* **util-http:** TSX-161 update response.body type to unknown ([96afa34](http://stash.cfops.it:7999/fe/stratus/commits/96afa34)) | ||
### BREAKING CHANGES | ||
* **util-http:** response.body was previously typed | ||
as `string | Record<string, any>`. | ||
Now that it is `unknown`, users will need to narrow the type | ||
using type guards or type assertions. | ||
## [1.2.12](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/util-http@1.2.8...@cloudflare/util-http@1.2.12) (2019-11-20) | ||
@@ -8,0 +27,0 @@ |
@@ -19,3 +19,3 @@ import 'isomorphic-fetch'; | ||
status: number; | ||
body: string | Record<string, any>; | ||
body: unknown; | ||
text: string; | ||
@@ -22,0 +22,0 @@ response: Response; |
{ | ||
"name": "@cloudflare/util-http", | ||
"description": "Cloudflare HTTP Util", | ||
"version": "1.2.12", | ||
"version": "2.0.0", | ||
"main": "lib/index.js", | ||
@@ -32,3 +32,3 @@ "module": "es/index.js", | ||
}, | ||
"gitHead": "2c7116804e9d7e6f2e005ee4d7aa37829d2624a3" | ||
"gitHead": "8a2a5170ba2c8f3c4ec83e74e9f065d8afe57304" | ||
} |
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
37359