sass
1.108.2 · 11 Nov 2026MIT44.8M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
2 fixed3 changed
Release note
To install Sass 1.41.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Calculation values can now be combined with strings using the
+operator. This was an error in 1.40.0, but this broke stylesheets that were relying on$value + ""expressions to generically convert values to strings. (Note that the Sass team recommends the use of"#{$value}"orinspect($value)for that use-case.)The
selector.unify()function now correctly returnsnullwhen one selector is a:hostor:host-contextand the other is a selector that's guaranteed to be within the current shadow DOM. The@extendlogic has been updated accordingly as well.Fix a bug where extra whitespace in
min(),max(),clamp(), andcalc()expressions could cause bogus parse errors.Fix a bug where the right-hand operand of a
-in a calculation could incorrectly be stripped of parentheses.
Dart API
SassCalculation.plus()now allowsSassStringarguments.
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.