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

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0 #269

Closed
nick4fake opened this issue Jun 22, 2021 · 5 comments · Fixed by #271

Comments

@nick4fake
Copy link

Looks like code should be updated.

Recommendation: math.div($with, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
49 │       margin-left: -($with / 2);
   │                      ^^^^^^^^^

@diegoddox
Copy link
Owner

Hi @nick4fake Thanks, I will close but will for sure have a look when the time to upgrade our dep comes.

@nick4fake
Copy link
Author

Hi @diegoddox

https://github.com/diegoddox/react-redux-toastr/blob/master/src/styles/index.scss#L39

It is not a dependency issue, the code is part of redux-toastr

@diegoddox diegoddox reopened this Jul 31, 2021
@diegoddox
Copy link
Owner

@nick4fake thanks, if you have time feel free to create a PR <3

@uxtx
Copy link

uxtx commented Nov 13, 2021

@diegoddox I've created a PR for this - thanks again for the lib!

@diegoddox
Copy link
Owner

Thanks @uxtx ! I will have a look during this week

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.

3 participants