Packages

cookie

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

Upgrading cookie From 0.3.1 to 0.7.2

8 releases in betweenevery note read

Other targets from 0.3.1Clears its advisory0.7.0Latest2.0.1
  1. 0.3.1yours
  2. 0.4.0major
  3. 0.4.1
  4. 0.4.2
  5. 0.5.0major
  6. 0.6.0major
  7. 0.7.0major
  8. 0.7.1
  9. 0.7.2target

Security

Fixes 1 advisory affecting 0.3.1

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

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

    0.4.2