Packages

cookie

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

Upgrading cookie From 1.1.0 to 2.0.1

3 releases in betweenevery note read

Other targets from 1.1.0Newest 1.x1.1.1
  1. 1.1.0yours
  2. 1.1.1
  3. 2.0.0major
  4. 2.0.1target
1
change to make
0
advisories fixed
2
new
0
fixes

Before you upgrade

Tick each one off as you go
  • breaking2.0.0

Release by release

  1. 2.0.1nothing new or fixed in the note

  2. 2.0.0

    Migration needed24 Jun 20262 new
    • breaking

      Remove deprecated code paths (#272)

    • new

      Faster stringify cookie

    • new

      Optimize encode performance (#269)

  3. 1.1.1nothing new or fixed in the note

5 other lines we could not sort, mostly version bumps
  • Small performance improvement by incrementing = index while parsing set-cookie (#280)

    2.0.1
  • Switch to ESM (#273)

    2.0.0
  • Apply encode to empty cookie values (#277)

    2.0.0
  • Omit leading semicolon when stringifying cookies with skipped values

    2.0.0
  • Overwrite value in passed in options (#253) c66147c

    1.1.1