@nsshunt/ststestrunner 1.0.55 → 1.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ststestrunner.mjs
CHANGED
|
@@ -5020,6 +5020,9 @@ function toFormData$1(obj, formData, options) {
|
|
|
5020
5020
|
if (utils$1.isDate(value2)) {
|
|
5021
5021
|
return value2.toISOString();
|
|
5022
5022
|
}
|
|
5023
|
+
if (utils$1.isBoolean(value2)) {
|
|
5024
|
+
return value2.toString();
|
|
5025
|
+
}
|
|
5023
5026
|
if (!useBlob && utils$1.isBlob(value2)) {
|
|
5024
5027
|
throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
|
|
5025
5028
|
}
|
|
@@ -6323,7 +6326,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
6323
6326
|
duplex: "half",
|
|
6324
6327
|
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
6325
6328
|
});
|
|
6326
|
-
let response = await fetch(request);
|
|
6329
|
+
let response = await fetch(request, fetchOptions);
|
|
6327
6330
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
6328
6331
|
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
6329
6332
|
const options = {};
|
|
@@ -6464,7 +6467,7 @@ function dispatchRequest(config) {
|
|
|
6464
6467
|
return Promise.reject(reason);
|
|
6465
6468
|
});
|
|
6466
6469
|
}
|
|
6467
|
-
const VERSION$1 = "1.
|
|
6470
|
+
const VERSION$1 = "1.10.0";
|
|
6468
6471
|
const validators$1 = {};
|
|
6469
6472
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
6470
6473
|
validators$1[type] = function validator2(thing) {
|