github jshttp/cookie v2.0.2

17 days ago

Fixed

  • Perf optimize cookie value validation by @blakeembrey in #285
  • Small convention cleanups by @blakeembrey in #284
  • Reject Expires dates outside cookie year bounds by @offyotto in #290
    • If your cookie expires is outside year 1601–9999 you will need to clamp the date yourself to the maximum value
  • Reject unsafe-integer maxAge by @spokodev in #286
    • If your maxAge is larger than Number.MAX_SAFE_INTEGER you will need to clamp it for safety when serializing

Full Changelog: v2.0.1...v2.0.2

Don't miss a new cookie release

NewReleases is sending notifications on new releases.