sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
7 changed
Release note
To install Dart Sass 1.15.3, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Properly merge
all andmedia queries. These queries were previously being merged as thoughallreferred to a specific media type, rather than all media types.Never remove units from 0 values in compressed mode. This wasn't safe in general, since some properties (such as
line-height) interpret0as a<number>rather than a<length>which can break CSS transforms. It's better to do this optimization in a dedicated compressor that's aware of CSS property semantics.Match Ruby Sass's behavior in some edge-cases involving numbers with many significant digits.
Emit escaped tab characters in identifiers as
\9rather than a backslash followed by a literal tab.
Command-Line Interface
The source map generated for a stylesheet read from standard input now uses a
data:URL to include that stylesheet's contents in the source map.
Node JS API
this.includePathsfor a running importer is now a;-separated string on Windows, rather than:-separated. This matches Node Sass's behavior.
Dart API
The URL used in a source map to refer to a stylesheet loaded from an importer is now
ImportResult.sourceMapUrlas documented.
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.