Automattic / knox

S3 Lib
MIT License
1.74k stars 285 forks source link

Use mime@^1.4.1 for API compatibility #328

Open jpreynat opened 6 years ago

jpreynat commented 6 years ago

Since the release of mime 2.0.0, the API has totally changed and the mime.lookup() function used in knox is not defined anymore.

This PR sets the version of mime to use in package.json to v1 to prevent errors due to these API breaking changes.