sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
3 new1 changed
Release note
To install Sass 1.70.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JavaScript API
Add a
sass.initCompiler()function that returns asass.Compilerobject which supportscompile()andcompileString()methods with the same API as the global Sass object. On the Node.js embedded host, eachsass.Compilerobject uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient.Add a
sass.initAsyncCompiler()function that returns asass.AsyncCompilerobject which supportscompileAsync()andcompileStringAsync()methods with the same API as the global Sass object. On the Node.js embedded host, eachsass.AsynCompilerobject uses a single long-lived subprocess, making compiling multiple stylesheets much more efficient.
Embedded Sass
Support the
CompileRequest.silentfield. This allows compilations with no logging to avoid unnecessary request/response cycles.The Dart Sass embedded compiler now reports its name as "dart-sass" rather than "Dart Sass", to match the JS API's
infofield.
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.