blob-polyfill
Advanced tools
Comparing version 4.0.20200601 to 5.0.20210201
/* Blob.js | ||
* A Blob, File, FileReader & URL implementation. | ||
* 2019-04-30 | ||
* 2020-02-01 | ||
* | ||
* By Eli Grey, http://eligrey.com | ||
* By Eli Grey, https://eligrey.com | ||
* By Jimmy Wärting, https://github.com/jimmywarting | ||
@@ -378,3 +378,3 @@ * License: MIT | ||
Blob.prototype.arrayBuffer = function () { | ||
return Promise.resolve(this._buffer); | ||
return Promise.resolve(this._buffer.buffer || this._buffer); | ||
}; | ||
@@ -381,0 +381,0 @@ |
{ | ||
"name": "blob-polyfill", | ||
"version": "4.0.20190430", | ||
"version": "5.0.20210201", | ||
"homepage": "https://github.com/bjornstar/blob-polyfill", | ||
@@ -5,0 +5,0 @@ "authors": [ |
# `blob-polyfill` CHANGELOG | ||
## v5.0.20210201 | ||
* [Blob.js] Blob.arrayBuffer() should return a promise that resolves with an ArrayBuffer (@bjornstar) | ||
* [test] Add a test for Blob.arrayBuffer (@bjornstar) | ||
* [package.json] Update devDependencies: `eslint` & `mocha` (@bjornstar) | ||
* [package.json] Add devDependency: `@sindresorhus/is` (@bjornstar) | ||
## v4.0.20200601 | ||
@@ -4,0 +10,0 @@ * [Blob.js] Populate File and FileReader in exports after confirming File is supported (@bjornstar) |
@@ -25,2 +25,2 @@ Copyright © 2014 [Eli Grey][1]. | ||
[1]: http://eligrey.com | ||
[1]: https://eligrey.com |
{ | ||
"name": "blob-polyfill", | ||
"version": "4.0.20200601", | ||
"version": "5.0.20210201", | ||
"description": "Blob.js implements the W3C Blob interface in browsers that do not natively support it.", | ||
@@ -18,3 +18,3 @@ "main": "Blob.js", | ||
], | ||
"author": "Eli Grey <me@eligrey.com> (http://eligrey.com)", | ||
"author": "Eli Grey <me@eligrey.com> (https://eligrey.com)", | ||
"license": "MIT", | ||
@@ -26,5 +26,6 @@ "bugs": { | ||
"devDependencies": { | ||
"eslint": "^7.1.0", | ||
"mocha": "^7.2.0" | ||
"@sindresorhus/is": "^4.0.0", | ||
"eslint": "^7.19.0", | ||
"mocha": "^8.2.1" | ||
} | ||
} |
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
25388
3