JohnAlbin / normalize-scss

This is the Sass version of Normalize.css, a collection of HTML element and attribute rulesets to normalize styles across all browsers.
https://github.com/JohnAlbin/normalize-scss#latest-versions
MIT License
1.44k stars 254 forks source link

Replace deprecated slash division by math.div() to prepare for Dart Sass 2.0.0 #149

Closed kippsterr closed 1 year ago

kippsterr commented 3 years ago

Since Dart Sass 1.33.0 deprecation warnings regarding using slash for divisions are printed to the console when using normalize-scss in the same project. In order to prepare for the Dart Sass 2.0.0 release and to make sure that normalize-scss can be used in the future, the affected code parts have to be updated.

A blog post on the topic can be found here: https://sass-lang.com/documentation/breaking-changes/slash-div.

The issue has already been reported in the main repository here: https://github.com/JohnAlbin/normalize-scss/issues/148.

This PR now aims to resolve that issue.

mikemellor11 commented 2 years ago

@JohnAlbin can we get this merged in and published.

amery commented 2 years ago

for anyone desperate I just republished this as @biere/normalize-scss including this fix. not intended as a fork, only to temporarily unblock myself.

azizur commented 1 year ago

It has been almost 3 years, a fix is available, however not merged. Oh.. the problem of open source ecosystem, not having enough time in a day to look after packages we no longer use.

devjoda commented 1 year ago

@JohnAlbin would you mind merging this? Thanks!