cookie
2.0.2 · 5 Nov 2026MIT346.8M / weekRepositoryHomepagenpmAtom feed
Your version
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
Expiresdates outside cookie year bounds - Breaking
Reject unsafe-integer
maxAge
Release note
Fixed
Perf optimize cookie value validation
Small convention cleanups
Reject
Expiresdates outside cookie year boundsReject 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.