unstale

npm / set-cookie-parser

set-cookie-parser

What changed in set-cookie-parser 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 breaking2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

set-cookie-parser 34 changes

Breaking changes 2

  • Unparsable Expires values are dropped instead of being added to the cookie object as an Invalid Date.

    3.1.4release notes

  • Invalid Max-Age values are dropped instead of being coerced to a number.

    3.1.4release notes

Fixes and other changes 2

  • Whitespace is now correctly trimmed around cookie names and values.

    3.1.3release notes

  • Parsing a set-cookie string with no name-value pair, such as parseSetCookie(";"), no longer throws.

    3.1.2release notes