balena-request
Advanced tools
Comparing version 11.5.0 to 11.5.1-move-response-body-error-to-response-body-message-if-there-is-one-063c7fc91ed90c56aea8394a657319241424adc1
@@ -118,2 +118,5 @@ "use strict"; | ||
} | ||
if (response.body.error) { | ||
response.body.message = response.body.error; | ||
} | ||
return response.body; | ||
@@ -120,0 +123,0 @@ } |
@@ -7,2 +7,7 @@ # Change Log | ||
# v11.5.1 | ||
## (2022-03-31) | ||
* Use response error as response message if there is one [Matthew Yarmolinsky] | ||
# v11.5.0 | ||
@@ -9,0 +14,0 @@ ## (2021-11-28) |
@@ -121,2 +121,6 @@ /* | ||
if (response.body.error) { | ||
response.body.message = response.body.error; | ||
} | ||
return response.body; | ||
@@ -123,0 +127,0 @@ } |
{ | ||
"name": "balena-request", | ||
"version": "11.5.0", | ||
"version": "11.5.1-move-response-body-error-to-response-body-message-if-there-is-one-063c7fc91ed90c56aea8394a657319241424adc1", | ||
"description": "Balena HTTP client", | ||
@@ -67,4 +67,4 @@ "main": "build/request.js", | ||
"versionist": { | ||
"publishedAt": "2021-11-28T13:20:55.446Z" | ||
"publishedAt": "2022-03-31T12:26:08.600Z" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
200027
3977
1