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

bump: tough-cookie version upgraded #3032

Closed
wants to merge 2 commits into from

Conversation

Bayheck
Copy link
Contributor

@Bayheck Bayheck commented Nov 20, 2024

Purpose

Punycode deprecation warning starting from Node 22

Approach

tough-cookie 4 has "secure" option in getCookieStringSync.
We use it to allow secure cookies access from localhost.

tough-cookie 5 does not have "secure" option.
It now gets it from protocol only which does not look whether it is localhost or not.
This is blocking us now to move from v4 to v5.
Perhaps v6 will include support for localhost.

References

There is an issue on this matter:
salesforce/tough-cookie#382

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

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.

2 participants