Vigia

Upgrading mime from 3.x to 4.x

Comparison of the public API of mime 3.0.0 and 4.1.2, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths2
Removed exports1
Changed signatures0
Removed class or interface members0
Changed class or interface members0
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports2

Removed import paths

Removed import paths
mime/Mime
mime/lite

Removed exports

importexportkindBefore
mimeTypeMapinterfaceinterface

Changed signatures

None detected.

Removed class or interface members

None detected.

Changed class or interface members

None detected.

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node>=10.0.0—
New exports (2)
importexportkind
mimeMimeclass
mimedefaultvariable

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading mime from 3 to 4?

Between mime 3.0.0 and 4.1.2, Vigia found 1 removed exports, 0 changed signatures and 0 removed or changed class or interface members.

What became deprecated in mime 4?

0 exports or members are newly marked as deprecated in mime 4.1.2.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/mime/upgrade?from=3.0.0&to=4.1.2