faker icon indicating copy to clipboard operation
faker copied to clipboard

Remove mime-db and use a small common set of mime-types

Open ST-DDT opened this issue 3 years ago • 0 comments

Clear and concise description of the problem

The mime-db is very large and most of the extensions are never used by anyone.

Also, not all mime-db entries pass the validator.js#isMimeType check.

grafik

Suggested solution

Replace mime-db with a custom/common/useful set of mime types

Alternative

Filter all mime-db entries to ensure they satisfy the validator.js#isMimeType check.

Additional context

No response

ST-DDT avatar Aug 29 '22 14:08 ST-DDT