@friggframework/errors
Advanced tools
Comparing version 1.1.4 to 1.1.5-canary.96.d11fd1a.0
@@ -59,3 +59,4 @@ const { BaseError } = require('./base-error'); | ||
const { response } = options; | ||
const responseBody = response?.bodyUsed ? null : await response?.text(); | ||
let responseBody = response?.bodyUsed ? null : await response?.text(); | ||
if (!responseBody && options.body) responseBody = options.body; | ||
return new FetchError({ ...options, responseBody }); | ||
@@ -62,0 +63,0 @@ } |
{ | ||
"name": "@friggframework/errors", | ||
"version": "1.1.4", | ||
"version": "1.1.5-canary.96.d11fd1a.0", | ||
"prettier": "@friggframework/prettier-config", | ||
@@ -22,3 +22,3 @@ "description": "", | ||
}, | ||
"gitHead": "3470c88c17cae4728d60f871bbf3543a69e7f005" | ||
"gitHead": "d11fd1af036c8ba33a7bee7c6398972967d95e32" | ||
} |
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
15459
317
2