Skip to content

Update to mime current version 4.x #30144

@MikeMcC399

Description

@MikeMcC399

What would you like?

  1. Update the npm module mime to minimum [email protected] and preferably [email protected] (or current latest).
  2. Remove the use of the deprecated npm module @types/mime.

Why is this needed?

The npm module @types/mime is deprecated. The CHANGELOG shows "drop CJS support, switch to TS" in [email protected] and mime > README states "Built-in Typescript types (@types/mime no longer needed)".

Other

Item Value
Deprecated npm module @types/mime
npm registry message This is a stub types definition. mime provides its own type definitions, so you do not need this installed.
Other message
GitHub repo https://github.com/broofa/mime
Repo status Active
Replacement npm module https://www.npmjs.com/package/mime
Replacement repo https://github.com/broofa/mime
Replacement documentation https://github.com/broofa/mime
Migration docs https://github.com/broofa/mime

Where used:

Directory Version
packages/server "@types/mime": "3.0.1"
"mime": "2.6.0" "mime": "^3.0.0"
  • mime latest is currently 4.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    process: dependenciesRelated to internal dependenciestype: choreWork is required w/ no deliverable to end user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions