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

feat: mark MIMEType as stable #56548

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

metcoder95
Copy link
Member

The PR proposes to graduate MIMEType utility class from experimental to stable (or drop it completely, also a possible option).

This class was introduced in Node.js v19.1.0 and v18.13.0 as an experimental feature (circa 2 years ago). It provides a utility class for working with MIME types.

The number of issues and PRs related to this class has been minimal and the API has not suffer biggest changes since its introduction.
Most of the issues related to it has been for extensions or mere references to it.

Its adoption can be considered as lower in range, doing a quick search of new MIMEType in GitHub, seems to throw a vast majority of results
related to the whatwg-mime userland library (util.MIMEType is also based on WHATWG MIME Type spec.).

Note: It is hard to guess the possible reasons for the low adoption of this class, but it could be due to the fact that the class is not widely known and/or due to its known limitations.

These are the few known limitations of the class:

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. util Issues and PRs related to the built-in util module. labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants