cookie
2.0.1 · 30 Jun 2026MIT314.8M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 35 releases- 2.x · latest line
2.0.0
24 Jun 2026Important: This release moves the package to ESM only. In node 22+ you can
require(esm), and older node versions are not supported.Changed
Switch to ESM (#273)
- removed
Remove deprecated code paths (#272)
The old
parseandstringifymethods have been renamed:parseCookieandstringifySetCookiestringifySetCookieonly supports object mode (e.g.{ name: "", value: "" })
Improvements
Fixed
Omit leading semicolon when stringifying cookies with skipped values
- 1.x · maintenance
Dependency tracking · free for 3 projects
Know when your own dependencies move
cookie shipped a new major in the last 12 months, among 4 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 4 Nov 2026. Releases and advisories last read 4 Nov 2026.