Skip to content
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

deps: upgrade cookie, cookie-parser and cookie-session #6113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agungjati
Copy link

@agungjati agungjati commented Oct 31, 2024

Related: #6103 (comment)

@UlisesGascon UlisesGascon changed the title master-fix/upgrade-cookie deps: upgrade cookie Nov 1, 2024
@UlisesGascon UlisesGascon self-assigned this Nov 1, 2024
@UlisesGascon UlisesGascon changed the title deps: upgrade cookie deps: upgrade cookie, cookie-parser and cookie-session Nov 1, 2024
if (opts.maxAge === null){
delete opts.maxAge;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this somehow related to the updates? If so, please document why.

@@ -36,7 +36,7 @@
"body-parser": "^2.0.1",
"content-disposition": "^1.0.0",
"content-type": "~1.0.4",
"cookie": "0.7.1",
"cookie": "1.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blakeembrey can you comment on this? I believe the breaking changes in 1.x are passed through and so must go out with a major of express, but maybe I am wrong.

"cookie-parser": "1.4.6",
"cookie-session": "2.0.0",
"cookie-parser": "1.4.7",
"cookie-session": "2.1.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For all dep updates we are moving to ^ prefixes. This will need to be updated as well, but we prefer doing this in individual commits, so it is unlikely this PR would merge. You may want to open these independently so they can be merged.

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.

3 participants