Comparing version 1.7.2 to 1.7.3
@@ -54,4 +54,3 @@ import { HTTPError } from '../errors/HTTPError.js'; | ||
ky.request.headers.set('accept', ky.request.headers.get('accept') || mimeType); | ||
const awaitedResult = await result; | ||
const response = awaitedResult.clone(); | ||
const response = await result; | ||
if (type === 'json') { | ||
@@ -58,0 +57,0 @@ if (response.status === 204) { |
{ | ||
"name": "ky", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"description": "Tiny and elegant HTTP client based on the Fetch API", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
157231
1174