sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
1 breaking2 new3 fixed
- Breaking
Explicitly require that importers'
canonicalize()methods be able to take paths relative to their outputs as valid inputs. This isn't considered a breaking change because the importer infrastructure already required this in practice.
Release note
To install Dart Sass 1.18.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Avoid recursively listing directories when finding the canonical name of a file on case-insensitive filesystems.
Fix importing files relative to
package:-imported files.Don't claim that "package:" URLs aren't supported when they actually are.
Command-Line Interface
Add a
--no-charsetflag. If this flag is set, Sass will never emit a@charsetdeclaration or a byte-order mark, even if the CSS file contains non-ASCII characters.
Dart API
Add a
charsetoption tocompile(),compileString(),compileAsync()andcompileStringAsync(). If this option is set tofalse, Sass will never emit a@charsetdeclaration or a byte-order mark, even if the CSS file contains non-ASCII characters.- Breaking
Explicitly require that importers'
canonicalize()methods be able to take paths relative to their outputs as valid inputs. This isn't considered a breaking change because the importer infrastructure already required this in practice.
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.