whatwg-fetch
Advanced tools
Comparing version 3.6.11 to 3.6.12
@@ -101,2 +101,5 @@ (function (global, factory) { | ||
headers.forEach(function(header) { | ||
if (header.length != 2) { | ||
throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length) | ||
} | ||
this.append(header[0], header[1]); | ||
@@ -103,0 +106,0 @@ }, this); |
@@ -95,2 +95,5 @@ /* eslint-disable no-prototype-builtins */ | ||
headers.forEach(function(header) { | ||
if (header.length != 2) { | ||
throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length) | ||
} | ||
this.append(header[0], header[1]) | ||
@@ -97,0 +100,0 @@ }, this) |
{ | ||
"name": "whatwg-fetch", | ||
"description": "A window.fetch polyfill.", | ||
"version": "3.6.11", | ||
"version": "3.6.12", | ||
"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
56457
1111