parcel-bundler/lightningcss (lightningcss)
### [`v1.22.0`](https://togithub.com/parcel-bundler/lightningcss/releases/tag/v1.22.0)
[Compare Source](https://togithub.com/parcel-bundler/lightningcss/compare/v1.21.8...v1.22.0)
#### Added
- Updated CSS nesting to the latest spec which allows element selectors to be nested without a preceding `&` selector. Since it is shipping in all major browsers, nesting support is now enabled by default (no need to add to the `drafts` config). 🥳
- Support for parsing the [@scope](https://drafts.csswg.org/css-cascade-6/#scoped-styles) rule
#### Fixed
- Fix bugs merging rules containing `:is` and `:-webkit-any`
- Fix specificity of `:not` selector list down leveling. Instead of `:not(.a, .b)` compiling to `:not(.a):not(.b)`, it now compiles to `:not(:is(.a, .b))` (down leveled to `:-webkit-any` if needed). This preserves the specificity rather than raising it for each `:not`.
- Fix the version selector in the playground on lightningcss.dev
- Updated the Vite usage docs now that it is built in
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.21.8
->1.22.0
Release Notes
parcel-bundler/lightningcss (lightningcss)
### [`v1.22.0`](https://togithub.com/parcel-bundler/lightningcss/releases/tag/v1.22.0) [Compare Source](https://togithub.com/parcel-bundler/lightningcss/compare/v1.21.8...v1.22.0) #### Added - Updated CSS nesting to the latest spec which allows element selectors to be nested without a preceding `&` selector. Since it is shipping in all major browsers, nesting support is now enabled by default (no need to add to the `drafts` config). 🥳 - Support for parsing the [@scope](https://drafts.csswg.org/css-cascade-6/#scoped-styles) rule #### Fixed - Fix bugs merging rules containing `:is` and `:-webkit-any` - Fix specificity of `:not` selector list down leveling. Instead of `:not(.a, .b)` compiling to `:not(.a):not(.b)`, it now compiles to `:not(:is(.a, .b))` (down leveled to `:-webkit-any` if needed). This preserves the specificity rather than raising it for each `:not`. - Fix the version selector in the playground on lightningcss.dev - Updated the Vite usage docs now that it is built inConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.