# What changed in whatwg-mimetype

> 7 changes in whatwg-mimetype 3 to 5 from its official release notes, upgrade guides and advisories: 6 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/whatwg-mimetype/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## whatwg-mimetype 5

### Breaking changes

- MIMEType is now a named export instead of the default export. (5.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v5.0.0)
- Node.js v20 is now the minimum supported version. (5.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v5.0.0)
- The raw parsing and serialization APIs have been removed. (5.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v5.0.0)

### New APIs and options

- Adds MIME sniffing functionality via the computedMIMEType export. (5.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v5.0.0)

## whatwg-mimetype 4

### Breaking changes

- Node.js v18 is now the minimum supported version. (4.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v4.0.0)

## whatwg-mimetype 3

### Breaking changes

- isJavaScript() allows parameters by default; pass prohibitParameters: true to prohibit them. (3.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v3.0.0)
- Node.js v12 is now the minimum supported version. (3.0.0) — [release notes](https://github.com/jsdom/whatwg-mimetype/releases/tag/v3.0.0)
