type-is
3.0.0 · 21 Sep 2026MIT211.4M / weekRepositoryHomepagenpmAtom feed
Upgrading type-is From 1.5.5 to 3.0.0
25 releases in betweenevery note read
Reading releases, release notes and advisories…
- 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
2.1.0 – 3.0.02 releases, nothing new or fixed in the notes
- new
Optimize argument handling in typeofrequest function
- new
- new
Add OSSF scorecard pipeline
- fixed
Fix ci pipeline
- new
- fixed
Fix regression passing request object to
typeis.is
- fixed
1.6.8 – 1.6.1710 releases, nothing new or fixed in the notes
- fixed
Fix type error when given invalid type to match against
- fixed
1.6.5 – 1.6.62 releases, nothing new or fixed in the notes
- breaking
Remove argument reassignment
- new
Enable strict mode
- breaking
12 other lines we could not sort, mostly version bumps
- 3.0.0
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-typesfrom the package, only has 3 built in "shortcuts" (e.g.json->application/json) - 2.1.0
Upgraded to
content-type@2for faster parsing - 2.0.1
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
19 internal lines (docs, tests, tooling) left out.