filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 76 forks source link

fix(extensions): Changed avi format for assertion purpose #469

Closed promanski closed 2 years ago

promanski commented 2 years ago

Bugfix

Currently .avi files were not properly validated even when in accept array, .avi extension has been placed. This change is fixing this issue by modifying ExtensionMap const key for avi file extension.

While using file-type library for checking mime type of files, there is a need to apply the same value of returned mime-type (https://github.com/sindresorhus/file-type/blob/v10.11.0/index.js#L345)

mixalistzikas commented 2 years ago

Any idea when this gonna released? I'm waiting this fix for very long time