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

refactor: reuse localstorage logic for session-storage #530

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Dec 19, 2024

resolves #203 (rework of #338 -- by @thecotne ❤️)

session-storage logic is almost identical to localstorage driver. this PR reuses same logic of localstorage and adds generic options.

Copy link

cloudflare-workers-and-pages bot commented Dec 19, 2024

Deploying unstorage with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6d84040
Status: ✅  Deploy successful!
Preview URL: https://076fb0ba.unstorage.pages.dev
Branch Preview URL: https://refactor-session-to-local.unstorage.pages.dev

View logs

@pi0 pi0 merged commit ace0701 into main Dec 19, 2024
3 checks passed
@pi0 pi0 deleted the refactor/session-to-local branch December 19, 2024 07:21
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.

replace Session Storage and Local Storage drivers with Web Storage driver
1 participant