sass
1.108.2 · 11 Nov 2026MIT44.8M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
1 deprecated
- Deprecated
Added
compileToResult(),compileStringToResult(),compileToResultAsync(), andcompileStringToResultAsync()methods. These are intended to replace the existingcompile*()methods, which are now deprecated. Rather than returning a simple string, these return aCompileResultobject, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Release note
To install Sass 1.36.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Dart API
- Deprecated
Added
compileToResult(),compileStringToResult(),compileToResultAsync(), andcompileStringToResultAsync()methods. These are intended to replace the existingcompile*()methods, which are now deprecated. Rather than returning a simple string, these return aCompileResultobject, which will allow us to add additional information about the compilation without having to introduce further deprecations.Instead of passing a
sourceMapscallback tocompile*(), passsourceMaps: truetocompile*ToResult()and accessCompileResult.sourceMap.The
CompileResultobject exposes aloadedUrlsobject which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.
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.