Packages

cookie

2.0.1 · 30 Jun 2026MIT314.8M / weekRepositoryHomepagenpmAtom feed

Upgrading cookie From 0.0.6 to 0.7.2

21 releases in betweennotes for 18

Other targets from 0.0.6Clears its advisory0.7.0Latest2.0.1
  1. 0.0.6yours
  2. 0.1.0major
  3. 5 releases
  4. 0.2.0major
  5. 4 releases
  6. 0.3.0major
  7. 1 release
  8. 0.4.0major
  9. 2 releases
  10. 0.5.0major
  11. 0.6.0major
  12. 0.7.0major
  13. 1 release
  14. 0.7.2target
1+
change to make
1
advisory fixed
12+
new
6+
fixes

Counted from 18 of 21 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking0.1.3

Security

Fixes 1 advisory affecting 0.0.6

Release by release

  1. 0.7.2

    7 Oct 20241 fix
    • fixed

      Fix object assignment of hasOwnProperty (#177) bc38ffd

  2. 0.7.1

    3 Oct 20242 new
    • new

      Allow leading dot for domain

    • new

      Add fast path for serialize without options, use obj.hasOwnProperty when parsing

  3. 0.7.0

    2 Oct 20241 new
    • new

      Parse cookies ~10% faster

  4. 0.6.0

    7 Nov 20231 new
    • new

      Add partitioned option

  5. 0.5.0

    11 Apr 20221 new
    • new

      Add priority option

  6. 0.4.2nothing new or fixed in the note

  7. 0.4.1

    22 Apr 20201 fix
    • fixed

      Fix maxAge option to reject invalid values

  8. 0.4.0

    16 May 20191 new
    • new

      Add SameSite=None support

6 other lines we could not sort, mostly version bumps
  • pref: Read value only when assigning in parse

    0.4.2
  • Improve error message when encode is not a function

    0.3.0
  • Improve error message when expires is not a Date

    0.3.0
  • Throw on invalid values provided to serialize

    0.2.1
  • Throw better error for invalid argument to parse

    0.2.0
  • Reduce the scope of try-catch deopt

    0.1.3