Packages

lightningcss

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

Your version

1.30.0

11 May 2025Where it was published

1.33.0 is the newest release of 1.x.

In short

1 breaking5 new7 fixed

  • Breaking

    Update relative color parsing to latest spec: colors now support numbers in addition to percentages, and calcs in colors are now always numbers. Note that this was technically a breaking change in the spec. You may need to update code using relative color calculations on percentages to use numbers instead. See the PR for details. – #465

Release note

Features

  • Breaking

    Update relative color parsing to latest spec: colors now support numbers in addition to percentages, and calcs in colors are now always numbers. Note that this was technically a breaking change in the spec. You may need to update code using relative color calculations on percentages to use numbers instead. See the PR for details. – #465

  • Update nesting implementation for new spec: It is now possible to nest selectors with pseudo elements, and declarations and nested rules can be interleaved. See web.dev/blog/css-nesting-cssnesteddeclarations for more details. – 6c465c1

  • Skip generating unnecessary @supports rules when already nested in a @supports rule – #878, d398c1b

  • Improve error recovery for media queries – #954

  • Add support for ::picker, ::picker-icon and ::checkmark – #957

  • Add build support for Android – #932

Fixes

  • Fix error message for invalid composes selectors – #948

  • Update browserslist – #961

  • Fix linear-gradient direction conversion for legacy vendor-prefixed values – #936

  • Prevent new lines in license comments from breaking source maps – #971

  • Do not inline layers before imports – 33ea2c1

  • Statically link Visual Studio redistributables on Windows builds – e5c4139

  • Update browser compat data – 17bdc80

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.