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

Using / for division is deprecated #14

Closed
sukheja-varun opened this issue Oct 11, 2021 · 1 comment
Closed

Using / for division is deprecated #14

sukheja-varun opened this issue Oct 11, 2021 · 1 comment

Comments

@sukheja-varun
Copy link

I am using the version 3.0.0 but I could still see the deprecation issue as:

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

Recommendation: math.div($value, $rem-baseline)

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

   
35        $result: append($result, $value / $rem-baseline * 1rem, $separator);
                                   ^^^^^^^^^^^^^^^^^^^^^^
   
    node_modules/@here/hds-base/node_modules/sass-rem/_rem.scss 35:32  rem-convert()
    node_modules/@here/hds-base/node_modules/sass-rem/_rem.scss 53:13  rem()
    node_modules/@here/hds-base/src/_animations.scss 6:31              @import
    stdin 1:9                                                          root stylesheet
@pierreburel
Copy link
Owner

Are you certain you're using 3.0 ? Could you look at node_modules/@here/hds-base/node_modules/sass-rem/package.json ?

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