wonderful-fetch
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -25,3 +25,3 @@ (function (root, factory) { | ||
var SOURCE = 'library'; | ||
var VERSION = '1.1.10'; | ||
var VERSION = '1.1.11'; | ||
@@ -91,2 +91,11 @@ function WonderfulFetch(url, options) { | ||
// FormData Headers | ||
// if (bodyIsFormData) { | ||
// config.headers['Content-Type'] = 'multipart/form-data'; | ||
// Object.keys(options.body.getHeaders()).forEach(function (key) { | ||
// config.headers[key] = options.body.getHeaders()[key]; | ||
// console.log('+++key', key, config.headers[key]); | ||
// }); | ||
// } | ||
// GET requests should not have a body or content type | ||
@@ -93,0 +102,0 @@ if (config.method === 'get') { |
{ | ||
"name": "wonderful-fetch", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "A wrapper around fetch.", | ||
@@ -36,3 +36,3 @@ "main": "./dist/index.js", | ||
"mocha": "^8.4.0", | ||
"prepare-package": "^1.1.3" | ||
"prepare-package": "^1.1.5" | ||
}, | ||
@@ -39,0 +39,0 @@ "preparePackage": { |
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
20029
269