Packages

type-is

3.0.0 · 21 Sep 2026MIT211.4M / weekRepositoryHomepagenpmAtom feed

Upgrading type-is From 1.5.1 to 3.0.0

29 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.5.1Newest 1.x1.6.18
  1. 1.5.1yours
  2. 10 releases
  3. 1.6.4breaking
  4. 14 releases
  5. 2.0.0major
  6. 2 releases
  7. 3.0.0target
1
change to make
0
advisories fixed
6
new
5
fixes

Before you upgrade

Tick each one off as you go
  • breaking1.6.4

Release by release

  1. 2.1.0 – 3.0.02 releases, nothing new or fixed in the notes

  2. 2.0.1

    27 Mar 20251 new
    • new

      Optimize argument handling in typeofrequest function

  3. 2.0.0

    31 Aug 20241 new · 1 fix
    • new

      Add OSSF scorecard pipeline

    • fixed

      Fix ci pipeline

  4. 1.6.18

    26 Apr 20191 fix
    • fixed

      Fix regression passing request object to typeis.is

  5. 1.6.8 – 1.6.1710 releases, nothing new or fixed in the notes

  6. 1.6.7

    20 Aug 20151 fix
    • fixed

      Fix type error when given invalid type to match against

  7. 1.6.5 – 1.6.62 releases, nothing new or fixed in the notes

  8. 1.6.4

    Migration needed2 Jul 20151 new
    • breaking

      Remove argument reassignment

    • new

      Enable strict mode

12 other lines we could not sort, mostly version bumps
  • Publish the package as ESM and bump to node 22 (#106)

    3.0.0
  • Publishes built-in types using TypeScript (#94)

    3.0.0
  • Refactors the API shape to a class (#103)

    3.0.0
  • Matches return the original input string (#109)

    3.0.0
  • Removes mime-types from the package, only has 3 built in "shortcuts" (e.g. json -> application/json)

    3.0.0
  • Upgraded to content-type@2 for faster parsing

    2.1.0
  • Refactor normalizeType function to simplify return statement

    2.0.1
  • Refactor tryNormalizeType function for cleaner code

    2.0.1
  • Replace deprecated String.prototype.substr()

    2.0.1
  • Release 2.0.1

    2.0.1

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