Packages

sass

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

Your version

1.4.0

28 May 2018Where it was published

1.108.2 is the newest release of 1.x.

In short

3 new3 changed

Release note

To install Dart Sass 1.4.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Improve the error message for invalid semicolons in the indented syntax.

  • Properly disallow semicolons after declarations in the indented syntax.

Command-Line Interface

  • Add support for compiling multiple files at once by writing sass input.scss:output.css. Note that unlike Ruby Sass, this always compiles files by default regardless of when they were modified.

    This syntax also supports compiling entire directories at once. For example, sass templates/stylesheets:public/css compiles all non-partial Sass files in templates/stylesheets to CSS files in public/css.

  • Add an --update flag that tells Sass to compile only stylesheets that have been (transitively) modified since the CSS file was generated.

Dart API

  • Add Importer.modificationTime() and AsyncImporter.modificationTime() which report the last time a stylesheet was modified.

Node API

  • Generate source maps when the sourceMaps option is set to a string and the outFile option is not set.

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.