Skip to content

Commit f4c1f32

Browse files
committed
v4.0.20200601
1 parent fcbf304 commit f4c1f32

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Blob.js

+2
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,8 @@
537537

538538
try {
539539
new File([], "");
540+
exports.File = global.File;
541+
exports.FileReader = global.FileReader;
540542
} catch (e) {
541543
try {
542544
exports.File = new Function("class File extends Blob {" +

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# `blob-polyfill` CHANGELOG
22

3+
## v4.0.20200601
4+
* [Blob.js] Populate File and FileReader in exports after confirming File is supported (@bjornstar)
5+
36
## v4.0.20200531
47
* [Blob.js] Do not attempt to set readonly property Symbols (@bjornstar)
58
* [Blob.js] Do not use prototype built-ins (@bjornstar)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blob-polyfill",
3-
"version": "4.0.20200531",
3+
"version": "4.0.20200601",
44
"description": "Blob.js implements the W3C Blob interface in browsers that do not natively support it.",
55
"main": "Blob.js",
66
"scripts": {

0 commit comments

Comments
 (0)