@gitbeaker/requester-utils
Advanced tools
Comparing version 39.20.0 to 39.21.0
@@ -17,5 +17,2 @@ 'use strict'; | ||
} | ||
function isFormData(object) { | ||
return typeof object === "object" && object.constructor.name === "FormData"; | ||
} | ||
async function defaultOptionsHandler(resourceOptions, { | ||
@@ -41,3 +38,3 @@ body, | ||
if (body) { | ||
if (isFormData(body)) { | ||
if (body instanceof FormData) { | ||
defaultOptions.body = body; | ||
@@ -44,0 +41,0 @@ } else { |
{ | ||
"name": "@gitbeaker/requester-utils", | ||
"version": "39.20.0", | ||
"version": "39.21.0", | ||
"description": "Utility functions for requester implementatons used in @gitbeaker", | ||
@@ -64,3 +64,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "ec94930b7b5fd79d6afe88af882725a6a7c3bfa5" | ||
"gitHead": "9c6339eeb689e76840ef053867b78da2acb011bc" | ||
} |
@@ -234,2 +234,3 @@ <div align="center"> | ||
<td align="center" valign="top" width="3.84%"><a href="https://github.com/glensc"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/199095?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Elan Ruusamäe"/></td> | ||
<td align="center" valign="top" width="3.84%"><a href="https://github.com/Artemoire"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/18062266?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="artemoire"/></td> | ||
</tr> | ||
@@ -236,0 +237,0 @@ </p> |
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
55154
244
493