Packages

sass

1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed

Your version

1.15.0

14 Nov 2018Where it was published

1.108.2 is the newest release of 1.x.

In short

5 new2 changed

Release note

To install Dart Sass 1.15.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Add support for passing arguments to @content blocks. See [the proposal][content-args] for details.

  • Add support for the new rgb() and hsl() syntax introduced in CSS Colors Level 4, such as rgb(0% 100% 0% / 0.5). See [the proposal][color-4-rgb-hsl] for more details.

  • Add support for interpolation in at-rule names. See [the proposal][at-rule-interpolation] for details.

  • Add paths from the SASS_PATH environment variable to the load paths in the command-line interface, Dart API, and JS API. These load paths are checked just after the load paths explicitly passed by the user.

  • Allow saturation and lightness values outside of the 0% to 100% range in the hsl() and hsla() functions. They're now clamped to be within that range rather than producing an error if they're outside it.

  • Properly compile selectors that end in escaped whitespace.

[content-args]: github.com/sass/language/blob/master/accepted/c… [color-4-rgb-hsl]: github.com/sass/language/blob/master/accepted/c… [at-rule-interpolation]: github.com/sass/language/blob/master/accepted/a…

JavaScript API

  • Always include the error location in error messages.

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.