sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
2 new1 changed
Release note
To install Dart Sass 1.25.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Add functions to the built-in "sass:math" module.
clamp($min, $number, $max). Clamps$numberin between$minand$max.hypot($numbers...). Given n numbers, outputs the length of the n-dimensional vector that has components equal to each of the inputs.Exponential. All inputs must be unitless. *
log($number)orlog($number, $base). If no base is provided, performs a natural log. *pow($base, $exponent)*sqrt($number)Trigonometric. The input must be an angle. If no unit is given, the input is assumed to be in
rad. *cos($number)*sin($number)*tan($number)Inverse trigonometric. The output is in
deg. *acos($number). Input must be unitless. *asin($number). Input must be unitless. *atan($number). Input must be unitless. *atan2($y, $x).$yand$xmust have compatible units or be unitless.
Add the variables
$piand$eto the built-in "sass:math" module.
JavaScript API
constructor.valuefields on value objects now match their Node Sass equivalents.
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.