You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in that old PR, I created the mime-score module to encapsulate the logic used by mime to resolve extension conflicts in mime types. I think it would be helpful to users of mime and mime-types if both libs used the same logic.
I'll put up a PR for that (again), but the main issue with that previous PR was that mime-score didn't support node@0.6. I suspect that's no longer a concern? It'd be nice to not have to worry about that, and to be able to develop using reasonably modern language features. See #115 for further discussion there.
[Edit to add: The current support matrix is maybe even more relevent than I thought. 'Just realized that I ported mime-score to typescript last year, and it's currently built for ESNext. So, it works on node@14 but breaks on node@12.]
The text was updated successfully, but these errors were encountered:
broofa
added a commit
to broofa/mime-types
that referenced
this issue
Dec 12, 2023
[See #42 for long-ago discussion of this idea.]
As noted in that old PR, I created the
mime-score
module to encapsulate the logic used bymime
to resolve extension conflicts in mime types. I think it would be helpful to users ofmime
andmime-types
if both libs used the same logic.I'll put up a PR for that (again), but the main issue with that previous PR was that
mime-score
didn't support node@0.6. I suspect that's no longer a concern? It'd be nice to not have to worry about that, and to be able to develop using reasonably modern language features. See #115 for further discussion there.[Edit to add: The current support matrix is maybe even more relevent than I thought. 'Just realized that I ported
mime-score
to typescript last year, and it's currently built forESNext
. So, it works onnode@14
but breaks onnode@12
.]The text was updated successfully, but these errors were encountered: