Skip to content

Update dependency cookie to v2 - #1143

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

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

Conversation

@renovate

@renovate renovate Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cookie ^1.0.2^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 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.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/cookie-2.x branch from 8ddf73c to f61be0c Compare June 30, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants