Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Deprecation Using / for division is deprecated and will be removed in Dart Sass 2.0.0 #3

Closed
vasartam opened this issue Dec 10, 2021 · 3 comments

Comments

@vasartam
Copy link

vasartam commented Dec 10, 2021

Good day.

Compiling my Sass stylesheets that use this library. After every compilation my CLI outputs this kind of messages:

LOG from ./node_modules/sass-loader/dist/cjs.js sass-loader ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./assets/styles/style.scss
<w> Deprecation Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
<w> 
<w> Recommendation: math.div($px, $base-font-size)
<w> 
<w> More info and automated migrator: https://sass-lang.com/d/slash-div
<w> 
<w> node_modules/@mcaskill/sass-mq/_mq.scss 111:14  mq-px2em()
<w> node_modules/@mcaskill/sass-mq/_mq.scss 152:17  mq-parse-breakpoint()
<w> node_modules/@mcaskill/sass-mq/_mq.scss 239:20  mq()
<w> node_modules/@mcaskill/sass-mq/_mq.scss 375:23  mq()
<w> node_modules/@mcaskill/sass-mq/_mq.scss 486:13  mq-show-breakpoints()
<w> node_modules/@mcaskill/sass-mq/_mq.scss 494:5   @use
<w> assets/styles/style.scss 3:1                    root stylesheet
<w>

Dart Sass version: 1.43.4.

Would be nice if that would be fixed.

@mcaskill
Copy link
Owner

Hello,

I've been keeping track of the refactoring taking place in the original library to support Dart Sass. I am waiting for a final release of v6.0.0 before starting work.

Thanks

@vasartam
Copy link
Author

Hi!

Just want to let you know, that the original sass-mq library has pushed a v6.0.0 tag 10 days ago: https://github.com/sass-mq/sass-mq/tags. Although they still didn't make a new release in a "Releases" section.

@mcaskill
Copy link
Owner

Sorry for the belated maintenance. I've finally upgraded the codebase to v6.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants