Packages

sass

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

Your version

1.38.0

17 Aug 2021Where it was published

1.108.2 is the newest release of 1.x.

In short

2 new4 fixed4 changed

Release note

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

Changes

  • In expanded mode, emit characters in Unicode private-use areas as escape sequences rather than literal characters.

  • Fix a bug where quotes would be omitted for an attribute selector whose value was a single backslash.

  • Properly consider numbers that begin with . as "plain CSS" for the purposes of parsing plain-CSS min() and max() functions.

  • Allow if to be used as an unquoted string.

  • Properly parse backslash escapes within url() expressions.

  • Fix a couple bugs where @extends could be marked as unsatisfied when multiple identical @extends extended selectors across @use rules.

Command Line Interface

  • Strip CRLF newlines from snippets of the original stylesheet that are included in the output when an error occurs.

Js api

  • Don't crash when a Windows path is returned by a custom Node importer at the same time as file contents.

  • Don't crash when an error occurs in a stylesheet loaded via a custom importer with a custom URL scheme.

Dart API

  • Add a SassArgumentList.keywordsWithoutMarking getter to access the keyword arguments of an argument list without marking them accessed.

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.