Comparing version 3.1.3 to 3.1.4
@@ -143,3 +143,5 @@ /*! ***************************************************************************** | ||
(req.body !== null && | ||
(req.body instanceof Object || Array.isArray(req.body)))) { | ||
(typeof req.body === "object" && | ||
!(req.body instanceof FormData) || | ||
Array.isArray(req.body)))) { | ||
if (typeof req.headers !== "object") { | ||
@@ -146,0 +148,0 @@ req.headers = {}; |
@@ -147,3 +147,5 @@ 'use strict'; | ||
(req.body !== null && | ||
(req.body instanceof Object || Array.isArray(req.body)))) { | ||
(typeof req.body === "object" && | ||
!(req.body instanceof FormData) || | ||
Array.isArray(req.body)))) { | ||
if (typeof req.headers !== "object") { | ||
@@ -150,0 +152,0 @@ req.headers = {}; |
{ | ||
"name": "portals", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Client-side HTTP requests with middleware support.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
36668
668