Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mime 2.0 renames mime.lookup to mime.getType #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

mime 2.0 renames mime.lookup to mime.getType #8

wants to merge 1 commit into from

Conversation

mkrauser
Copy link

since no version constraints are specified in package.json, mime 2.0 breaks everything.

This PR specifies version constraints and uses mime 2.0

Lavos added a commit to Mobcrush/gulp-inline-base64 that referenced this pull request Sep 19, 2017
@glebinsky
Copy link

Didn't see this PR and just put one in with the same fix. Been over a month and should get either merged.

@glebinsky
Copy link

FYI the workaround is to add mime ^1 to package.json

@stz443
Copy link

stz443 commented Sep 26, 2019

At least in my case replacing, mime.lookup with mime.getType fixes the issue.
Could you please deploy this or fix the production version?
(I'm using this package in legacy software and as of now, because of this its broke ...)

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.

3 participants