tough-cookie
6.1.0 · 6 Nov 2026BSD-3-Clause202.3M / weekRepositorynpmAtom feed
Upgrading tough-cookie From 5.1.2 to 6.0.0
1 release 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- Breaking6.0.0
Release by release
- Breaking
Localhost connections over
httpwill now be considered secure by default. For more information, see the README documentation and API Docs for how to configure this feature. - New
Add RFC 6761–compliant localhost loopback checks so secure cookies work on localhost (fixes: #382)
- New
Support publishing of both ESM and CJS
- Breaking
16 other lines we could not sort, mostly version bumps
- 6.0.0
Dual publishing of ESM+CJS
- 6.0.0
Bump the dev-dependencies group with 10 updates
- 6.0.0
Bump tldts from 6.1.76 to 6.1.79 in the production-dependencies group
- 6.0.0
Bump tldts from 6.1.83 to 6.1.85 in the production-dependencies group
- 6.0.0
Bump the dev-dependencies group with 9 updates
- 6.0.0
Use ESM instead of CJS
- 6.0.0
Switch from jest to vitest
- 6.0.0
Prepare release v6.0.0-rc.0
- 6.0.0
Bump the dev-dependencies group with 12 updates
- 6.0.0
Bump tldts from 7.0.5 to 7.0.8 in the production-dependencies group
5 internal lines (docs, tests, tooling) left out.
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.