Socket
Socket
Sign inDemoInstall

whatwg-fetch

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatwg-fetch - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

fetch.js

@@ -306,5 +306,3 @@ (function(self) {

if (typeof input === 'string') {
this.url = input
} else {
if (input instanceof Request) {
if (input.bodyUsed) {

@@ -324,2 +322,4 @@ throw new TypeError('Already read')

}
} else {
this.url = String(input)
}

@@ -360,3 +360,3 @@

var headers = new Headers()
rawHeaders.split('\r\n').forEach(function(line) {
rawHeaders.split(/\r?\n/).forEach(function(line) {
var parts = line.split(':')

@@ -363,0 +363,0 @@ var key = parts.shift().trim()

{
"name": "whatwg-fetch",
"description": "A window.fetch polyfill.",
"version": "2.0.1",
"version": "2.0.2",
"main": "fetch.js",

@@ -6,0 +6,0 @@ "repository": "github/fetch",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc