scompiler/red-zoom-angular

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

Closed this issue · 1 comments

duxor commented

Angular 12.1
Typescript 4.3.5

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

Recommendation: math.div($loader-size, 2)

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

   ╷
12 │     left: calc(50% - #{$loader-size / 2});
   │                        ^^^^^^^^^^^^^^^^
   ╵
    node_modules/ngx-red-zoom/styles/mixins/_common.scss 12:24           red-zoom-loader()
    node_modules/ngx-red-zoom/styles/mixins/_style-magnifier.scss 31:13  red-zoom-style-magnifier()
    node_modules/ngx-red-zoom/styles/_style-magnifier.scss 5:5           @import
    ...
4Bos commented

Hello,

Thanks for the bug report, this was fixed in version 0.8.0.