whatwg-fetch
Advanced tools
@@ -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])); |
+1
-1
@@ -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])) |
+1
-1
| { | ||
| "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", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
56049
0.19%