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.8 to 3.6.9

2

dist/fetch.umd.js

@@ -171,2 +171,3 @@ (function (global, factory) {

function consumed(body) {
if (body._noBody) return
if (body.bodyUsed) {

@@ -241,2 +242,3 @@ return Promise.reject(new TypeError('Already read'))

if (!body) {
this._noBody = true;
this._bodyText = '';

@@ -243,0 +245,0 @@ } else if (typeof body === 'string') {

@@ -165,2 +165,3 @@ /* eslint-disable no-prototype-builtins */

function consumed(body) {
if (body._noBody) return
if (body.bodyUsed) {

@@ -235,2 +236,3 @@ return Promise.reject(new TypeError('Already read'))

if (!body) {
this._noBody = true;
this._bodyText = ''

@@ -237,0 +239,0 @@ } else if (typeof body === 'string') {

2

package.json
{
"name": "whatwg-fetch",
"description": "A window.fetch polyfill.",
"version": "3.6.8",
"version": "3.6.9",
"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