-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: migrate to getSetCookie
#586
chore: migrate to getSetCookie
#586
Conversation
🦋 Changeset detectedLatest commit: d4d00ff The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Orca Security Scan Summary
Status | Check | Issues by priority | |
---|---|---|---|
Passed | Secrets | 0 0 0 0 | View in Orca |
e8c093d
to
cc10154
Compare
/** @deprecated use [`Headers#getSetCookie()`](https://developer.mozilla.org/en-US/docs/Web/API/Headers/getSetCookie) instead */ | ||
getAll?(key: 'set-cookie'): string[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we drop getAll
altogether as part of a major bump?
headers.raw()
which was anode-fetch
non-spec API https://github.com/node-fetch/node-fetch/blob/main/src/headers.js#L202 and seems to be a remaindergetAll()
, it was a non-spec version ofgetSetCookie
splitCookiesString
which was an implementation of splittingset-cookie
strings before eithergetSetCookie
orgetAll
existed.toLowerCase()
in some places, asHeaders
should already handle that