Packages

sass

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

Your version

1.33.0

21 May 2021Where it was published

1.108.2 is the newest release of 1.x.

In short

1 deprecated2 new2 fixed3 changed

  • Deprecated

    Deprecate the use of / for division. The new math.div() function should be used instead. See [this page] for details.

Release note

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

Changes

  • Deprecated

    Deprecate the use of / for division. The new math.div() function should be used instead. See this page for details.

  • Add a list.slash() function that returns a slash-separated list.

  • Potentially breaking bug fix: The heuristics around when potentially slash-separated numbers are converted to slash-free numbers—for example, when 1/2 will be printed as 0.5 rather than 1/2—have been slightly expanded. Previously, a number would be made slash-free if it was passed as an argument to a user-defined function, but not to a built-in function. Now it will be made slash-free in both cases. This is a behavioral change, but it's unlikely to affect any real-world stylesheets.

  • :is() now behaves identically to :matches().

  • Fix a bug where non-integer numbers that were very close to integer values would be incorrectly formatted in CSS.

  • Fix a bug where very small number and very large negative numbers would be incorrectly formatted in CSS.

Js api

  • The this context for importers now has a fromImport field, which is true if the importer is being invoked from an @import and false otherwise. Importers should only use this to determine whether to load import-only files.

Dart API

  • Add an Importer.fromImport getter, which is true if the current Importer.canonicalize() call comes from an @import rule and false otherwise. Importers should only use this to determine whether to load import-only files.

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.