Deprecation warning when compiling with dart-sass (slash-div)
I had issues with node-sass, so I decided to updata to dart-sass, bootstrap-select works fine, however, i'm getting a deprecation warning for a line in the component's styles:
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($amnt, 100) or calc($amnt / 100)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
26 │ $amnt: $amnt / 100; // convert to percentage if int
│ ^^^^^^^^^^^
╵
node_modules/bootstrap-select/sass/bootstrap-select.scss 26:12 fade()
node_modules/bootstrap-select/sass/bootstrap-select.scss 352:43 @import
[...]
It would be nice if someone updated the source code to use the newer recommended syntax. I am available for submitting a PR.
Thanks for reporting this. Please submit a PR if you have the bandwidth and we'll get this merged - thanks!
I don't know how to edit on the 1.13.X though, I'm still using that ( that piece of code was even changed on 1.14.X #2669 )
Hi all, I've created a PR to resolve this issue. I've branched of v1.13.18 for this. Could this be released in a v1.13.19?