Packages

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…

Other targets from 3.0.1Clears its advisory4.1.3Latest6.1.0
  1. 3.0.1yours
  2. 4.0.0target
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

Upgrading to 4.1.3 clears it.

Release by release

  1. 4.0.0

    Migration needed19 Mar 20205 new
    • Breaking

      Upgraded version dependencies for psl and async

    • Breaking

      Re-order parameters for findCookies() - callback fn has to be last in order to comply with universalify

    • Breaking

      Use Classes instead of function prototypes to define classes

    • New

      SameSite cookie support

1 other line we could not sort, mostly version bumps
  • Use ESLint and Prettier to apply consistent, modern formatting (add dependency on universalify, eslint and prettier)

    4.0.0

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.