Packages

sass

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

Upgrading sass From 1.40.1 to 1.41.0

1 release in betweenevery note read

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

Release by release

  1. 1.41.0

    14 Sep 20212 fixes
    • Fixed

      Fix a bug where extra whitespace in min(), max(), clamp(), and calc() expressions could cause bogus parse errors.

    • Fixed

      Fix a bug where the right-hand operand of a - in a calculation could incorrectly be stripped of parentheses.

3 other lines we could not sort, mostly version bumps
  • Calculation values can now be combined with strings using the + operator. This was an error in 1.40.0, but this broke stylesheets that were relying on $value + "" expressions to generically convert values to strings. (Note that the Sass team recommends the use of "#{$value}" or inspect($value) for that use-case.)

    1.41.0
  • The selector.unify() function now correctly returns null when one selector is a :host or :host-context and the other is a selector that's guaranteed to be within the current shadow DOM. The @extend logic has been updated accordingly as well.

    1.41.0
  • SassCalculation.plus() now allows SassString arguments.

    1.41.0

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.