sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
1 breaking1 fixed9 changed
- Breaking
Potentially breaking bug fix: The
invert()function now throws an error if it's used [as a plain CSS function][plain-CSS invert] and the Sass-only$weightparameter is passed. This never did anything useful, so it's considered a bug fix rather than a full breaking change.
Release note
To install Dart Sass 1.22.3, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Potentially breaking bug fix: The argument name for the
saturate()function is now$amount, to match the name in LibSass and originally in Ruby Sass.Potentially breaking bug fix: The
invert()function now properly returns#808080when passed$weight: 50%. This matches the behavior in LibSass and originally in Ruby Sass, as well as being consistent with other nearby values of$weight.- Breaking
Potentially breaking bug fix: The
invert()function now throws an error if it's used as a plain CSS function and the Sass-only$weightparameter is passed. This never did anything useful, so it's considered a bug fix rather than a full breaking change. Potentially breaking bug fix: The
str-insert()function now properly inserts at the end of the string if the$indexis-1. This matches the behavior in LibSass and originally in Ruby Sass.Potentially breaking bug fix: An empty map returned by
map-remove()is now treated as identical to the literal value(), rather than being treated as though it had a comma separator. This matches the original behavior in Ruby Sass.The
adjust-color()function no longer throws an error when a large$alphavalue is combined with HSL adjustments.The
alpha()function now produces clearer error messages when the wrong number of arguments are passed.Fix a bug where the
str-slice()function could produce invalid output when passed a string that contains characters that aren't represented as a single byte in UTF-16.Improve the error message for an unknown separator name passed to the
join()orappend()functions.The
zip()function no longer deadlocks if passed no arguments.The
map-remove()function can now take a$keynamed argument. This matches the signature in LibSass and originally in Ruby Sass.
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.