Division deprecation warning
Closed this issue · 2 comments
crenes commented
In Dart Sass 2.0.0, using / for division is deprecated and will be removed.
It has to be replaced with math.div().
tiramiseb commented
Same warning encontered here.
The deprecation warning says:
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(20em, 14)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
7 │ $la-li-width: (20em / 14) !default;
│ ^^^^^^^^^
╵
node_modules/line-awesome/dist/line-awesome/scss/_variables.scss 7:16 @import
node_modules/line-awesome/dist/line-awesome/scss/line-awesome.scss 3:9 @import
src/main.scss 24:9 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(4em, 14)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
17 │ left: -$la-li-width + (4em / 14);
│ ^^^^^^^^
╵
node_modules/line-awesome/dist/line-awesome/scss/_list.scss 17:28 @import
node_modules/line-awesome/dist/line-awesome/scss/line-awesome.scss 7:9 @import
src/main.scss 24:9 root stylesheet
Stichoza commented
This package was last updated on npm 3 years ago, would be cool if you could push a new tag to make this changes available on npm 🙌🏼