npm / http-errors
http-errors
What changed in http-errors 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
7 breaking1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithttp-errors 28 changes
Breaking changes 7
Status code 306 was removed.
The status message for 425 was renamed from Unordered Collection to Too Early.
The I'mateapot export was removed; use ImATeapot instead.
Use ImATeapot in place of the removed I'mateapot export.
Support for Node.js 0.6 was dropped.
The status argument can no longer be passed as a non-first argument.
The UnorderedCollection constructor was renamed to TooEarly.
Fixes and other changes 1
The message casing for 418 I'm a Teapot was fixed.