Packages

express

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

Your version

4.2.0

12 May 2014Where it was published

4.22.3 is the newest release of 4.x.

In short

3 deprecated1 new1 fixed2 changed2 internal

  • Deprecated

    Deprecate app.del() -- use app.delete() instead

  • Deprecated

    Deprecate res.json(obj, status) -- use res.json(status, obj) instead

  • Deprecated

    Deprecate res.jsonp(obj, status) -- use res.jsonp(status, obj) instead

Security

3 advisories affect 4.2.0; 4.20.0 fixes them

Release note

  • Deprecated

    Deprecate app.del() -- use app.delete() instead

  • Deprecated

    Deprecate res.json(obj, status) -- use res.json(status, obj) instead

    • the edge-case res.json(status, num) requires res.status(status).json(num)

  • Deprecated

    Deprecate res.jsonp(obj, status) -- use res.jsonp(status, obj) instead

    • the edge-case res.jsonp(status, num) requires res.status(status).jsonp(num)

  • Fix req.next when inside router instance

  • Include ETag header in HEAD requests

  • Keep previous Content-Type for res.jsonp

  • Support PURGE method

    • add app.purge

    • add router.purge

    • include PURGE in app.all

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.