Skip to content

Update dependency cookie to v2 - #292

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

Update dependency cookie to v2#292
renovate[bot] wants to merge 1 commit into
svelteKitfrom
renovate/cookie-2.x

Conversation

@renovate

@renovate renovate Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cookie ^1.1.1^2.0.0 age confidence

Release Notes

jshttp/cookie (cookie)

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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 these updates again.


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

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

@renovate
renovate Bot force-pushed the renovate/cookie-2.x branch from 24d3382 to 3a1d2cf Compare September 9, 2026 19:52
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