whatwg-fetch
Advanced tools
Comparing version 3.6.12 to 3.6.13
@@ -202,3 +202,5 @@ (function (global, factory) { | ||
var promise = fileReaderReady(reader); | ||
reader.readAsText(blob); | ||
var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type); | ||
var encoding = match ? match[1] : 'utf-8'; | ||
reader.readAsText(blob, encoding); | ||
return promise | ||
@@ -205,0 +207,0 @@ } |
@@ -196,3 +196,5 @@ /* eslint-disable no-prototype-builtins */ | ||
var promise = fileReaderReady(reader) | ||
reader.readAsText(blob) | ||
var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type) | ||
var encoding = match ? match[1] : 'utf-8' | ||
reader.readAsText(blob, encoding) | ||
return promise | ||
@@ -199,0 +201,0 @@ } |
{ | ||
"name": "whatwg-fetch", | ||
"description": "A window.fetch polyfill.", | ||
"version": "3.6.12", | ||
"version": "3.6.13", | ||
"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
56685
1115