Skip to content

Update dependency cookie to v2 - #863

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cookie-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/cookie-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cookie 1.1.1 → 2.0.2 age confidence

Release Notes

jshttp/cookie (cookie)

v2.0.2

Compare Source

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: jshttp/cookie@v2.0.1...v2.0.2

v2.0.1

Compare Source

Improved:

  • Small performance improvement by incrementing = index while parsing set-cookie (#​280)

v2.0.0

Compare Source

Important: This release moves the package to ESM only. In node 22+ you can require(esm), and older node versions are not supported.

Changed

  • Switch to ESM (#​273)
  • Remove deprecated code paths (#​272)
    • The old parse and stringify methods have been renamed: parseCookie and stringifySetCookie
    • stringifySetCookie only supports object mode (e.g. { name: "", value: "" })

Improvements

  • Faster stringify cookie (#​262)
  • Optimize encode performance (#​269)
  • Apply encode to empty cookie values (#​277)

Fixed

  • Omit leading semicolon when stringifying cookies with skipped values (#​267)

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
auth-v2 Error Error Nov 25, 2026 10:13pm UTC
auth-v2-docs Error Error Nov 25, 2026 10:13pm UTC
convex-auth-docs Error Error Nov 25, 2026 10:13pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
auth-v1-docs Ignored Ignored Nov 25, 2026 10:13pm UTC

Request Review

This branch had an error being deployed

3 failed (2 outdated) deployments
Preview – auth-v2-docs — 24f72a55 Deployed Nov 25, 2026 by vercel[bot]
Preview – auth-v2 — de2d77e5 Deployed Nov 11, 2026 by vercel[bot]
Preview – convex-auth-docs — de2d77e5 Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants