withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.93k stars 2.49k forks source link

prevents access to the history state if not set #12436

Closed martrapp closed 1 week ago

martrapp commented 1 week ago

Changes

do not access properties of the browsers history state if it is not defined

Testing

defensive coding, no additional test

Docs

n.a.

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: ed464bb1e1d5bb5422a4d8d39d0b7f07490f6c69

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

martrapp commented 1 week ago

Fixes #12435

codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #12436 will not alter performance

Comparing mt/npe (ed464bb) with main (e64ec5f)

Summary

✅ 6 untouched benchmarks