SASS 1.77.8 deprecation warnings

Created on 11 July 2024, about 2 months ago
Updated 8 August 2024, about 1 month ago

Problem/Motivation

I got SASS 1.77.8 deprecation warnings.

Steps to reproduce

Full output here: https://pastebin.com/kxFW0TpS

> lando yarn sass --version 
yarn run v1.22.19
$ /app/web/themes/custom/tm/node_modules/.bin/sass --version
1.77.8 compiled with dart2js 3.4.4

> yarn add sass
> yarn sass scss/style.scss css/style.css
$ /app/web/themes/custom/tm/node_modules/.bin/sass scss/style.scss css/style.css
Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls

    ┌──> ../../contrib/bootstrap5/dist/bootstrap/5.3.3/scss/_type.scss
38  │       font-family: $display-font-family;
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
    ╵
    ┌──> ../../contrib/bootstrap5/dist/bootstrap/5.3.3/scss/vendor/_rfs.scss

Proposed resolution

It's OK for SASS 1.77.6.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇷🇺Russia Nikit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024