Packages

sass

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

Upgrading sass From 1.39.2 to 1.40.0

1 release in betweenevery note read

Other targets from 1.39.2Newest 1.x, Latest1.108.2
  1. 1.39.2yours
  2. 1.40.0target
0
changes to make
0
advisories fixed
9
new
0
fixes

Release by release

  1. 1.40.0

    13 Sep 20219 new
    • New

      calc() expressions will be parsed more thoroughly, and errors will be highlighted where they weren't before. This may break your stylesheets, but only if they were already producing broken CSS.

    • New

      calc() expressions will be simplified where possible, and may even return numbers if they can be simplified away entirely.

    • New

      calc() expressions that can't be simplified to numbers return a new data type known as "calculations".

    • New

      Sass variables and functions can now be used in calc() expressions.

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.