Packages

mime-types

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

Upgrading mime-types From 1.0.0 to 3.0.2

56 releases in betweennotes for 42

Reading releases, release notes and advisories…

Other targets from 1.0.0Newest 1.x1.0.2
2.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 1.0.0yours
  2. 2 releases
  3. 2.0.0major
  4. 50 releases
  5. 3.0.0major
  6. 1 release
  7. 3.0.2target
1+
change to make
0
advisories fixed
2+
new
9+
fixes

Counted from 42 of 56 release notes. Advisories are counted from the advisory database, in full.

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. 1.0.1 – 2.0.1417 releases, nothing new or fixed; 14 without a note

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

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