Skip to content

Use mime@^1.4.1 for API compatibility#328

Open
jpreynat wants to merge 1 commit intoAutomattic:masterfrom
jpreynat:master
Open

Use mime@^1.4.1 for API compatibility#328
jpreynat wants to merge 1 commit intoAutomattic:masterfrom
jpreynat:master

Conversation

@jpreynat
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant