Packages

mime-types

3.0.2 · 20 Nov 2025MIT381.5M / weekRepositoryHomepagenpmAtom feed

Upgrading mime-types From 2.0.12 to 3.0.2

41 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.12Newest 2.x2.1.35
  1. 2.0.12yours
  2. 38 releases
  3. 3.0.0major
  4. 1 release
  5. 3.0.2target
1
change to make
0
advisories fixed
2
new
9
fixes

Before you upgrade

Tick each one off as you go
  • breaking3.0.0

Release by release

  1. 3.0.2

    20 Nov 20253 fixes
    • fixed

      Use ubuntu-latest as ci runner

    • fixed

      mime-score logic for mp4 types

    • fixed

      Update JSDoc to convey only false return

  2. 3.0.1

    26 Mar 20251 fix
    • fixed

      Update mime-db dependency to version 1.54.0

  3. 3.0.0

    Migration needed31 Aug 20241 new · 2 fixes
    • breaking

      Resolve extension conflicts with mime-score, close #116

    • new

      Add support for OSSF scorecard reporting

    • fixed

      Fix Node 8 and 9 tests, pin nyc version used for testing in Node 9 and 8

    • fixed

      mime-db@1.53.0

  4. 2.1.2 – 2.1.3534 releases, nothing new or fixed in the notes

  5. 2.1.1

    8 Jun 20151 new
    • new

      Fix deopt during mapping

  6. 2.1.0

    8 Jun 20153 fixes
    • fixed

      Fix incorrectly treating extension-less file name as extension

    • fixed

      Fix .charset(type) to accept parameters

    • fixed

      Fix .charset(type) to match case-insensitive

  7. 2.0.13 – 2.0.142 releases, nothing new or fixed in the notes

9 other lines we could not sort, mostly version bumps
  • Apply security best practices

    3.0.2
  • 🧪 add engines test

    3.0.2
  • Release 3.0.1

    3.0.1
  • Replace deprecated String.prototype.substr()

    3.0.0
  • v3: Remove node < 18 from CI matrix

    3.0.0
  • Improve generation of extension to MIME mapping

    2.1.0
  • Refactor internals for readability and no argument reassignment

    2.1.0
  • Prefer application/* MIME types from the same source

    2.1.0
  • Prefer any type over application/octet-stream

    2.1.0

52 internal lines (docs, tests, tooling) left out.