Packages

cookie

2.0.2 · 5 Nov 2026MIT346.8M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.2

Latest5 Nov 2026Where it was published

Summary· from the note as AI read it

Migration neededRead before upgrading: 2 changes to make.

Before you upgrade

  • Expires dates outside cookie year bounds now throw; check date inputs
  • maxAge values beyond safe integer range now throw; validate maxAge

New

  • Perf optimize cookie value validation

In short

2 breaking1 faster1 internal

  • Breaking

    Reject Expires dates outside cookie year bounds

  • Breaking

    Reject unsafe-integer maxAge

Release note

Fixed

  • Perf optimize cookie value validation

  • Small convention cleanups

  • Reject Expires dates outside cookie year bounds

  • Reject unsafe-integer maxAge

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.