cookie
2.0.2 · 5 Nov 2026MIT346.8M / weekRepositoryHomepagenpmAtom feed
Upgrading cookie From 1.1.1 to 2.0.2
3 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.0.0
Release by release
2.0.1 – 2.0.22 releases, nothing new or fixed in the notes
8 other lines we could not sort, mostly version bumps
- 2.0.2
Perf optimize cookie value validation
- 2.0.2
Small convention cleanups
- 2.0.2
Reject
Expiresdates outside cookie year bounds - 2.0.2
Reject unsafe-integer
maxAge - 2.0.1
Small performance improvement by incrementing
=index while parsingset-cookie(#280) - 2.0.0
Switch to ESM (#273)
- 2.0.0
Apply
encodeto empty cookie values (#277) - 2.0.0
Omit leading semicolon when stringifying cookies with skipped values
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.