whatwg-fetch
Advanced tools
Comparing version 3.6.9 to 3.6.10
@@ -598,3 +598,3 @@ (function (global, factory) { | ||
if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) { | ||
if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) { | ||
Object.getOwnPropertyNames(init.headers).forEach(function(name) { | ||
@@ -601,0 +601,0 @@ xhr.setRequestHeader(name, normalizeValue(init.headers[name])); |
@@ -592,3 +592,3 @@ /* eslint-disable no-prototype-builtins */ | ||
if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) { | ||
if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) { | ||
Object.getOwnPropertyNames(init.headers).forEach(function(name) { | ||
@@ -595,0 +595,0 @@ xhr.setRequestHeader(name, normalizeValue(init.headers[name])) |
{ | ||
"name": "whatwg-fetch", | ||
"description": "A window.fetch polyfill.", | ||
"version": "3.6.9", | ||
"version": "3.6.10", | ||
"main": "./dist/fetch.umd.js", | ||
@@ -6,0 +6,0 @@ "module": "./fetch.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
56049