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

fix(persist-web-storage): fix cookie availability check #836

Merged
merged 1 commit into from
May 3, 2024

Conversation

Laniman
Copy link
Contributor

@Laniman Laniman commented May 2, 2024

Reasoning for Changes:

The previous check for cookie availability could return an incorrect result if globalThis.document.cookie is an empty string. This has been fixed by using the in operator, which correctly checks for the presence of the cookie property in globalThis.document.

Copy link

stackblitz bot commented May 2, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented May 2, 2024

@Laniman is attempting to deploy a commit to the artalar's projects Team on Vercel.

A member of the Team first needs to authorize it.

@artalar artalar merged commit 8da6fe3 into artalar:v3 May 3, 2024
2 of 3 checks passed
@github-actions github-actions bot mentioned this pull request May 3, 2024
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