Packages

lightningcss

1.33.0 · 20 Jul 2026MPL-2.0259.9M / weekRepositoryHomepagenpmAtom feed

Upgrading lightningcss From 1.21.8 to 1.22.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.21.8Newest 1.x, Latest1.33.0
  1. 1.21.8yours
  2. 1.22.0target
0
changes to make
0
advisories fixed
2
new
4
fixes

Release by release

  1. 1.22.0

    17 Sep 20232 new · 4 fixes
    • New

      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). 🥳

    • New

      Support for parsing the @scope rule

    • Fixed

      Fix bugs merging rules containing :is and :-webkit-any

    • Fixed

      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.

    • Fixed

      Fix the version selector in the playground on lightningcss.dev

    • Fixed

      Updated the Vite usage docs now that it is built in

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.