-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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. #4543
Comments
Everywhere that is This can be automated via
|
I was just regurgitating the recommended solution in the error message -- your way is cleaner & clever-er! |
yeah i already made an issue : but this was abruptly closed by @makinggoodsoftware they don't really care about issues on this github repo, try their support channel if you are a customer. |
I put a PR up to resolve, I don't know if maintainers will merge, we'll see! |
Hi, Your ticket has been flagged as in_zendesk, it means that we recognize this as an issue worth investigating so we have moved it to our official support channel for customers (zendesk) We will carry on there with the investigation and we will update you as soon as possible. Thanks |
@lounsbrough Thanks for the PR, I have also processed that, now this has been raised to the dev team, please let us have a look, we will get back to you as soon as possible Thanks! |
Sounds good, thanks! |
@gportela85 @makinggoodsoftware Are we gonna see a release of this anytime soon? |
Any update on this matter? |
I think the commit mentioned above (on Jul 2) was released as part of 26.0.0. However, now I'm seeing other deprecation warnings 😬 |
if you used node-sass and sass-loader, |
@best-lucky1030 I would guess that the sass-migrator tool migrates your code, but might not migrate SASS code that you're including from other packages/libraries. For example, it probably isn't going to change any code that's part of ag-grid. Can you identify from the error messages where the problematic code is located? |
isnt there any solution to this problem? |
@yamoonz the problem is fixed in current AG-Grid. If you're not subscribed and can't upgrade, you'll need to do a workaround like running the SASS migration script in post install or something. |
This helps me a lot . Thanks @sgtsquiggs 😀 |
helped my ass 😜 |
⠼ Generating browser application bundles (phase: building)...WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div(1, $rfs-rem-value) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($rfs-base-font-size, $rfs-base-font-size * 0 + 1 / $rfs-rem-value) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($rfs-breakpoint, $rfs-breakpoint * 0 + 1) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($spacer, 2) More info and automated migrator: https://sass-lang.com/d/slash-div
397 │ $headings-margin-bottom: ($spacer / 2); DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0. Recommendation: math.div($r * 299 + $g * 587 + $b * 114, 1000) More info and automated migrator: https://sass-lang.com/d/slash-div ╷ DEPRECATION WARNING: $null: Passing a unit other than deg (25%) is deprecated. To preserve current behavior: $null / 1% See https://sass-lang.com/d/color-units ╷ WARNING: 68 repetitive deprecation warnings omitted. |
.scss files use "/" for division. Should be changed to use math.div()
The text was updated successfully, but these errors were encountered: