gulp-inline-base64 icon indicating copy to clipboard operation
gulp-inline-base64 copied to clipboard

mime 2.0 renames mime.lookup to mime.getType

Open mkrauser opened this issue 7 years ago • 3 comments

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

This PR specifies version constraints and uses mime 2.0

mkrauser avatar Sep 14 '17 09:09 mkrauser

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

glebinsky avatar Oct 31 '17 15:10 glebinsky

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

glebinsky avatar Oct 31 '17 18:10 glebinsky

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 ...)

stz443 avatar Sep 26 '19 13:09 stz443