Socket
Socket
Sign inDemoInstall

whatwg-fetch

Package Overview
Dependencies
0
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.6.9 to 3.6.10

2

dist/fetch.umd.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc