sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
2 fixed6 changed
Release note
To install Sass 1.79.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Changes to how
selector.unify()and@extendcombine selectors:The relative order of pseudo-classes (like
:hover) and pseudo-elements (like::before) within each original selector is now preserved when they're combined.Pseudo selectors are now consistently placed at the end of the combined selector, regardless of which selector they came from. Previously, this reordering only applied to pseudo-selectors in the second selector.
Tweak the color transformation matrices for OKLab and OKLCH to match the newer, more accurate values in the CSS spec.
Fix a slight inaccuracy case when converting to
srgb-linearanddisplay-p3.Potentially breaking bug fix:
math.unit()now wraps multiple denominator units in parentheses. For example,px/(em*em)instead ofpx/em*em.
Command-Line Interface
Use
@parcel/watcherto watch the filesystem when running from JavaScript and not using--poll. This should mitigate more frequent failures users have been seeing since version 4.0.0 of Chokidar, our previous watching tool, was released.
Js api
Fix
SassColor.interpolate()to allow an undefinedoptionsparameter, as the types indicate.
Embedded Sass
Properly pass missing color channel values to and from custom functions.
See the full changelog for changes in earlier releases.
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.