Packages

cookie

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

Upgrading cookie From 0.4.0 to 0.7.2

7 releases in betweenevery note read

Other targets from 0.4.0Clears its advisory0.7.0Latest2.0.1

Security

Fixes 1 advisory affecting 0.4.0

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

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

    0.4.2