Packages

sass

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

Your version

1.18.0

8 Apr 2019Where it was published

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-charset flag. If this flag is set, Sass will never emit a @charset declaration or a byte-order mark, even if the CSS file contains non-ASCII characters.

Dart API

  • Add a charset option to compile(), compileString(), compileAsync() and compileStringAsync(). If this option is set to false, Sass will never emit a @charset declaration 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.