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

Dependecy critical bug with mime since 2.0 #3

Open
UlisesGascon opened this issue Dec 20, 2018 · 0 comments
Open

Dependecy critical bug with mime since 2.0 #3

UlisesGascon opened this issue Dec 20, 2018 · 0 comments
Assignees
Labels

Comments

@UlisesGascon
Copy link

Hi team!

There is a bug with mime dependency. There is a breaking change for lookup method since version 2.0. I will check this bug asap and see if I can perform a PR to fix it ;-)

.../node_modules/pillars/lib/Gangway.js:451
    var ct = mime.lookup(clientname);
                  ^

TypeError: mime.lookup is not a function
    at fileStream (.../node_modules/pillars/lib/Gangway.js:451:19)
    at Gzip.cb (../node_modules/pillars/lib/Gangway.js:419:17)
    at Gzip.zlibBufferOnEnd (zlib.js:124:10)
    at Gzip.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1098:12)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants