Packages

tough-cookie

6.1.0 · 6 Nov 2026BSD-3-Clause202.3M / weekRepositorynpmAtom feed

Upgrading tough-cookie From 6.0.1 to 6.1.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 6.0.1yours
  2. 6.0.2
  3. 6.1.0target
0
changes to make
0
advisories fixed
1
new
1
fix

Release by release

  1. 6.1.0

    6 Nov 20261 new
    • New

      New exported PrefixSecurityMode type for the prefixSecurity option (#659, #667).

  2. 6.0.2

    7 Jul 20261 fix
    • Fixed

      Avoid decoding URL authority part

7 other lines we could not sort, mostly version bumps
  • __Host- cookies now need an explicit Path=/ attribute. Having the default path come out as / is no longer enough (#608).

    6.1.0
  • Cookie.validate() now returns false for names that aren't valid HTTP tokens, such as empty names, names with separators or control characters, and non-ASCII names. Parsing and storage are unchanged (#650).

    6.1.0
  • An explicit SameSite=None is now kept when serializing with Cookie.toString() and getSetCookieStrings(); it used to be dropped (#639).

    6.1.0
  • An IPv4 address in the Domain attribute is now accepted instead of being treated as a public suffix (#630).

    6.1.0
  • The getCookiesSync, getCookieString*, getSetCookieStrings* and setCookieSync methods now accept a URL as well as a string, matching their async counterparts (#655).

    6.1.0
  • Review Section 5.1.3. Domain Matching

    6.0.2
  • Dependency bumps in too many PRs to bother enumerating

    6.0.2

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.