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

deps: update mime dep on new major version which still support NodeJS 6 #3760

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

Conversation

anthony-redFox
Copy link
Contributor

No description provided.

@anthony-redFox
Copy link
Contributor Author

Lock files was converted to version 2, let me know if need rollback

},
charsetLookup: function (mime) {
return require('mime').charsets.lookup(mime);
return (/^text\/|^application\/(javascript|json)/).test(mime) ? 'UTF-8' : undefined;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the line was copy from mime version 1, because version of 2 the functionality was removed

@jycr
Copy link

jycr commented Jan 11, 2023

Any news? Is it possible to merge this PR?

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.

None yet

2 participants