cookie
2.0.1 · 30 Jun 2026MIT314.8M / weekRepositoryHomepagenpmAtom feed
Upgrading cookie From 0.0.2 to 0.7.0
23 releases in betweennotes for 16
Counted from 16 of 23 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking0.1.3
Security
Fixes 1 advisory affecting 0.0.2
- cookie accepts cookie name, path, and domain with out of bounds characterslow · GHSA-pxg6-pf52-xh8x
Release by release
- new
Parse cookies ~10% faster
- new
- new
Add
partitionedoption
- new
- new
Add
priorityoption
- new
0.4.2nothing new or fixed in the note
- fixed
Fix
maxAgeoption to reject invalid values
- fixed
- new
Add
SameSite=Nonesupport
- new
- fixed
Fix
sameSite: trueto work with draft-7 clients
- fixed
- new
Add
sameSiteoption
- new
6 other lines we could not sort, mostly version bumps
- 0.4.2
pref: Read value only when assigning in parse
- 0.3.0
Improve error message when
encodeis not a function - 0.3.0
Improve error message when
expiresis not aDate - 0.2.1
Throw on invalid values provided to
serialize - 0.2.0
Throw better error for invalid argument to parse
- 0.1.3
Reduce the scope of try-catch deopt