0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-21 19:38:58 +01:00
svelte/.changeset
Simon H 45fa678242
fix: account for :has(...) as part of :root (#14229)
We previously marked all `:root` selectors as global-like, which excempted them from further analysis. This causes problems:
- things like `:not(...)` are never visited and therefore never marked as used -> we gotta do that directly when coming across this
- `:has(...)` was never visited, too. Just marking it as used is not enough though, because we might need to scope its contents

Therefore the logic is enhanced to account for these special cases. Fixes #14118

While fixing this I cleaned up some inconsistencies in what we mark as global. This simplified code and fixed some adjacent bugs, which conindicentally also fixes #14189
2024-11-14 11:24:02 +01:00
..
beige-files-pull.md fix: account for :has(...) as part of :root (#14229) 2024-11-14 11:24:02 +01:00
config.json
great-bulldogs-wonder.md fix: account for :has(...) as part of :root (#14229) 2024-11-14 11:24:02 +01:00
hot-frogs-melt.md fix: use strict equality for key block comparisons in runes mode (#14285) 2024-11-13 09:24:56 +01:00
README.md

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation