Comparing version 1.2.0 to 1.2.1
@@ -74,3 +74,3 @@ "use strict"; | ||
if (res.headers['content-type'] === 'application/json') { | ||
if (h['content-type'].startsWith('application/json')) { | ||
try { | ||
@@ -77,0 +77,0 @@ const parsed = JSON.parse(r); |
## 19 June 2018 | ||
### 1.2.1 | ||
- [fix] Also parse `json` if response header includes charset. | ||
### 1.2.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "rqt", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "request library", | ||
@@ -5,0 +5,0 @@ "main": "build", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13136
2