npm / whatwg-mimetype
whatwg-mimetype
What changed in whatwg-mimetype 3 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
6 breaking1 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initwhatwg-mimetype 54 changes
Breaking changes 3
MIMEType is now a named export instead of the default export.
Node.js v20 is now the minimum supported version.
The raw parsing and serialization APIs have been removed.
New APIs and options 1
Adds MIME sniffing functionality via the computedMIMEType export.
whatwg-mimetype 41 changes
Breaking changes 1
Node.js v18 is now the minimum supported version.
whatwg-mimetype 32 changes
Breaking changes 2
isJavaScript() allows parameters by default; pass prohibitParameters: true to prohibit them.
Node.js v12 is now the minimum supported version.