Packages

express

5.3.0 · 9 Oct 2026MIT207.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.6.0

12 Jul 2014Where it was published

4.22.3 is the newest release of 4.x.

In short

1 deprecated2 new2 faster2 fixed4 changed7 internal

  • Deprecated

    Deprecate res.redirect(url, status) -- use res.redirect(status, url) instead

Security

2 advisories affect 4.6.0; 4.20.0 fixes them

Release note

  • Accept multiple callbacks to app.use()

  • Add explicit "Rosetta Flash JSONP abuse" protection

    • previous versions are not vulnerable; this is just explicit protection

  • Catch errors in multiple req.param(name, fn) handlers

  • Deprecated

    Deprecate res.redirect(url, status) -- use res.redirect(status, url) instead

  • Fix res.send(status, num) to send num as json (not error)

  • Remove unnecessary escaping when res.jsonp returns JSON response

  • Support non-string path in app.use(path, fn)

    • supports array of paths

    • supports RegExp

  • router: Fix optimization on router exit

  • router: Refactor location of try blocks

  • router: Speed up standard app.use(fn)

  • Fix arguments reassign deopt in some res methods

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.