Skip to content

Commit

Permalink
v4.0.20200601
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar committed Jun 1, 2020
1 parent fcbf304 commit f4c1f32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@

try {
new File([], "");
exports.File = global.File;
exports.FileReader = global.FileReader;
} catch (e) {
try {
exports.File = new Function("class File extends Blob {" +
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# `blob-polyfill` CHANGELOG

## v4.0.20200601
* [Blob.js] Populate File and FileReader in exports after confirming File is supported (@bjornstar)

## v4.0.20200531
* [Blob.js] Do not attempt to set readonly property Symbols (@bjornstar)
* [Blob.js] Do not use prototype built-ins (@bjornstar)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blob-polyfill",
"version": "4.0.20200531",
"version": "4.0.20200601",
"description": "Blob.js implements the W3C Blob interface in browsers that do not natively support it.",
"main": "Blob.js",
"scripts": {
Expand Down

0 comments on commit f4c1f32

Please sign in to comment.