0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset/tough-cars-yawn.md
Chris Kanich fbac92f8bd
fix: clone session data on .set() (#12883)
* fix: clone session data on .set()

* weird race condition, +1 test for URL() thing

* cleanup

* ensure directory exists before using fs-lite sessions

* minor wording change

* alternate ensure-dir-exists implementation

* await session persistence before returning response

* update changeset

* formatting

* two changesets
2025-01-05 19:54:41 +00:00

5 lines
112 B
Markdown

---
'astro': patch
---
Fixes a bug where session data could be corrupted if it is changed after calling .set()