Comparing version 0.3.1 to 0.3.2
@@ -13,3 +13,9 @@ import "./chunk-JUWXSDKJ.js"; | ||
return "application/json"; | ||
if (body instanceof Blob) { | ||
if (typeof FormData !== "undefined" && body instanceof FormData) { | ||
return "multipart/form-data"; | ||
} | ||
if (typeof ArrayBuffer !== "undefined" && body instanceof ArrayBuffer) { | ||
return "application/octet-stream"; | ||
} | ||
if (typeof Blob !== "undefined" && body instanceof Blob) { | ||
return body.type; | ||
@@ -16,0 +22,0 @@ } |
{ | ||
"name": "vi-fetch", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Easiest way to mock fetch", | ||
@@ -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
36123
1095