Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
RilDev opened this issue · 10 comments
The Problem
With Node 16, the new Node LTS, I get a warning everytime I start my server.
: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($size, 2) or calc($size / 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
7 │ border-width: $size / 2;
│ ^^^^^^^^^
╵
node_modules/vue-slider-component/lib/styles/_triangle.scss 7:19 triangle()
node_modules/vue-slider-component/lib/styles/_triangle.scss 31:7 arrow()
node_modules/vue-slider-component/lib/theme/default.scss 108:7 @import
src/components/Filters/Partials/FilterPrice.vue 419:9 root stylesheet
The Environment
- OS & Version: Linux 20.0.4
- Vue version: v2.6.12 (using Nuxt v2.15.8)
- Component Version: v3.2.15
I'm seeing the same thing. Hoping this will be fixed in the next release.
I think this has been fixed already but hasn't been released yet
@NightCatSama , could you please create a new release for this fix. Thank you!
push, please make a release. Waiting now 3 months for it. 🙏
I am still getting warnings in this package too, will this be updated? thank you.
I wouldn't mind a release either!
Up, 3 more months have passed :-)
Please just release a new patch to fix this
@rbecheras In the latest version, it should have been replaced by * 0.5
Ah yes, but it's the v4 beta...
Ok, I understand it's not critical to push a patch to the v3.
Thank you for answering @NightCatSama
Fixed in version 3.2.23.
Thanks!