You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Immediately exit if error is returned instead of waiting for the whole file to download. The most obvious case is when the url is an unsupported format (such as am .mp4). The lookup function in imageSize will always throw a type error, but request-image-size will download the whole file and check each chunk. This might be not noticeable in cases where the file is small but can be a pain when the file is larger, like the movie example.
Immediately exit if error is returned instead of waiting for the whole file to download. The most obvious case is when the url is an unsupported format (such as am
.mp4
). Thelookup
function inimageSize
will always throw a type error, butrequest-image-size
will download the whole file and check each chunk. This might be not noticeable in cases where the file is small but can be a pain when the file is larger, like the movie example.I created PR #13 to resolve this issue with this change
The text was updated successfully, but these errors were encountered: