tough-cookie
6.1.0 · 6 Nov 2026BSD-3-Clause202.3M / weekRepositorynpmAtom feed
Upgrading tough-cookie From 3.0.1 to 4.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 5
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
Security
1 advisory still affects 4.0.0
- tough-cookie Prototype Pollution vulnerabilitymoderate · GHSA-72xf-g2v4-qvf3
Upgrading to 4.1.3 clears it.
Release by release
- Breaking
Upgraded version dependencies for
pslandasync - Breaking
Re-order parameters for
findCookies()- callback fn has to be last in order to comply withuniversalify - Breaking
Use Classes instead of function prototypes to define classes
- New
SameSite cookie support
- Breaking
1 other line we could not sort, mostly version bumps
- 4.0.0
Use ESLint and Prettier to apply consistent, modern formatting (add dependency on
universalify,eslintandprettier)
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.