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 using / for division is deprecated #59

Open
tbaddade opened this issue Sep 22, 2021 · 3 comments · May be fixed by #60
Open

Warning using / for division is deprecated #59

tbaddade opened this issue Sep 22, 2021 · 3 comments · May be fixed by #60

Comments

@tbaddade
Copy link

Updating sass I get this warning from sass:

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($num, $num * 0 + 1)
More info and automated migrator: https://sass-lang.com/d/slash-div

│   @return $num / ($num * 0 + 1);
│           ^^^^^^^^^^^^^^^^^^^^^

    node_modules/typi/scss/private/utils/_converters.scss 4:11
@zellwk
Copy link
Owner

zellwk commented Sep 27, 2021

I hear you. Unfortunately I don't use Typi much anymore,. Would you like to send in a PR?

@tbaddade
Copy link
Author

Unfortunately I don't use Typi much anymore,.

Why is that? Can I find your reflections in your blog? Are you using any alternative?

@zellwk
Copy link
Owner

zellwk commented Sep 28, 2021

Reason is I like to simplify my code bases more and Typi was too complex to maintain. I may write something about it in future, but no promises at this point.

@daverobertson daverobertson linked a pull request Dec 9, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants